chemerisuk / cordova-plugin-app-review

Cordova plugin to review app
MIT License
40 stars 28 forks source link

Build fails after adding a pluging (android errors below) #22

Closed Sera-Fina closed 1 year ago

Sera-Fina commented 1 year ago

Android 10.1.2

> Task :app:compileDebugJavaWithJavac
/Users/{user}a/CordovaProjects/mobile/platforms/android/app/src/main/java/uk/co/workingedge/phonegap/plugin/LaunchReview.java:45: error: incompatible types: com.google.android.gms.tasks.Task<ReviewInfo> cannot be converted to com.google.android.play.core.tasks.Task<ReviewInfo>
                        Task<ReviewInfo> request = manager.requestReviewFlow();
                                                                            ^
/Users/{user}/CordovaProjects/mobile/platforms/android/app/src/main/java/uk/co/workingedge/phonegap/plugin/LaunchReview.java:50: error: incompatible types: com.google.android.gms.tasks.Task<Void> cannot be converted to com.google.android.play.core.tasks.Task<Void>
                                                Task<Void> flow = manager.launchReviewFlow(cordova.getActivity(), reviewInfo);
                                                                                          ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors