localNotification() does not work for IOS
See original GitHub issueRN: 0.61.2 “react-native-push-notification”: “^3.1.9”
Trying to invoke: `PushNotification.localNotification({ /* Android Only Properties */ visibility: “public”, largeIcon: “ic_notification”, imageUrl,
/* iOS and Android properties */
title,
message, // (required)
actions: '["Close"]',
});
` Does not display notification on taskbar for IOS, Android work as expected. What am I doing wrong?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:10
Top Results From Across the Web
LocalNotification not working [IOS] - PushNotificationIOS
You can call the local schedule function and quick hide app to the background, then you will see the notification. Source Code:-
Read more >LocalNotification not working in iOS 10 - Apple Developer
Hi. I have a application built on iOS 9.3. When i install ipa file of this app in iOS 10 devices local notification...
Read more >Quick guide on local notifications for iOS - tanaschita.com
iOS local and push notifications allow us to keep users up to date or get reminded of time or location sensitive events, even...
Read more >react-native-push-notification - npm
NOTE: localNotification() works without changes in the ... If you do, notification handlers will not fire, because they are not loaded.
Read more >Scheduling local notifications - a free Hacking with iOS
iOS has a framework called UserNotifications that does pretty much exactly what ... If you don't want to edit or remove stuff, use...
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
@chenop did you get a solve for this? I’m finding the same problem (rn 0.61.3, react-native-push-notifications ^3.1.9, , & @react-native-community/PushNotificationsIOS: 1.1.1)
When app in background, notification pops-up fine on Android. But not on iOS.
I’m just interested in firing a local notification, rather than a push-from-remote notification, so wasn’t planning on using firebase/anything else remote (though I do use firebase for analytics/crashlytics).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.