This is just ridiculous.
I just passed the entire day checking everything could be checked to see if it’s ok, and everything seems to be just right. But when downloading the version from play store, it still doesn’t access.
I’m really thinking about giving up this damned play games service al leave the game without it.
Thing I checked:
1-App ID: it’s correct. I even tried to write it with and without the quotation marks, because I wanted to try everything…
2-SHA-1 key: it is correct, the same of the keystore I’m using to build
3-Licensing: I followed the guideto set it up, it seems correct to me. I initiated it in the main.lua file even if I don’t care about using google anti piracy service. I tried to set this anti piracy setting on and off, no difference.
4-I’ve set on Google Drive Api and Google Play Android Developers API
Still working when installed from my PC, and not working when installed from Google Play. This is nonsense.
I’m posting part of my code, maybe you’ll see some stupid error I’m not seeing.
Build.setting:
settings = { plugins = { ["plugin.gpgs"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, }, orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", }, }, -- -- Android section -- android = { usesPermissions = { "android.permission.INTERNET", "com.android.vending.CHECK\_LICENSE", "android.permission.GET\_ACCOUNTS", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.ACCESS\_COARSE\_LOCATION", "android.permission.WRITE\_EXTERNAL\_STORAGE" }, googlePlayGamesAppId = "249579054987", applicationChildElements = { [[\<meta-data android:name="android.max\_aspect" android:value="2.1"/\>]], }, }, -- -- Project section -- excludeFiles = { -- Exclude unnecessary files for each platform all = { "Icon.png", "Icon-\*dpi.png", "Images.xcassets", }, android = { "LaunchScreen.storyboardc", }, }, }
config.lua:
application = { content = { width = 1080, height = 1920, scale = "letterbox", fps = 60, }, license = { google = { key = "MII.. . . . . . . ..AQAB", policy = "serverManaged" }, }, }