Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
radiegtya opened this issue Dec 18, 2016 · 0 comments
Open

Comments

@radiegtya
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant