Appnext problem on Android

Hello everybody.

I implemented the Appnext plugin in one of my apps and it is working very well on ios, but on Android I constantly get the following errors:

Received adError for 74ccc155-xxxx-464b-90c3-0f19f0c27034\_rewarded with message: Error loading video Received adLoaded for 92060199-xxxx-4415-ab8f-2869ef8c6e43\_interstitial with message: Received adError for 92060199-xxxx-4415-ab8f-2869ef8c6e43\_interstitial with message: no ads

The first two errors I get on plugin initialization, the last one I get when trying to show the interstitial.

I already changed the ad ids twice without any success. This is my code:

---- appnext local function appnextAdListener( event ) print( "Received " .. event.event .. " for " .. event.adKey .. " with message: " .. event.message ) if event.event == "adError" then gameOverAdsCounter = 0 elseif event.event == "adLoaded" and event.adKey == adTable.rewardedAdKey then --this should actually not be necessary, but sometimes the other check seems not to work :/ gameOverGroup.continueVideoBtn.alpha = 1 elseif event.event == "adClosed" and event.adKey == adTable.rewardedAdKey then --rewarded video watched gameOverAdsCounter = 0 appnext.loadAd( adTable.rewardedAdKey ) countingDown = true local numPoints = globals.continuePointsVideo[numTries] local function addPoints() numPoints = numPoints-1 if numPoints \>= 0 and points \< curWorldPoints then makeRing("in") timer.performWithDelay(500, function() points = points + 1 if points%globals.pointsToCount == 0 then addCollPoints(globals.pointsToCount) end collisionAnimation(50) if mode == "survivalMode" then pointsText.text = points else pointsText.text = curWorldPoints-points end checkLevel() addPoints() end) else timer.performWithDelay(500, function() countingDown = false if points \< curWorldPoints then startFct() end end) end end helper.hideGroup(gameOverGroup) timer.performWithDelay(500, function() addPoints() end) elseif event.event == "adClosed" and event.adKey == adTable.interstitialAdKey then --interstitial closed gameOverAdsCounter = 0 end end --initialize appnext appnext.init( appnextAdListener ) adTable.interstitialAdKey = appnext.createAd( "interstitial", adTable.interstitialPlacementID, adTable.interstitialConfig ) adTable.rewardedAdKey = appnext.createAd( "rewarded", adTable.rewardedPlacementID, adTable.rewardedConfig ) -- Load your ads before showing appnext.loadAd( adTable.interstitialAdKey ) appnext.loadAd( adTable.rewardedAdKey ) -- Later in code, when actually showing the interstitial if ( appnext.adIsLoaded( adTable.interstitialAdKey ) ) then if gameOverAdsCounter \>= gameOversToShowAd then appnext.showAd( adTable.interstitialAdKey ) delay = 500 end else appnext.loadAd( adTable.interstitialAdKey ) end

When the game is about to show an interstitial, the screen gets black for some moment but returns to normal afterwards without showing any interstitial.

I got in contact with Appnext and they said that they have corrected the problem and that a new sdk should be available already. I was wondering if Corona already implemented this sdk or when this will happen.

I was wondering as well if I am the only one experiencing this problem??

Best,

Felix

The Appnext Corona plugin is maintained by Appnext themselves. If you still see this issue I can only assume that they haven’t updated the Corona plugin yet.

Hei ingemar,

did not get noticed about this message. Thank you for your answer.

Do you know how I could check if I have the latest version of the plugin?

Do you know if I am the only one with this problem? Or if I am the only one using this plugin??

Thank you,

Felix

I believe they are still working on the update.

Hello again,

it is still not working and I just found that

appnext.getApiVersion()

does not work, at least on Android.

I am really curious if I am the only one using this plugin or if I am the only one that can’t get it to work?

Best,

Felix

BUMP,

as I am still facing the problem…

Anyone else has this problem?

The App is stuck at the state: “Action required” phase in the appnext panel under the “Set-up progress” tab.

How to advance here?

Remembering, on iOS everything worked right away…

Best,

Felix

@Felix

AppNext maintains this plugin themselves and any issues with the plugin can only be fixed by them.

I’ve contacted them and asked for a plugin status and when/if they plan to update this plugin.

Ingemar_cl,

thank you!

So I am really the only one that is using this plugin? Or just the only one that has problems?

Best,

Felix

Finally (and sadly), I am not the only one with this problem.

https://forums.coronalabs.com/topic/67089-appnext-error-when-loading-ads/