Hi,
I’m trying to integrate the applovin plugin in my app but I always get this error on device:
ERROR: Could not load provider (applovin) due to the following reason: module
‘CoronaProvider.ads.applovin’ not found:resource
(CoronaProvider.ads.applovin.lu) does not exist in archive
no field package.preload['CoronaProvider.ads.applovin]
and so on.
I’ve already tried to put[lua][“iphone-sim”]=true[/lua] in supported platforms under applovin plugin but I always get the error.
I also have these two Warnings when running on the Corona Simulator:
WARNING: The ‘ads’ provider (applovin) is not available on the simulator
WARNING: The ‘plugin.applovin’ library is not available on this platform.
This is my build.settings
[lua]settings =
{
plugins = {
[“plugin.applovin”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, android=true, appletvos=true, [“iphone-sim”]=true }
},
[“plugin.google.play.services”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, android=true }
},
[“plugin.google.play.services”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, android=true }
},
[“plugin.adbuddiz”] =
{ publisherId = “com.adbuddiz” },
[“CoronaProvider.ads.vungle”] =
{
publisherId = “com.vungle”
},
[“plugin.google.play.services”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, android=true }
},
[“plugin.revmob”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, android=true }
},
[“plugin.flurry.analytics”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, android=true }
},
[“plugin.google.play.services”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, android=true }
},
[“plugin.facebook.v4”] =
{
publisherId = “com.coronalabs”
},
[“CoronaProvider.gameNetwork.google”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { android = true },
},
–[[remove this line to implement iAds
[“CoronaProvider.ads.iads”] =
{
– required
publisherId = “com.coronalabs”,
},
]] --remove this line to implement iAds
[“CoronaProvider.gameNetwork.apple”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { iphone=true, [“iphone-sim”]=true },
},
[“plugin.google.iap.v3”] =
{
publisherId = “com.coronalabs”,
supportedPlatforms = { android=true }
},
[“plugin.chartboost”] =
{
publisherId = “com.swipeware”
},
[“CoronaProvider.native.popup.social”] =
{
publisherId = “com.coronalabs”
},
},
orientation =
{
default = “portrait”,
supported = { “portrait” }
},
android =
{
facebookAppId = “XXXXXXXXXX”, – Replace XXXXXXXXXX with your Facebook App ID
googlePlayGamesAppId = “372926750211”, --insert your app id number for google game services
usesPermissions =
{
“com.android.vending.BILLING”, --remove this line if you don’t use iAP
“android.permission.INTERNET”,
“android.permission.ACCESS_NETWORK_STATE”,
“android.permission.ACCESS_FINE_LOCATION”,
“android.permission.ACCESS_COARSE_LOCATION”,
–[[remove this line if you use admob and not chartboost
“android.permission.READ_PHONE_STATE”
]]–remove this line if you use admob and not chartboost
},
},
iphone =
{
plist =
{
– Whitelist Facebook Servers for Network Requests
NSAppTransportSecurity =
{
NSAllowsArbitraryLoads=true,
NSExceptionDomains =
{
[“fbcdn.net”] =
{
NSIncludesSubdomains = true,
NSExceptionRequiresForwardSecrecy = false,
},
[“facebook.com”] =
{
NSIncludesSubdomains = true,
NSExceptionRequiresForwardSecrecy = false,
},
[“akamaihd.net”] =
{
NSIncludesSubdomains = true,
NSExceptionRequiresForwardSecrecy = false,
},
},
},
– Whitelist Facebook Apps
LSApplicationQueriesSchemes =
{
“fb”,
“fbapi20130214”,
“fbapi20130410”,
“fbapi20140410”,
“fbapi20140116”,
“fbapi20150313”,
“fbapi20150629”,
“fbauth”,
“fbauth2”,
“fb-messenger-api20140430”,
},
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles =
{
“Icon.png”,
“Icon@2x.png”,
“Icon-60.png”,
“Icon-60@2x.png”,
“Icon-72.png”,
“Icon-72@2x.png”,
“Icon-76.png”,
“Icon-76@2x.png”,
“Icon-Small.png”,
“Icon-Small@2x.png”,
“Icon-Small-40.png”,
“Icon-Small-40@2x.png”,
“Icon-Small-50.png”,
“Icon-Small-50@2x.png”,
},
UIApplicationExitsOnSuspend = false, – must be false for single sign-on to work
FacebookAppID = “XXXXXXXXX”, – replace XXXXXXXXX with your facebook appId
CFBundleURLTypes =
{
{
CFBundleURLSchemes =
{
“fbXXXXXXXXX”, – replace XXXXXXXXX with your facebook appId, make sure that you leave fb in front of it
}
}
}
}
}
}
[/lua]
Thanks