Skip to content

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

Closed
@kartercs

Description

@kartercs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs AttentionThis issue needs maintainer attention.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions