-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
When building a release version for my app flutter build appbundle, I noticed the following warning:
Note: /Users/ak/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sim_country_code-0.1.2/android/src/main/java/com/example/flutter_sim_country_code/FlutterSimCountryCodePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
After I updated my Gradle build file to use the -Xlint:deprecation compilerArgs, these two warnings pop up:
/Users/ak/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sim_country_code-0.1.2/android/src/main/java/com/example/flutter_sim_country_code/FlutterSimCountryCodePlugin.java:14: warning: [deprecation] Registrar in PluginRegistry has been deprecated
import io.flutter.plugin.common.PluginRegistry.Registrar;
^
/Users/ak/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sim_country_code-0.1.2/android/src/main/java/com/example/flutter_sim_country_code/FlutterSimCountryCodePlugin.java:25: warning: [deprecation] Registrar in PluginRegistry has been deprecated
public static void registerWith(Registrar registrar) {
^
2 warnings
Would it be possible to update this package to the latest non-deprecated code?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels