Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Appodeal SDK 2.6.0
Started by Aarbron Dec 13 2019 08:04 AM

70 replies to this topic
[TOPIC CONTROLS]
Page 2 of 3 1 2 3
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#26

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,424 posts
  • Corona SDK

@vlad I am trying to get a new version up of my game tonight and have not had a problem at all. I think i have built 3 times in the last hour and probably more than that. Works fine. I must be lucky. Dodging bullets like monk. 



[TOPIC: post.html]
#27

Aarbron

[GLOBAL: userInfoPane.html]
Aarbron
  • Contributor

  • 224 posts
  • Corona SDK

Agramonte thanks for helping.

I get the same errors even if I try to build an empty project without plugins.

As you said, you are lucky. :)

 

Vlad are you working on it?

It's been many hours and I still can't use version 2020.3569 or 2203570.

 

Both have different problems!

This is getting really crazy!

 

I need to build with Appodeal SDK 2.6.0 especially for android.



[TOPIC: post.html]
#28

Aarbron

[GLOBAL: userInfoPane.html]
Aarbron
  • Contributor

  • 224 posts
  • Corona SDK

Could it be java related (I got version 12.0.1)?

 

If the answer is yes, then why 2020.3567 is working fine for me with the same setup?

Why do I get the error even if I try an empty project (just the basics) without plugins?

 

Also daily builds have 2 different problems.

2020.3569 error code 256

2020.3570 authorization error 

 

You should do something.

At least saying that you are working on it or giving an eta.



[TOPIC: post.html]
#29

ojnab

[GLOBAL: userInfoPane.html]
ojnab
  • Contributor

  • 615 posts
  • Corona SDK

@Aarbron

 

I just built for Android with 2020.3569 with out errors.

I use Appodeal (beta) and a whole bunch of other plugins.

Using java version "12.0.1" 2019-04-16 

 

I also get authorization error with 2020.3570



[TOPIC: post.html]
#30

Aarbron

[GLOBAL: userInfoPane.html]
Aarbron
  • Contributor

  • 224 posts
  • Corona SDK

Thanks ojnab.

 

I still can't build with 2020.3569.

Not even a minimum project without plugins.

 

It could be geographic location issue.



[TOPIC: post.html]
#31

ojnab

[GLOBAL: userInfoPane.html]
ojnab
  • Contributor

  • 615 posts
  • Corona SDK

We have been waiting for the 2.6.0 update of the Appodeal plugin, because we are seeing an increasing amount of crashes on Android 10 devices. Here is the report of one of the most frequent crashes as registered in Google Play:

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)base.apk!libmonochrome.so (offset 0x162000)
backtrace:
  #00  pc 00000000028b2bf0  /data/app/com.google.android.webview-Ql_MUinQWJfR95_JPrS3IA==/base.apk!libmonochrome.so (offset 0x162000)
It is only reported from Android 10 devices and it is happening when using banners and interstitials.
I can reproduce the crash on an Android 10 device. The app crashes after approximately 10-20 seconds, probably when caching an ad. 
Our app is basically unusable on Android 10 because of this.
 
As far as I can understand from searching for this crash report on the internet, it is a result of Google's rewrite of chrome.
Right now we see a rapid increase in Android 10 users. This has a huge impact on our ratings and retention.
 
We reported this issue to Appodeal and they said that we needed to update to Appodeal v. 2.6.0. 
And we responded: "you guys need to update the plugin to version 2.6.0"
 
So now that the update arrived I just built for Android with v.2.6.0 and the crashes are still there.
 

 

Well done Appodeal!


[TOPIC: post.html]
#32

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,424 posts
  • Corona SDK

@aarbron what is the exact error. 256 is just a catch all for a bunch of crap. Do you see what the error is in the console? Do you have build debugging on (or whatever it is called)?


  • Aarbron likes this

[TOPIC: post.html]
#33

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,424 posts
  • Corona SDK

@ojnab it crashes every time? What happens if you turn off admob?



[TOPIC: post.html]
#34

ojnab

[GLOBAL: userInfoPane.html]
ojnab
  • Contributor

  • 615 posts
  • Corona SDK

It starts crashing at some point. Some times after 2 minutes, sometimes after 10.

After that it continues crashing after10-20 seconds on every app launch.

 

I think it caches some ads that have some code that is invalid in the new chrome implementation.

That is what I see mentioned in other forums too.

 

Besides clean crashes it also often freezes and the screen starts flickering.

Console reports this when that happens:

setHasOverlayUi called on unknown pid: 31834


[TOPIC: post.html]
#35

Aarbron

[GLOBAL: userInfoPane.html]
Aarbron
  • Contributor

  • 224 posts
  • Corona SDK

Agramonte that's what I get in the console with 3569.

sh: line 0: cd: template: No such file or directory
Feb 05 09:11:11.569 Android build failed (256) after 7 seconds
Feb 05 09:11:11.808 ERROR: Build Failed: Failed to Build

Error code: 256

@ojnab

They (Appodeal) were saying that 2.6.1 for android would arrive with iOS version but it didn't.

Probably they are trying to solve issues.



