GDPR and Appodeal plugin parameters error

Hi,

I’m getting the following error in the simulator console when testing a local build to an android test device:

ERROR: appodeal.init(listener, options), Invalid option ‘hasUserConsent’

I’m building the apk file with corona sdk build: 2018.3301 and added hasUserConsent = false, to the Appodeal initialization function code.

Is there more I have to do to ensure my build includes the updated Appodeal plugin?

Is it showing an error because its a debug build rather than one for release?

Let me see what I can find out.

Rob

Be sure to check this important note @ https://docs.coronalabs.com/plugin/appodeal/init.html :
Following parameter hasUserConsent is available only on latest modular Corona Appodeal plugin beta (Appodeal Beta SDK 2.4.1) for now.

What version of Corona Appodeal plugin are you using?

Make sure to include “Beta” in the build setting. I had the same error initially. Here is mine:

 -- Base ['plugin.appodeal.beta.base'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.AmazonAds'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.GoogleAdMob'] = { publisherId = 'com.coronalabs', supportedPlatforms = { iphone=true, android=true } }, ['plugin.appodeal.beta.TwitterMoPub'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.AppLovin'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.InMobi'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.MyTarget'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.MillenialMedia'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.Yandex'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.AdColony'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.Chartboost'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.IronSource'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.Mobvista'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.StartApp'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.Unity'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.Vungle'] = { publisherId = 'com.coronalabs', supportedPlatforms = {iphone=true, android=true } }, ['plugin.appodeal.beta.Tapjoy'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }

thanks Rob

@karpovpw, I thought I was using the beta version but in my build settings I had this code in the base:

[‘plugin.appodeal.base’] = { publisherId = ‘com.coronalabs’ },

(documented here: https://docs.coronalabs.com/plugin/appodeal/index.html))

rather than 

[‘plugin.appodeal.beta.base’] = { publisherId = ‘com.coronalabs’ },

(as described here: https://www.appodeal.com/sdk/corona_241))

I’ve changed that and rebuilt, and the console log shows: in.appodeal: 1.5.6b (SDK: 2.4.2b)

But that change introduced a new problem. My app now continues to shut down on the test device. I’ve attached a screenshot of the dialogue that pops when I launch the app.

This is one of the messages in the console log:  

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/applovin/sdk/AppLovinPrivacySettings;

                    

I was in the middle of posting my reply and hadn’t seen agramonte’s before doing so.

I only added ‘beta’ to the base and not the other settings.  I will give that a try and update. 

thanks agramonte!

adding ‘beta’ for all fixed the problems. 

Thanks karpovpw and agramonte for the help!

Edit – it only allows one reply to be marked ‘Best,’ both were helpful in solving the problem, thanks again.

Let me see what I can find out.

Rob

Be sure to check this important note @ https://docs.coronalabs.com/plugin/appodeal/init.html :
Following parameter hasUserConsent is available only on latest modular Corona Appodeal plugin beta (Appodeal Beta SDK 2.4.1) for now.

What version of Corona Appodeal plugin are you using?

Make sure to include “Beta” in the build setting. I had the same error initially. Here is mine:

 -- Base ['plugin.appodeal.beta.base'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.AmazonAds'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.GoogleAdMob'] = { publisherId = 'com.coronalabs', supportedPlatforms = { iphone=true, android=true } }, ['plugin.appodeal.beta.TwitterMoPub'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.AppLovin'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.InMobi'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.MyTarget'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.MillenialMedia'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.Yandex'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.AdColony'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.Chartboost'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.IronSource'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.Mobvista'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.StartApp'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.Unity'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }, ['plugin.appodeal.beta.Vungle'] = { publisherId = 'com.coronalabs', supportedPlatforms = {iphone=true, android=true } }, ['plugin.appodeal.beta.Tapjoy'] = { publisherId = 'com.coronalabs', supportedPlatforms = {["android-kindle"] = true, iphone=true, android=true } }

thanks Rob

@karpovpw, I thought I was using the beta version but in my build settings I had this code in the base:

[‘plugin.appodeal.base’] = { publisherId = ‘com.coronalabs’ },

(documented here: https://docs.coronalabs.com/plugin/appodeal/index.html))

rather than 

[‘plugin.appodeal.beta.base’] = { publisherId = ‘com.coronalabs’ },

(as described here: https://www.appodeal.com/sdk/corona_241))

I’ve changed that and rebuilt, and the console log shows: in.appodeal: 1.5.6b (SDK: 2.4.2b)

But that change introduced a new problem. My app now continues to shut down on the test device. I’ve attached a screenshot of the dialogue that pops when I launch the app.

This is one of the messages in the console log:  

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/applovin/sdk/AppLovinPrivacySettings;

                    

I was in the middle of posting my reply and hadn’t seen agramonte’s before doing so.

I only added ‘beta’ to the base and not the other settings.  I will give that a try and update. 

thanks agramonte!

adding ‘beta’ for all fixed the problems. 

Thanks karpovpw and agramonte for the help!

Edit – it only allows one reply to be marked ‘Best,’ both were helpful in solving the problem, thanks again.