Skip to content
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

🐛 [Cloud Messaging (firebase_messaging)] IOS firebase connection stuck on 'Run your app to verify installation' #3649

Closed
kartercs opened this issue Sep 24, 2020 · 4 comments · Fixed by #4012
Labels
Needs Attention This issue needs maintainer attention.

Comments

@kartercs
Copy link

Hello,

I'm working on a Flutter application on both iOS and Android, for this I need to use notifications and I made it work on android successfully.

I now wanted to do the same for iOS and I have problems connecting the app to the firebase backend, I followed step by step the Tutorial on the firebase_messaging pub.dev but I can't get it to connect on the 5th and last task on the the firebase backend. It's stuck on 'Run your app to verify installation, you might need to uninstall and reinstall it again'.

Sans titre

Of course I downloaded the GoogleService-Info.plist and put it next to info.plist and I've added the FirebaseAppDelegateProxyEnabled key as well as this code in the AppDelegate :

if #available(iOS 10.0, *) {
  UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
}

I also made sure to activate the push notifications and background modes capabilities on Xcode and created and uploaded my apn auth key :

APNKey

and i tried to flutter clean and flutter run again after all of this

But somehow it still doesn't work at all and stuck on the same message, yet what I really don't understand is taht I can use the firebase tool to get the user Token for example

Here is my flutter doctor :

pqer4

Some tells me to bypass this but if i do i can't get the notifications on the iphone which is central on my app.

Can anyone help me with this? I found a lot of issues for this but no clear answer have been given yet. I don't have any error message or really anything more that could help identify what's wrong there.

Thanks a lot in advance

@kartercs kartercs added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Sep 24, 2020
@darshankawar
Copy link

@kartercs,
Did you try by running the app on a device and then uninstall it manually and run it again while you see that message ? You might have to do that couple of times until the backend recognises the integration with iOS.

@darshankawar darshankawar added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Sep 24, 2020
@kartercs
Copy link
Author

Thanks for your answer @darshankawar yes from yesterday when you posted i must have tried that like 5-6 times, i tried again this morning but still nothing happens on the firebase end.

@google-oss-bot google-oss-bot added Needs Attention This issue needs maintainer attention. and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. labels Sep 25, 2020
@kartercs
Copy link
Author

kartercs commented Sep 28, 2020

Do I need to have a mobile connection on the iphone? Like a sim card ? I already have the wifi and since you can do it on emulator it must not be needed right?

I also found out that if i delete the googleServices file i don't have any error so maybe i have a problem calling the file, where is it supposed to be called please?

@TahaTesser
Copy link

Hi @kartercs
Uninstall your app and make sure you're connected to a stable internet connection and run the app again, this is not to Flutterfire or cloud_messaging. Since it's firebase console related

Closing, as this isn't an issue with flutterfire itself. If you disagree, please write in the comments and I will reopen it.
Thank you

@firebase firebase locked and limited conversation to collaborators Nov 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs Attention This issue needs maintainer attention.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants