57.3 PushNotificationIOS.FetchResult.NoData incorrect configure
See original GitHub issueHi, since updating to 57.3, I get an error when I call finish. It says UIBackgroundFetchResultNewData should be backgroundFetchResultNewData
notification.finish(PushNotificationIOS.FetchResult.NewData);
It seems like PushNotificationIOS.FetchResult.NewData has the incorrect config as when I use the following code it seems fine.
notification.finish("backgroundFetchResultNewData");
Maybe this is a change with IOS?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:13
Top Results From Across the Web
How to use the react-native-push-notification.configure ... - Snyk
To help you get started, we've selected a few react-native-push-notification.configure examples, based on popular ways it is used in public projects.
Read more >Alert is not displayed....When clicking on push notifications
My problem is when clicking on push notifications after clearing the instance of the app...In onNotification() console is printed but the alert ...
Read more >react-native-push-notification.PushNotification.finish ... - Tabnine
... notification.finish(PushNotificationIOS.FetchResult.NoData); ... componentDidMount(){ PushNotification.configure({ onNotification: ...
Read more >react-native-push-notification - npm
FetchResult.NoData); }, // (optional) Called when Registered Action is pressed and invokeApp is false, if true onNotification will be called ...
Read more >Step by Step guide for Implementing Push Notifications in iOS ...
Firebase basic configuration; Create an APN certificate on Apple developer ... yarn add @react-native-community/push-notification-ios
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was having same error. =((
I made following changes here
push-notification-ios/js/index.js
and worked perfectly.to