OneSignal/OneSignal-Flutter-SDK

Flutter 3.22.0 warning - java/com/onesignal/flutter/OneSignalPlugin.java uses or overrides a deprecated API

Jonny1987 opened this issue · 1 comments

What happened?

I get the following warning when building my app:

Note: /home/john/.pub-cache/hosted/pub.dev/onesignal_flutter-5.2.0/android/src/main/java/com/onesignal/flutter/OneSignalPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Steps to reproduce?

Build android app using `flutter build apk --release lib/main.dart`

What did you expect to happen?

No warning

OneSignal Flutter SDK version

3.22.0

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

@Jonny1987 thanks for reporting. This looks like a warning we need to address in the future.

Just to confirm, this isn't cause any build or runtime issues for you?