Skip to content

[firebase_messaging]: <Flutter ios device getToken getting unknown error> #17899

@Amina-UC-Dev

Description

@Amina-UC-Dev

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Messaging

Which platforms are affected?

iOS

Description

for the device token im calling FirebaseMessaging.instance.getToken() but im getting error like this on ios platform
[firebase_messaging/unknown] An unknown error has occurred.

this actually happend from december 5th onwards, it was working fine but suddenly this happend.

Reproducing the issue

same way getToken calling you will get the error

Firebase Core version

4.2.1

Flutter Version

3.35.3

Relevant Log Output

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked: customer-responseWaiting for customer response, e.g. more information was requested.platform: iosIssues / PRs which are specifically for iOS.plugin: messagingtype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions