track player working

This commit is contained in:
austinried
2021-06-22 13:59:14 +09:00
parent 55229c756a
commit c7d65e0a58
6 changed files with 78 additions and 4 deletions

View File

@@ -9,6 +9,7 @@ LogBox.ignoreLogs(["timer"]);
import App from './App';
import { name as appName } from './app.json';
import TrackPlayer from 'react-native-track-player';
AppRegistry.registerComponent(appName, () => App);
TrackPlayer.registerPlaybackService(() => require('./src/playback/service'));