Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

GDPR and Appodeal plugin parameters error
Started by jeff63 May 25 2018 10:41 AM

6 replies to this topic

Best Answer agramonte , 25 May 2018 - 12:20 PM

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 } }

[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

jeff63

[GLOBAL: userInfoPane.html]
jeff63
  • Observer

  • 27 posts
  • Corona SDK

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?



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,971 posts
  • Corona Staff

Let me see what I can find out.

 

Rob



[TOPIC: post.html]
#3

karpovpw

[GLOBAL: userInfoPane.html]
karpovpw
  • Contributor

  • 257 posts
  • Corona Staff

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?



[TOPIC: post.html]
#4

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Contributor

  • 852 posts
  • Corona SDK

  Best Answer

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 } }


[TOPIC: post.html]
#5

jeff63

[GLOBAL: userInfoPane.html]
jeff63
  • Observer

  • 27 posts
  • Corona SDK

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;
                    

Attached Files



[TOPIC: post.html]
#6

jeff63

[GLOBAL: userInfoPane.html]
jeff63
  • Observer

  • 27 posts
  • Corona SDK

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!



[TOPIC: post.html]
#7

jeff63

[GLOBAL: userInfoPane.html]
jeff63
  • Observer

  • 27 posts
  • Corona SDK

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.




[topic_controls]
[/topic_controls]