-
-
Notifications
You must be signed in to change notification settings - Fork 272
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
Notification not receiving in foreground on IOS #54
Comments
For Android, as you described, as long as the For iOS, thought, it should be reaching |
Thanks for the time & for the reply, yes for the android i am using cordova-plugin-local-notification to show notification on foreground since onNotification is working on android both foreground and background For iOS, my requirement is at-least update the badge when Notification is been received when app is in foreground state hence onNotification should work |
I am seeing the same behavior. It works fine for Android, but not for iOS. I am also looking to trigger local notifications in my iOS app. The local notifications are working fine, when my app is in the foreground, on Android, but nothing is triggered on iOS. |
@viksat7 Which version of xcode and xcodebuild are you using to build? |
ok sure give me a day or two as i am busy with work today, will share the github repo of a sample app |
Issue closed due to inactivity and newer fixes addressing the feature being released in the mean time. |
Foreground notification still does not work on iOS. Working fine on android. if localNotification plugin is uninstalled then the code to handle notification works. |
I'll, thank you @meghanadixit1. Knowing this helps a lot. |
@meghanadixit1 which version of LocalNotification you were installing? |
@meghanadixit1 @viksat7 @keithj87 Now there is a mechanic in place that shares this resource between with other plugins. Let me know if upgrading is not enough to fix the issue. |
Thanks for the great plugin and being so responsive to the community,
installed 5.1.0 version of the plugin but below problem still persists in my app
Tried with Legacy build, getting no error when notification is pushed or any breakpoint is getting debugged in Xcode on didReceiveRemoteNotification & didReceiveNotificationResponse method (file : AppDelegate+FCMPlugin.m)
If there are any other plugin in my app causing the notification not getting displayed in foreground app or am I missing something in payload json of notification?
below plugins been used
notification json being pushed from api
Xcode log of IOS App
The text was updated successfully, but these errors were encountered: