Skip to content

[Bug]: Apns Bad Device Token after update from 3.5.0 to 5.0.4 #824

@andreaparadigma

Description

@andreaparadigma

What happened?

After update from 3.5.0 to 5.0.4 in iPhone I no longer receive push notifications.

Steps to reproduce?

1. update to onesignal_flutter: ^5.0.4
2. migrate the code https://github.com/OneSignal/OneSignal-Flutter-SDK/blob/user_model/main/MIGRATION_GUIDE.md
3. launch the app
4. send a notification
5. no notification received and "Apns Bad Device Token" in Dashboard under "Subscription Status"

If revert to 3.5.0 all works correctly

NB: In the iOS config on the OneSignal settings page I don't have any warnings

What did you expect to happen?

I expected to receive a push notification

OneSignal Flutter SDK version

Release 5.0.4

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions