Fixes the following warning: ~~~ Module XXX requires main queue setup since it overrides `constantsToExport` but doesn't implement `requiresMainQueueSetup`. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of. ~~~ For AppInfo and AuioMode, there is no need to initialize anything in the UI thread, so just return NO.master
|
||
26 | 26 |
|
27 | 27 |
|
28 | 28 |
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
29 | 33 |
|
30 | 34 |
|
31 | 35 |
|
|
||
35 | 35 |
|
36 | 36 |
|
37 | 37 |
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
38 | 42 |
|
39 | 43 |
|
40 | 44 |
|