uni_links
uni_links copied to clipboard
UniLinksPlugin.java uses or overrides a deprecated API
I'm using uni_links 0.5.1 and am building APK (android).
There is a red note of Flutter: Note: /Users/yinyuman/flutter/.pub-cache/hosted/pub.dartlang.org/uni_links-0.5.1/android/src/main/java/name/avioli/unilinks/UniLinksPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
Is that important? Can you update this API? Thanks so much.
I have the same problem.
Is there any chance to get it fixed?
I had a closer look using this approach: https://stackoverflow.com/questions/49711773/how-to-recompile-with-xlintdeprecation
Then flutter run
shows:
2 warnings
/home/user/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/uni_links-0.5.1/android/src/main/java/name/avioli/unilinks/UniLinksPlugin.java:84: warning: [deprecation] Registrar in PluginRegistry has been deprecated
public static void registerWith(@NonNull PluginRegistry.Registrar registrar) {
^
1 warning
But I don't know how to fix this...
Anyways, it's just a warning, not an error for the app we are building.