Flutterfire: Deprecated API warning in Firebase messaging and url launcher, after upgrade to 1.9.1 stable

Created on 13 Oct 2019  Â·  4Comments  Â·  Source: FirebaseExtended/flutterfire

Steps to Reproduce

When run flutter build apk, I see this waning:

Note: C:\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_messaging-5.1.5\android\src\main\java\io\flutter\plugins\firebasemessaging\FlutterFirebaseMessagingService.java uses or overrides a deprecated API.     
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_messaging-5.1.5\android\src\main\java\io\flutter\plugins\firebasemessaging\FirebaseMessagingPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: C:\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\url_launcher-5.1.2\android\src\main\java\io\flutter\plugins\urllauncher\WebViewActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
D:\Projetos\XD Labs\vDesk>flutter doctor -v
[√] Flutter (Channel stable, v1.9.1+hotfix.2, on Microsoft Windows [versão 10.0.18362.295], locale pt-BR)
    • Flutter version 1.9.1+hotfix.2 at C:\Flutter\flutter
    • Framework revision 2d2a1ffec9 (5 days ago), 2019-09-06 18:39:49 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0


[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\renan\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 38.2.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] VS Code (version 1.38.0)
    • VS Code at C:\Users\renan\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.0.2

[√] VS Code, 64-bit edition (version 1.38.0)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.0.2

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.
bug

All 4 comments

@RenanDelfanti

The issue at https://github.com/flutter/flutter/issues/40290 has been closed and moved here. Future collaboration on this issue will be done here.

@RenanDelfanti https://github.com/flutter/flutter/issues/40290#issuecomment-532230353 did it help to fix it?

Yes @BondarenkoStas , but to url_launcher no solution so far.

Good, i'm going to close it here and re-open in flutter. Sorry for such a mess with these repos.

Was this page helpful?
0 / 5 - 0 ratings