Closed ruthvik-github closed 4 years ago
Would be nice to know which API causes problem, it probably need to be change inside the plugin
Should be fixed in 1.2.6 thanks to @jack24254029
Note: /root/.pub-cache/hosted/pub.dartlang.org/sms_autofill-1.2.6/android/src/main/java/com/jaumard/smsautofill/AppSignatureHelper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1.2.6
still have some deprecated APIs, but I am not sure which API is deprecated.
I am getting these Warnings even after updating packages
pawanv/development/flutter/.pub-cache/git/sms_autofill-8aa82ffe539d2289951511af8257ea97e9e2b80d/android/src/main/java/com/jaumard/smsautofill/AppSignatureHelper.java:59: warning: [deprecation] GET_SIGNATURES in PackageManager has been deprecated
PackageManager.GET_SIGNATURES).signatures;
^
flutter/.pub-cache/git/sms_autofill-8aa82ffe539d2289951511af8257ea97e9e2b80d/android/src/main/java/com/jaumard/smsautofill/AppSignatureHelper.java:59: warning: [deprecation] signatures in PackageInfo has been deprecated
PackageManager.GET_SIGNATURES).signatures;
^
2 warnings
i have updated dependencies as well
still getting same error using sms_autofill: ^2.0.1
@jaumard
i am having latest version in pubspec.yaml
and i am getting this warning some times
how can i change the code to avoid such errors.