Does AppLovin Plugin work on any Android device?
When I build specifically for “Amazon” the AppLovin crashes the app but not when I choose the other Target App Store Android options.
Does AppLovin Plugin work on any Android device?
When I build specifically for “Amazon” the AppLovin crashes the app but not when I choose the other Target App Store Android options.
Mike,
What version of Corona version did you use, and what OS are you building from (OS X or Mac).
Also, do you mean crash during build or crash during run? If the latter, what test device(s)?
I answered a similar question the other day here: https://forums.coronalabs.com/topic/62148-applovin-crash-on-device-test/ with these results:
Test Details
You can get my test code here to see if there is a difference:
http://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2016/03/ApplovinTest.zip
Cheers,
Ed
I also just ran a third test:
So, I think perhaps this doesn’t work when you build specifically for Amazon.
The question that immediately comes to mind is, “Why not just build for the Google Play store?”
Note: I’ve re-examined the AppLovin site and they definitely target Fire, so this should work there also. I wonder, if it would NOT crash if I ran this on a Fire device… I don’t have one however. Do you?
Oy, I think I know the problem. AppLovin requires these two plugins:
plugins = { -- AppLovin ["plugin.applovin"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone = true, android = true, appletvos = true, ["iphone-sim"] = true, }, }, -- Google Play Services ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true, }, }, },
I’m pretty sure ‘plugin.google.play.services’ gets nixed when you build for Amazon…
Doing this fixes the problem:
plugins = { -- AppLovin ["plugin.applovin"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone = true, android = true, appletvos = true, ["iphone-sim"] = true, ["android-kindle"] = true }, }, -- Google Play Services ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true, ["android-kindle"] = true }, }, },
Test 4
Galaxy Tab 4
Corona SDK 2016.2841
Built from Windows 10
Target App Store: Amazon
Add:** [“android-kindle”] = true **** in build.settings at appropriate locations**
Status: Success
This leaves an open question however, what if Google Store is not installed on device, is that a deal breaker?
i.e. Similar to your Vungle question: https://forums.coronalabs.com/topic/62216-will-vungle-still-work-on-android-devices-without-the-google-play-store-installed/
Adding the code to force it to load seems to work on my Kindle Fire HD.
So we still need to know if the plugins still work on devices without the Google Play Store on standard Android devices.
What is the code for when you pick “-none” for the Target App Store to make sure a plugin loads?
Does the AppLovin Plugin work on any Android device even if it does not have the Google Play App Store?
Mike,
What version of Corona version did you use, and what OS are you building from (OS X or Mac).
Also, do you mean crash during build or crash during run? If the latter, what test device(s)?
I answered a similar question the other day here: https://forums.coronalabs.com/topic/62148-applovin-crash-on-device-test/ with these results:
Test Details
You can get my test code here to see if there is a difference:
http://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/2016/03/ApplovinTest.zip
Cheers,
Ed
I also just ran a third test:
So, I think perhaps this doesn’t work when you build specifically for Amazon.
The question that immediately comes to mind is, “Why not just build for the Google Play store?”
Note: I’ve re-examined the AppLovin site and they definitely target Fire, so this should work there also. I wonder, if it would NOT crash if I ran this on a Fire device… I don’t have one however. Do you?
Oy, I think I know the problem. AppLovin requires these two plugins:
plugins = { -- AppLovin ["plugin.applovin"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone = true, android = true, appletvos = true, ["iphone-sim"] = true, }, }, -- Google Play Services ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true, }, }, },
I’m pretty sure ‘plugin.google.play.services’ gets nixed when you build for Amazon…
Doing this fixes the problem:
plugins = { -- AppLovin ["plugin.applovin"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone = true, android = true, appletvos = true, ["iphone-sim"] = true, ["android-kindle"] = true }, }, -- Google Play Services ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true, ["android-kindle"] = true }, }, },
Test 4
Galaxy Tab 4
Corona SDK 2016.2841
Built from Windows 10
Target App Store: Amazon
Add:** [“android-kindle”] = true **** in build.settings at appropriate locations**
Status: Success
This leaves an open question however, what if Google Store is not installed on device, is that a deal breaker?
i.e. Similar to your Vungle question: https://forums.coronalabs.com/topic/62216-will-vungle-still-work-on-android-devices-without-the-google-play-store-installed/
Adding the code to force it to load seems to work on my Kindle Fire HD.
So we still need to know if the plugins still work on devices without the Google Play Store on standard Android devices.
What is the code for when you pick “-none” for the Target App Store to make sure a plugin loads?
Does the AppLovin Plugin work on any Android device even if it does not have the Google Play App Store?