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

InAppReviewPlugin.java uses or overrides a deprecated API. #113

Closed
AmineMessabhia opened this issue Feb 11, 2024 · 5 comments
Closed

InAppReviewPlugin.java uses or overrides a deprecated API. #113

AmineMessabhia opened this issue Feb 11, 2024 · 5 comments

Comments

@AmineMessabhia
Copy link

Hello,

So your package was -and still is- working fine, but I faced this while building:

Note: C:\Users\Amine\AppData\Local\Pub\Cache\hosted\pub.dev\in_app_review-2.0.8\android\src\main\java\dev\britannio\in_app_review\InAppReviewPlugin.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

I thought you might want to hear about this, and maybe fix it or something, it ain't critical now, but it might become so in the future.

Thank you for the package and for your hard work!

@Joldersman
Copy link

Confirm. The same problem.

Note: /hosted/pub.dev/in_app_review-2.0.8/android/src/main/java/dev/britannio/in_app_review/InAppReviewPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:19: error: cannot find symbol
flutterEngine.getPlugins().add(new dev.fluttercommunity.plus.device_info.DeviceInfoPlusPlugin());
^
symbol: class DeviceInfoPlusPlugin
location: package dev.fluttercommunity.plus.device_info

android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:49: error: cannot find symbol
flutterEngine.getPlugins().add(new dev.fluttercommunity.plus.packageinfo.PackageInfoPlugin());
^
symbol: class PackageInfoPlugin
location: package dev.fluttercommunity.plus.packageinfo
2 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

@AmineMessabhia
Copy link
Author

@britannio check this whenever possible, please ^_^

@Wendler
Copy link
Contributor

Wendler commented Feb 14, 2024

@AmineMessabhia Check if #112 solves the problem

@lucaesposto
Copy link

Same problem over here.
Has #112 been published?
https://pub.dev/packages/in_app_review -> still 2.0.8 (Published 5 months ago)

@britannio
Copy link
Owner

2.0.9 has been published, thanks for your patience.

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