[TOPIC: post.html]
#36

ojnab

[GLOBAL: userInfoPane.html]
ojnab
  • Contributor

  • 615 posts
  • Corona SDK

@aarbron 

I sure hope so. Otherwise they will be out of business soon.

Did you test Android 10. Are you seeing these crashes?



[TOPIC: post.html]
#37

Aarbron

[GLOBAL: userInfoPane.html]
Aarbron
  • Contributor

  • 224 posts
  • Corona SDK

@ojnab

Yes, I see the same crashes.

 

Unfortunately I have a few thousands crashes, in every version, in my top games but still maintain 99.9% crash free sessions.

Most (if not all) of the crashes, the last years are because of Appodeal.

 

I don't know if all this is normal, haven't found anything about it on internet and I don't have developers-friends to talk about it. :)



[TOPIC: post.html]
#38

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,424 posts
  • Corona SDK

@ojnab I don't see any error for Android 10 devices. I have only one Android 10 device in my house i'll try to test my app with it soon. I think I would have noticed a crash 10 seconds into it though. Nothing in crash reports (i mean tons of stuff but nothing related to that error).

 

@aarbron Can you turn on the trace on your builds? There should be more if you turn on the trace. Like the actual reason for the error. I don't remember how to turn it on. It is a command against the simulator did it a while ago, but you might be able to find it in the forums.


  • Aarbron likes this

[TOPIC: post.html]
#39

Aarbron

[GLOBAL: userInfoPane.html]
Aarbron
  • Contributor

  • 224 posts
  • Corona SDK

Agramonte I really appreciate your help.

I will search the forum, you are right, I have seen is somewhere too.

 

I saw your build.settings and your appodeal ads block of code.

Wouldn't something like above work the same for beta version?

It's how I use it for stable version and just added the "beta" tag.

-- Base
['plugin.appodeal.beta.base'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.GoogleAdMob'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.StartApp'] = { publisherId = 'com.coronalabs' },
 
-- Banner
--['plugin.appodeal.beta.AppLovin'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.FacebookAudience'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.Flurry'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.InMobi'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.MyTarget'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.Yandex'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.AmazonAds'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.TwitterMoPub'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.Smaato'] = { publisherId = 'com.coronalabs' },
 
