-
Notifications
You must be signed in to change notification settings - Fork 4k
Firebase Push Notifications not opening on iOS devices #2239
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
Comments
can you please provide your Can you print
Related to #1619 Thank you |
Hi @TahaTesser, Output for flutter doctor -v:
Flutter run verbose output is in this google doc link - https://drive.google.com/file/d/1B23NjEfUqFgybXR4EZcOg_7y5WjVosYa/view?usp=sharing onLaunch and onResume both events are not firing. Please check it out and help with a solution. |
@dev-catalyst what version of the plugin are you using? I believe the plugin may have a mistake around needing to modify AppDelegate. With version 6.0.13 onwards, this should only be needed when |
@MaikuB I'm using 6.0.13 version of the plugin. So, I don't need to modify AppDelegate at all if I don't set |
In that case I'm not sure what's is wrong there as it worked for me. I tested this but by modifying code I have at https://github.com/MaikuB/flutter_firebase_local_notifications_examples. After i removed all references to |
I was able to resolve this issue by making some changes in the I added this at the end of
and this is my
I also changed the way I was fetching the data in my notification handler to navigate to a particular screen
|
I have developed a flutter app and I am using Firebase cloud messaging for push notifications. I have done all the configuration for iOS device and I am receiving the push notifications as well but when I click on the notification it is not opening the respective screen on the app. Everything is working fine on Android. On notification click it opens the app screen but I am having trouble with iOS devices only.
Here is my flutter doctor output:
Here is my AppDelegate.swift code:
I have also added the following code to Info.plist:
The text was updated successfully, but these errors were encountered: