I have been trying to integrate the applovin plugin but have the following issue.
1. applovin.isLoaded() always return false.
- If I wait for the call back for event.phase = “loaded” and then try to show the ad, i get this error:
WARNING: applovin.show() The Interstitial Ad has not finished loading yet
I am using build: 2016.2824
Targeting: Android.
And here is the complete settings document (although I don’t think it matters):
settings =
{
plugins =
{
[“plugin.applovin”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, android=true, osx=true, win32=true, appletvos=true }
},
[“plugin.google.play.services”] =
{
publisherId = “com.coronalabs”,
},
[“CoronaProvider.analytics.flurry”] =
{
publisherId = “com.coronalabs”,
},
[“plugin.fbAudienceNetwork”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, android=true, osx=true, [“win32-sim”]=true }
},
[“CoronaProvider.ads.vungle”] =
{
publisherId = “com.vungle”,
},
},
orientation =
{
– Supported values for orientation:
– portrait, portraitUpsideDown, landscapeLeft, landscapeRight
default = “landscapeLeft”,
supported = { “landscapeRight”, }
},
excludeFiles =
{
– Include only the necessary icon files on each platform
iphone = { “Icon-*dpi.png”, },
android = { “Icon.png”, “Icon-Small-*.png”, “Icon*@2x.png”, },
},
–
– iOS Section
–
iphone =
{
plist =
{
UIStatusBarHidden = false,
UIPrerenderedIcon = true, – set to false for “shine” overlay
–UIApplicationExitsOnSuspend = true, – uncomment to quit app on suspend
CFBundleIconFiles =
{
“Icon.png”,
“Icon@2x.png”,
“Icon-167.png”,
“Icon-60.png”,
“Icon-60@2x.png”,
“Icon-60@3x.png”,
“Icon-72.png”,
“Icon-72@2x.png”,
“Icon-76.png”,
“Icon-76@2x.png”,
“Icon-Small.png”,
“Icon-Small@2x.png”,
“Icon-Small@3x.png”,
“Icon-Small-40.png”,
“Icon-Small-40@2x.png”,
“Icon-Small-50.png”,
“Icon-Small-50@2x.png”,
},
–[[
– iOS app URL schemes:
CFBundleURLTypes =
{
{
CFBundleURLSchemes =
{
“fbXXXXXXXXX”, – replace XXXXXXXXX with your Facebook appId
}
}
}
–]]
}
},
–
– Android Section
–
android =
{
usesPermissions =
{
“android.permission.INTERNET”,
},
},
}