The code works on IOS, but on Android the app stops when reach vungle ads.init line
I would appreciate your support.
Android 6.0
- build. settings
[“CoronaProvider.ads.vungle”] = {
publisherId = “com.vungle”
},
- main.lua
if platform == “iPhone OS” then
ads.init(provider, bannerAppIDiOS, adListener)
ads.init(provider, interstitialAppIDiOS, adListener)
ads.init(“vungle”, “vungleAppIDiOS”, vungleAdListener)
elseif platform == “Android” then
ads.init(provider, bannerAppIDAndroid, adListener)
ads.init(provider, interstitialAppIDAndroid, adListener)
ads.init(“vungle”, “vungleAppIDAndroid”, vungleAdListener)
end
Regards,
Jose Roberto