Android: Distribute complete google-play-services_lib

@CoronaLabs

Instead of just distributing the google-play-services.jar file, it would be more correct to distribute the complete

google-play-services_lib directory structure in CoronaEnterprisePlugins.zip.

Why?

Because google-play-services *should* be added as a library dependancy in project.properties like so:

# Project target. target=android-16 android.library.reference.1=${CoronaEnterpriseDir}/Corona/android/lib/Corona android.library.reference.2=./google-play-services\_lib

For this to compile, we need all the google-play-services resource files.

If it’s not done this way, you’ll get a ton of unnecessary warnings in the Android log complaining about missing Google Play Services resources.

I’m a PRO user, but I’m also seeing the Android log complain about missing Google Play Services resources…I have all 3 of these in my build.settings too

[“CoronaProvider.gameNetwork.google”] =

{

publisherId = “com.coronalabs”,

supportedPlatforms = { android=true },

},

[“plugin.google.play.services”] =

{

publisherId = “com.coronalabs”

},

[“plugin.google.iap.v3”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { android=true }

        },

as far as anyone knows are they safe to ignore?  Sorry to hijack this enterprise thread but it seemed like a good place for it

As far as I’m aware these errors don’t result in any crashes of the app, however I’m not so sure about the user experience.

If resources are missing I suspect when certain dialog boxes appear that the user sees some weird messages instead of helpful hints. I solved these errors by tracking down the old Google source for the version of Google Play Services that Corona uses and implemented it according to my post above. After that these error messages have disappeared from my apps.

I’m very surprised that this happens on Pro builds!  :huh:

I’m a PRO user, but I’m also seeing the Android log complain about missing Google Play Services resources…I have all 3 of these in my build.settings too

[“CoronaProvider.gameNetwork.google”] =

{

publisherId = “com.coronalabs”,

supportedPlatforms = { android=true },

},

[“plugin.google.play.services”] =

{

publisherId = “com.coronalabs”

},

[“plugin.google.iap.v3”] =

        {

            publisherId = “com.coronalabs”,

            supportedPlatforms = { android=true }

        },

as far as anyone knows are they safe to ignore?  Sorry to hijack this enterprise thread but it seemed like a good place for it

As far as I’m aware these errors don’t result in any crashes of the app, however I’m not so sure about the user experience.

If resources are missing I suspect when certain dialog boxes appear that the user sees some weird messages instead of helpful hints. I solved these errors by tracking down the old Google source for the version of Google Play Services that Corona uses and implemented it according to my post above. After that these error messages have disappeared from my apps.

I’m very surprised that this happens on Pro builds!  :huh: