question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

localNotification() does not work for IOS

See original GitHub issue

RN: 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:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:10

github_iconTop GitHub Comments

1reaction
oliver-the-uapcommented, May 3, 2020

@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).

0reactions
github-actions[bot]commented, May 5, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found