- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.js
More file actions
Latest commit
18 lines (16 loc) · 443 Bytes
/
Copy pathindex.js
File metadata and controls
18 lines (16 loc) · 443 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
* @format
*/
import{AppRegistry}from'react-native';
importAppfrom'./App';
import{nameasappName}from'./app.json';
import{backgroundPlayMusic,backgroundPosition}from'./src/utils';
AppRegistry.registerComponent(appName,()=>App);
AppRegistry.registerCancellableHeadlessTask(
'backgroundPlayMusic',
()=>backgroundPlayMusic,
);
AppRegistry.registerHeadlessTask(
'BackgroundPosition',
()=>backgroundPosition,
);