Skip to content

The plugin onesignal_flutter uses a deprecated version of the Android embedding. #487

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

Closed
nimr77 opened this issue Sep 14, 2021 · 2 comments

Comments

@nimr77
Copy link

nimr77 commented Sep 14, 2021

While using flutter 2.5 I'm getting this warning on building my app

The plugin onesignal_flutter uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it
since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

flutter doctor
[✓] Flutter (Channel stable, 2.5.0, on macOS 11.4 20F71 darwin-x64, locale en-MA)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] VS Code (version 1.58.0)
[✓] Connected device (3 available)

and once I Tap on the notification It doesn't open the app but it opens the handlers, this issue is only on android, as for the IOS it is working perfectly.

@jesselopespereira
Copy link

Duplicate of #480

@emawby
Copy link
Contributor

emawby commented Sep 16, 2021

Closing as duplicate of #480

@emawby emawby closed this as completed Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants