android: Google play game services login to clash.

google-play-services plugin ok.

AndroidManifest.xml

<activity android:name=“com.google.android.gms.ads.AdActivity”                 android:configChanges=“keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize”/>

                   

<meta-data android:name=“com.google.android.gms.games.APP_ID”

android:value=“APP_ID” />  

       

<meta-data android:name=“com.google.android.gms.version”

android:value=“4242000” /> 

Corona SDK Pro Succeed.

but

Corona Enterprise failed.

init succeed. (initCallback event.isError false)

gameNetwork.request( “login”,

{

    userInitiated = true,  listener = loginCallback})

clashed.

I solved.

<meta-data android:name=“com.google.android.gms.games.APP_ID”
android:value="@string/GAME_APP_ID" />

android:value=“12335441421”   <-- no!!!

res/value/string/xml

<resources>

    <string name=“GAME_APP_ID”>12335441421</string>

</resources>

ok!

@Brad Shin

Hi, how do you use gameNetwork in Lua files? I require gameNetwork like this:

local gameNetwork = require(“gameNetwork”)

gameNetwork.init(“google”, callback)

I build successfully using build.sh, but when I install the app and run it, it crash. Can you tell me how to use gameNetwork in Corona Enterprise? Thanks

I solved.

<meta-data android:name=“com.google.android.gms.games.APP_ID”
android:value="@string/GAME_APP_ID" />

android:value=“12335441421”   <-- no!!!

res/value/string/xml

<resources>

    <string name=“GAME_APP_ID”>12335441421</string>

</resources>

ok!

@Brad Shin

Hi, how do you use gameNetwork in Lua files? I require gameNetwork like this:

local gameNetwork = require(“gameNetwork”)

gameNetwork.init(“google”, callback)

I build successfully using build.sh, but when I install the app and run it, it crash. Can you tell me how to use gameNetwork in Corona Enterprise? Thanks