ldn0x7dc / react-native-media-kit

Video(and audio) component for react-native apps, supporting both iOS and Android. A unified and elegant player controller is provided by default. The API is similar with HTML video.
200 stars 70 forks source link

[iOS] Its crashes with Notification Plugin like React-native-onesignal #39

Open radiegtya opened 7 years ago

radiegtya commented 7 years ago
You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2016-12-18 07:24:09.011 [info][tid:main][RCTBatchedBridge.m:72] Initializing <RCTBatchedBridge: 0x7f972945ad70> (parent: <RCTBridge: 0x7f9729716e40>, executor: RCTJSCExecutor)
2016-12-18 07:24:09.104 CetinganV2[4020:42242] ERROR: Error registering for Apple push notifications. Error: Error Domain=NSCocoaErrorDomain Code=3010 "REMOTE_NOTIFICATION_SIMULATOR_NOT_SUPPORTED_NSERROR_DESCRIPTION" UserInfo={NSLocalizedDescription=REMOTE_NOTIFICATION_SIMULATOR_NOT_SUPPORTED_NSERROR_DESCRIPTION}
2016-12-18 07:24:12.123 [warn][tid:main][RCTEventEmitter.m:54] Sending `websocketFailed` with no listeners registered.
2016-12-18 07:24:12.155 [info][tid:main][RCTRootView.m:249] Running application CetinganV2 ({
    initialProps =     {
    };
    rootTag = 1;
})

my app working again when I removed this package in build phase