-- Interstitial
--['plugin.appodeal.beta.AdColony'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.AppLovin'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.Chartboost'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.FacebookAudience'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.Flurry'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.InMobi'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.IronSource'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.Mobvista'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.MyTarget'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.StartApp'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.Ogury'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.AmazonAds'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.TwitterMoPub'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.Smaato'] = { publisherId = 'com.coronalabs' },
 
-- Rewarded Video
['plugin.appodeal.beta.AdColony'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.AppLovin'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.Chartboost'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.FacebookAudience'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.Flurry'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.InMobi'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.IronSource'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.Mobvista'] = { publisherId = 'com.coronalabs' },
--['plugin.appodeal.beta.MyTarget'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.StartApp'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.Smaato'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.Unity'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.Vungle'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.Tapjoy'] = { publisherId = 'com.coronalabs' },
['plugin.appodeal.beta.TwitterMoPub'] = { publisherId = 'com.coronalabs' }, 


[TOPIC: post.html]
#40

ojnab

[GLOBAL: userInfoPane.html]
ojnab
  • Contributor

  • 615 posts
  • Corona SDK

@agramonte

 

And you use banners and interstitials?

I am using these ad providers:

["plugin.appodeal.beta.base"] = { publisherId = "com.coronalabs" },
["plugin.appodeal.beta.FacebookAudience"] = { publisherId = "com.coronalabs" },
["plugin.appodeal.beta.GoogleAdMob"] = { publisherId = "com.coronalabs" },
["plugin.appodeal.beta.Unity"] = { publisherId = "com.coronalabs" },
["plugin.appodeal.beta.AmazonAds"] = { publisherId = "com.coronalabs" },
["plugin.appodeal.beta.IronSource"] = { publisherId = "com.coronalabs" },
["plugin.appodeal.beta.Ogury"] = { publisherId = "com.coronalabs" },
["plugin.appodeal.beta.InMobi"] = { publisherId = "com.coronalabs" },
["plugin.appodeal.beta.Vungle"] = { publisherId = "com.coronalabs" },
["plugin.appodeal.beta.AppLovin"] = { publisherId = "com.coronalabs" },

I tried to do lots of builds excluding them one by one - to see if I could figure out if one of them caused the issue.

It made no difference. Still crashing...

 

Edit: by the way what android 10 device do you have? Then I can check if we have crash reports from that model.



[TOPIC: post.html]
#41

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,424 posts
  • Corona SDK

@ojnap using banner and interstitial. I have not seen these errors. Scroll up to see what i am using. I have ph-1 Essential. 10 with Jan patch. I can test out one of your app to see if it happens on that phone. Last night I push the beta. I only get just below 100 installs a day for that app so in a couple of days I should see if I get any errors off the beta.

 

@aarbron if it is not in the current list of adapter I would not use it. appodeal removes and ads adapter between releases. also if you mention applovin in the build config once then you don't have to put it in the list twice. the comments about video, banner and what not are just comments. From your list I would remove Smaato (I have not been able to build with that one at all). Did you set up MoPub, Facebook, Flurry manually (I realized some are commented out)? If you didn't Appodeal does not have keys for those networks so if you didn't set it up manually they are just bloat.


  • Aarbron likes this

[TOPIC: post.html]
#42

Aarbron

[GLOBAL: userInfoPane.html]
Aarbron
  • Contributor

  • 224 posts
  • Corona SDK

@agramonte I can't build with stable plugin without Smaato. I get an error message on screen when the app starts (just for a few seconds, without other problems but is doesn't look nice).

 

I mention Applovin twice because that's how it's done in docs.

Is there something in the docs I din't understand correctly?

 

When you build with stable plugin you use the same block of code without the "beta" tag?



[TOPIC: post.html]
#43

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,424 posts
  • Corona SDK

@aarbron

 

Yes the documentation is for illustration purposes. These are just comments they don't mean anything:

-- Base
-- Banner
-- Interstitial
-- Rewarded Video

So if you want to use applovin you just add it once. The same with any other duplicates you have on the list.

['plugin.appodeal.beta.AppLovin'] = { publisherId = 'com.coronalabs' },

If your intention was to disable AdColony for interstitial just disable it in the control panel. This will not disable it.

-- Interstitial
--['plugin.appodeal.beta.AdColony'] = { publisherId = 'com.coronalabs' },
 
-- Rewarded Video
['plugin.appodeal.beta.AdColony'] = { publisherId = 'com.coronalabs' },

For that "error" just add smaato to the do not use:

appodeal.init( adProvider.adListener, { appKey=options.id, 
disableWriteExternalPermissionCheck=true, testMode=adProvider.options.debug, 
hasUserConsent=adProvider.options.consent, 
disableNetworks = {"smaato" }})

This is what I was using for the non-beta. No I do not use the same and just add beta. The list of adapter might have changed between beta and non-beta.

 ['plugin.appodeal.base'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.GoogleAdMob'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.AppLovin'] = { publisherId = 'com.coronalabs' },
        ['plugin.appodeal.FacebookAudience'] = { publisherId = 'com.coronalabs', 
            supportedPlatforms = { ["android"] = true } 
        },
        ['plugin.appodeal.Unity'] = { publisherId = 'com.coronalabs' },

  • Aarbron likes this

[TOPIC: post.html]
#44

Aarbron

[GLOBAL: userInfoPane.html]
Aarbron
  • Contributor

  • 224 posts
  • Corona SDK

Ok, my understanding was completely wrong.

 

Thank you so much for sharing your code and spending time helping me.


  • agramonte likes this

[TOPIC: post.html]
#45

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,424 posts
  • Corona SDK

@ojnab I tried both my games. One running 2.x of appodeal and the other running 2.6 appodeal both from the store on my Android 10 device and did not see any errors.

 

I checked the google dashboard on Android 10 on one app for the last 60 days and no crashes.

I also checked flurry for the last 90 days on Android 10 no crashes. 

 

That tells me that your crashes are from an adapter I am not using.



[TOPIC: post.html]
#46

Aarbron

[GLOBAL: userInfoPane.html]
Aarbron
  • Contributor

  • 224 posts
  • Corona SDK

Vlad, could you confirm a couple of things please?

 

That Appodeal plugin with version 2.6.0 (not 2.6.1) is compatible with 3567 Corona version? 

2.6.0 is the version used currently for Android.

 

Also that now we can manually disable COPPA using "childDirectedTreatment = false"?

(if you ever enabled COPPA on Appodeal dashboard there was no way to undo it for users who already had installed and opened the app. The only way is manually with 2.6.0+.)



[TOPIC: post.html]
#47

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Corona Geek

  • 1,057 posts
  • Corona Staff

Yes. Appodeal iOS is 2.6.1, and Android is 2.6.0. It also sets childDirectedTreatment = false if you send it to init method.


  • Aarbron likes this

[TOPIC: post.html]
#48

ojnab

[GLOBAL: userInfoPane.html]
ojnab
  • Contributor

  • 615 posts
  • Corona SDK

@agramonte

Thanks for the help.

Only provider I have that you don't is Amazon. I tried turning it off but it still crashes.

I suspect that the crash is caused by a specific ad. I am investigating it further.



[TOPIC: post.html]
#49

Aarbron

[GLOBAL: userInfoPane.html]
Aarbron
  • Contributor

  • 224 posts
  • Corona SDK

@ojnab

Not the same but when I was using Amazon Ads, an error message was appearing ingame for a few seconds.

I disabled the network in appodeal.init( ) and everything works fine now.

 

Have you tried it? 



[TOPIC: post.html]
#50

ojnab

[GLOBAL: userInfoPane.html]
ojnab
  • Contributor

  • 615 posts
  • Corona SDK

@aarbron

Yes I tried that too. I am pretty sure it is not related to amazon ads.

Do you see this specific crash report in google play too?

I am wondering why agramonte isn't seeing it.




[topic_controls]
Page 2 of 3 1 2 3
 
[/topic_controls]