Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Warnings during build #61

Open
cesarferreira opened this issue Mar 1, 2020 · 2 comments
Open

Warnings during build #61

cesarferreira opened this issue Mar 1, 2020 · 2 comments

Comments

@cesarferreira
Copy link

Since I added amplitude_flutter I get these warnings while building:

Note: /Users/cesar/development/flutter/.pub-cache/hosted/pub.dartlang.org/device_info-0.4.1+5/android/src/main/java/io/flutter/plugins/deviceinfo/DeviceInfoPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/cesar/development/flutter/.pub-cache/hosted/pub.dartlang.org/package_info-0.4.0+14/android/src/main/java/io/flutter/plugins/packageinfo/PackageInfoPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/Users/cesar/development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.6+2/android/src/main/java/io/flutter/plugins/sharedpreferences/SharedPreferencesPlugin.java:25: warning: [deprecation] getFlutterEngine() in FlutterPluginBinding has been deprecated
    setupChannel(binding.getFlutterEngine().getDartExecutor(), binding.getApplicationContext());
                        ^
1 warning
Note: /Users/cesar/development/flutter/.pub-cache/hosted/pub.dartlang.org/amplitude_flutter-1.2.0/android/src/main/java/com/amplitude/amplitude_flutter/AmplitudeFlutterPlugin.java uses unchecked or unsafe operations.
@haoliu-amp
Copy link
Contributor

Looks like 2 of them are from the plugin we're using.

@viktor-morin
Copy link

AmplitudeFlutterPlugin.java uses unchecked or unsafe operations

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants