Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\ImeiPlugin.java uses or overrides a deprecated API. #21

Open
s2yed opened this issue Sep 9, 2020 · 4 comments
Open

\ImeiPlugin.java uses or overrides a deprecated API. #21

s2yed opened this issue Sep 9, 2020 · 4 comments

Comments

@s2yed
Copy link

s2yed commented Sep 9, 2020

Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: C:\Users\pc\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\imei_plugin-1.1.6\android\src\main\java\com\rioapp\demo\imeiplugin\ImeiPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

@rktvsiim
Copy link

Same problem for me

@pedroIgnacioM
Copy link

I recompile with -Xlint:deprecation and showed this:

flutter/.pub-cache/hosted/pub.dartlang.org/imei_plugin-1.2.0/android/src/main/java/com/rioapp/demo/imeiplugin/ImeiPlugin.java:70: warning: [deprecation] getDeviceId() in TelephonyManager has been deprecated
                    result.success( telephonyManager.getDeviceId() );
                                                    ^
flutter/.pub-cache/hosted/pub.dartlang.org/imei_plugin-1.2.0/android/src/main/java/com/rioapp/demo/imeiplugin/ImeiPlugin.java:102: warning: [deprecation] getDeviceId(int) in TelephonyManager has been deprecated
                            imeis.add(telephonyManager.getDeviceId(i));

                                                      ^
flutter/.pub-cache/hosted/pub.dartlang.org/imei_plugin-1.2.0/android/src/main/java/com/rioapp/demo/imeiplugin/ImeiPlugin.java:106: warning: [deprecation] getDeviceId() in TelephonyManager has been deprecated

                    result.success( Arrays.asList(telephonyManager.getDeviceId()) );
                                                                  ^
3 warnings

@WaheedHussainHaans
Copy link

Same problem here too :"((

@lsalomao
Copy link

Alguém conseguiu resolver?

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

No branches or pull requests

5 participants