Problems with Updating App and Loading Appodeal Ads

Hi,

 

I’ve just started using Appodeal in my app that I am testing. I got banner, interstitial, and video ads all working correctly in my 1.1.1 version of my app on my iPhone. I then downloaded the 1.1.2 version of the app, and none of the ads are showing or loading(you can tell when the screen slows). 

 

What is most strange about all of this is the 1.1.2 version had no code changes to anything that dealt with ads. Since 1.1.2, I’ve put out four additional versions trying to correct this, but none have worked. Version 1.1.6 was an EXACT copy of the code in 1.1.1, and the ads STILL didn’t load for version 1.1.6!

 

Since I’m using Testflight, I can reinstall 1.1.1, and the ads work(only for that version still).

 

I have tried all that I can think of to fix this. Is there something I’m missing about Appodeal where an action must be done whenever there’s an update? I’m using the Corona SDK plugin.

 

I am most suspicious of ATS settings in iTunes Connect. Possibly, ATS isn’t even allowing my app to access the Appodeal plugin from Corona Labs. However, I bypass ATS in my code every time.

 

 

I’ve put a lot of time and thought into solving this problem, and I’d like to move forward from this. Hopefully I’m overlooking a simple component of Corona or Appodeal dealing with updates. I really appreciate your help with this!

 

Thanks,

Dan

Have you looked in your device’s console log for errors? What happens if you use Corona to build and install to the device? Messages should appear in your Corona console log making it easy to see them.

Also can you post your build.settings?

Rob

Here is my build.settings.

Also, I use a Dell laptop with macincloud to build in XCode. I’ve tried downloading strait from Corona to my iPhone using macincloud before, but my iPhone doesn’t show up as a plugged-in device on the virtual mac computer. Would there be a way to get around this? That’s why I had to use Testflight.

– For more information on build.settings, see the Project Build Settings guide at:

https://docs.coronalabs.com/guide/distribution/buildSettings

settings =

{

orientation =

{

– Supported values for orientation:

– portrait, portraitUpsideDown, landscapeLeft, landscapeRight

default = “portrait”,

supported = { “portrait”, },

},

– Android section

android =

{

usesPermissions =

{

“android.permission.INTERNET”,

},

},

– Plugins section

plugins =

{

[“plugin.appodeal”]=

{

publisherId = “com.coronalabs”,

supportedPlatforms = { iphone=true, android=false, [“android-kindle”]=false, appletvos=false}

},

},

– iOS section

iphone =

{

plist =

{

MinimumOSVersion = “8.0”,

NSAppTransportSecurity = { NSAllowsArbitraryLoads=true },

UIStatusBarHidden = false,

UILaunchStoryboardName = “LaunchScreen”,

CFBundleIconFiles =

{

“Icon-40.png”,

“Icon-58.png”,

“Icon-76.png”,

“Icon-80.png”,

“Icon-87.png”,

“Icon-120.png”,

“Icon-152.png”,

“Icon-167.png”,

“Icon-180.png”,

},

},

},

– Project section

excludeFiles =

{

– Exclude unnecessary files for each platform

ios = { “Icon.png”, “Icon-*dpi.png”, },

android = { “Icon.png”, “Icon-??.png”, “Icon-???.png”, “LaunchScreen.storyboardc”, },

},

}

@Dan

Please keep in mind that the new Appodeal plugin released last week does not support the “video” ad type and has therefore been removed as a supported ad type. With the new version video ads have been integrating into the “interstitial” ad type. Please see announcement here:
https://coronalabs.com/blog/2017/07/12/appodeal-plugin-updated-to-sdk-version-2-0/

As a result, if you are using “video” in the supportedAdTypes option in your appodeal.init() call you should remove it, otherwise the plugin will fail to intitialize.

These types of errors are reported in the iOS device log. To check the device logs you can use the macOS Console app. In Console, select your iOS device and filter on your app name to only show messages from your app.

Oh my gosh! Thank you so much @ingemar for your help!! 

That fixed it. All I had to do was remove “video” from appodeal.init() and appodeal.show(), and all ads are working in my new version. I had no idea the plugin changed. It would have been good to know, but right now I am so happy.  

Thanks a lot!

Have you looked in your device’s console log for errors? What happens if you use Corona to build and install to the device? Messages should appear in your Corona console log making it easy to see them.

Also can you post your build.settings?

Rob

Here is my build.settings.

Also, I use a Dell laptop with macincloud to build in XCode. I’ve tried downloading strait from Corona to my iPhone using macincloud before, but my iPhone doesn’t show up as a plugged-in device on the virtual mac computer. Would there be a way to get around this? That’s why I had to use Testflight.

– For more information on build.settings, see the Project Build Settings guide at:

https://docs.coronalabs.com/guide/distribution/buildSettings

settings =

{

orientation =

{

– Supported values for orientation:

– portrait, portraitUpsideDown, landscapeLeft, landscapeRight

default = “portrait”,

supported = { “portrait”, },

},

– Android section

android =

{

usesPermissions =

{

“android.permission.INTERNET”,

},

},

– Plugins section

plugins =

{

[“plugin.appodeal”]=

{

publisherId = “com.coronalabs”,

supportedPlatforms = { iphone=true, android=false, [“android-kindle”]=false, appletvos=false}

},

},

– iOS section

iphone =

{

plist =

{

MinimumOSVersion = “8.0”,

NSAppTransportSecurity = { NSAllowsArbitraryLoads=true },

UIStatusBarHidden = false,

UILaunchStoryboardName = “LaunchScreen”,

CFBundleIconFiles =

{

“Icon-40.png”,

“Icon-58.png”,

“Icon-76.png”,

“Icon-80.png”,

“Icon-87.png”,

“Icon-120.png”,

“Icon-152.png”,

“Icon-167.png”,

“Icon-180.png”,

},

},

},

– Project section

excludeFiles =

{

– Exclude unnecessary files for each platform

ios = { “Icon.png”, “Icon-*dpi.png”, },

android = { “Icon.png”, “Icon-??.png”, “Icon-???.png”, “LaunchScreen.storyboardc”, },

},

}

@Dan

Please keep in mind that the new Appodeal plugin released last week does not support the “video” ad type and has therefore been removed as a supported ad type. With the new version video ads have been integrating into the “interstitial” ad type. Please see announcement here:
https://coronalabs.com/blog/2017/07/12/appodeal-plugin-updated-to-sdk-version-2-0/

As a result, if you are using “video” in the supportedAdTypes option in your appodeal.init() call you should remove it, otherwise the plugin will fail to intitialize.

These types of errors are reported in the iOS device log. To check the device logs you can use the macOS Console app. In Console, select your iOS device and filter on your app name to only show messages from your app.

Oh my gosh! Thank you so much @ingemar for your help!! 

That fixed it. All I had to do was remove “video” from appodeal.init() and appodeal.show(), and all ads are working in my new version. I had no idea the plugin changed. It would have been good to know, but right now I am so happy.  

Thanks a lot!