Applovin plugin and enterprise

Hi,

I’m trying to implement the Applovin plugin in my enterprise app.

I’ve put the relevant stuff in build.settings (according to this post) as follows :

plugins = { ["facebook"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, android=true, ["iphone-sim"]=true }, }, ["plugin.gameanalytics"] = { publisherId = "com.gameanalytics", }, ["plugin.applovin"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone = true, ["iphone-sim"] = true, android = true, osx = true, win32 = true, }, }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, },

and have the following permissions in my AndroidManifest :

\<uses-permission android:name="android.permission.INTERNET"/\> \<uses-permission android:name="android.permission.ACCESS\_WIFI\_STATE"/\> \<uses-permission android:name="android.permission.WRITE\_EXTERNAL\_STORAGE"/\> \<uses-permission android:name="android.permission.RECEIVE\_BOOT\_COMPLETED"/\> \<uses-permission android:name="android.permission.ACCESS\_NETWORK\_STATE"/\> \<uses-permission android:name="android.permission.INTERACT\_ACROSS\_USERS\_FULL"/\> \<uses-permission android:name="android.permission.ACCESS\_COARSE\_LOCATION"/\> \<uses-permission android:name="android.permission.ACCESS\_FINE\_LOCATION"/\> \<uses-permission android:name="android.permission.READ\_PHONE\_STATE" /\> \<uses-permission android:name="com.android.vending.BILLING" /\> \<uses-permission android:name="com.android.vending.CHECK\_LICENSE" /\>

The app builds fine, but when I launch it I get :

/Users/jenkins/slaveroot/workspace/Enterprise/OS/xcode-6.3/release/release/platform/resources/init.lua:835: module 'plugin.applovin' not found:resource (plugin.applovin.lu) does not exist in archive I/Corona (17624): no field package.preload['plugin.applovin'] I/Corona (17624): no file '(null)/plugin/applovin.lua' I/Corona (17624): no file '(null)/plugin/applovin.lua' I/Corona (17624): no file '/data/app-lib/com.mangoogames.musicquiz-1/libplugin/applovin.so' I/Corona (17624): no file './plugin/applovin.so' I/Corona (17624): no file '(null)/plugin/applovin.so' I/Corona (17624): no file '/data/app-lib/com.mangoogames.musicquiz-1/libplugin.so' I/Corona (17624): no file './plugin.so' I/Corona (17624): no file '(null)/plugin.so' I/Corona (17624): no file '/data/app-lib/com.mangoogames.musicquiz-1/libplugin.applovin.so' I/Corona (17624): no file './plugin.applovin.so' I/Corona (17624): no file '(null)/plugin.applovin.so'

Am I doing anything wrong ?

Thanks.

Hi @Mangoo Games,

The following subsection of our docs briefly describes how to use plugins in Enterprise. 

https://docs.coronalabs.com/native/plugin/index.html#enterprise

As noted in the build guide, “build.settings” is actually partially or totally ignored for Enterprise builds:

https://docs.coronalabs.com/daily/guide/distribution/buildSettings/index.html

Hope this helps,

Brent

The thing is I downloaded applovin-android-sdk-6.1.5.jar and put it in my project’s libs directory and I still got that error. 

Can’t find any other .jar for applovin. 

Shouldn’t there be a download link in the corona doc too ?

With each build of Corona Enterprise (on the Enterprise tab on the daily builds page) is a .zip file (maybe .tar.gz) of the plugins. This is where you get the .jar files from. You typically don’t need to get files from the vendor.

I downloaded corona enterprise 2828 and couldn’t seem to find it. Do you know in which version applovin plugin is implemented?

I’m investigating.

Any news ?

I think it will be included in the next daily build after 2831’s plugin zip file.

Rob

Hi @Mangoo Games,

The following subsection of our docs briefly describes how to use plugins in Enterprise. 

https://docs.coronalabs.com/native/plugin/index.html#enterprise

As noted in the build guide, “build.settings” is actually partially or totally ignored for Enterprise builds:

https://docs.coronalabs.com/daily/guide/distribution/buildSettings/index.html

Hope this helps,

Brent

The thing is I downloaded applovin-android-sdk-6.1.5.jar and put it in my project’s libs directory and I still got that error. 

Can’t find any other .jar for applovin. 

Shouldn’t there be a download link in the corona doc too ?

With each build of Corona Enterprise (on the Enterprise tab on the daily builds page) is a .zip file (maybe .tar.gz) of the plugins. This is where you get the .jar files from. You typically don’t need to get files from the vendor.

I downloaded corona enterprise 2828 and couldn’t seem to find it. Do you know in which version applovin plugin is implemented?

I’m investigating.

Any news ?

I think it will be included in the next daily build after 2831’s plugin zip file.

Rob