AppsFlyerSDK / appsflyer-cordova-plugin

AppsFlyer plugin for Cordova
MIT License
37 stars 71 forks source link

Cannot build 6.0.50 on Android - Missing symbol #115

Closed vandres closed 3 years ago

vandres commented 3 years ago

Report

When I try to build the plugin for Android, I get the following error:

/Users/vandres/Resourcen/www/wflwrapp2.0/platforms/android/app/src/main/java/com/appsflyer/cordova/plugin/AppsFlyerPlugin.java:817: error: cannot find symbol
        AppsFlyerLib.getInstance().registerValidatorListener(this.cordova.getContext(), new AppsFlyerInAppPurchaseValidatorListener() {
                                                                                            ^
  symbol:   class AppsFlyerInAppPurchaseValidatorListener
  location: class AppsFlyerPlugin

Using 6.0.30 it still works. We are having a targetSdk of "30", if that matters.

Plugin Version

6.0.50

On what Platform are you having the issue?

Cordova Android 9.0.0

What did you do?

ionic cordova run android

What did you expect to happen?

App builds

What happened instead?

Build fails with the error message already mentioned

Please provide any other relevant information.

Cordova v10 Cordova Android v9 targetSdk 30

amit-kremer93 commented 3 years ago

Hi @vandres thank you for opening this issue. it happens because of a missing import and will be fixed soon. meanwhile you can fix it in your machine according to this MR sorry for the inconvenience.

vandres commented 3 years ago

@amit-kremer93 We are having an automated build process. Is there any ETA for the fix release?

amit-kremer93 commented 3 years ago

@vandres by tomorrow. Hopefully sooner

vandres commented 3 years ago

@amit-kremer93 Thanks for the info

amit-kremer93 commented 3 years ago

Hi @vandres . i released 6.0.51 with fix. https://github.com/AppsFlyerSDK/appsflyer-cordova-plugin/pull/117

vandres commented 3 years ago

Thanks. I will test the next days.

vandres commented 3 years ago

@amit-kremer93 I can build with 6.0.51. Thanks for the quick fix