Firebase Messaging和PathProvider在运行应用程序- Flutter时显示警告



在添加firebase_messaging,firebase_coreflutter_local_notifications后显示此警告。

Launching libmain.dart on BE2013 in debug mode...
Parameter format not correct -
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:srcflutter.pub-cachehostedpub.dartlang.orgfirebase_messaging-11.2.15androidsrcmainjavaioflutterpluginsfirebasemessagingJobIntentService.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:srcflutter.pub-cachehostedpub.dartlang.orgpath_provider_android-2.0.11androidsrcmainjavaioflutterpluginspathproviderPathProviderPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

pubspec.yaml中应用以下内容:

firebase_messaging: ^11.2.7
firebase_core: ^1.12.0
flutter_local_notifications: ^9.4.1

将显示一个警告:

.pub-cache/hosted/pub.dartlang.org/firebase_messaging-11.2.7/android/src/main/java/io/flutter/plugins/firebase/messaging/JobIntentService.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

运行控制台消息:

✓  Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app.apk...
Debug service listening on ws://127.0.0.1:51033/8pCW_5FSPDM=/ws
Syncing files to device sdk gphone64 arm64...

相关内容

  • 没有找到相关文章

最新更新