How to disable plugin.google.play.services

Hello,

I decided to put the plugin(adcolony) in my game
After starting the game on the phone, I found an error:

*AppName* does not target the google play store, but includes google play services. This is adding unnecessary bloat to your app as Google Play Services depends on the google play store
My build.settings:

settings =
{
	orientation =
	{
		-- Supported values for orientation:
		-- portrait, portraitUpsideDown, landscapeLeft, landscapeRight
		default = "landscapeRight",
		--supported = { "landscapeRight", },
	},

	--
	-- Android section
	--
	android =
	{
		usesPermissions =
		{
			"android.permission.INTERNET",
			"android.permission.ACCESS_NETWORK_STATE",
			"android.permission.WRITE_EXTERNAL_STORAGE",
			"android.permission.VIBRATE",
		}
	},

	--
	-- iOS section
	--
	iphone =
	{
		xcassets = "Images.xcassets",
		plist =
		{
			UIStatusBarHidden = false,
			UILaunchStoryboardName = "LaunchScreen",
		}
	},

	--
	-- Plugins section
	--
	plugins = {
        ["plugin.adcolony"] = {
            publisherId = "com.coronalabs",
        }
    },

	--
	-- Project section
	--
	excludeFiles =
	{
		-- Exclude unnecessary files for each platform
		all = { "Icon.png", "Icon-*dpi.png", "Images.xcassets", },
		android = { "LaunchScreen.storyboardc", },
	},
}

In my files of game aren’t nothing about “plugin.google.play.services”

Build: 2020.3601

The adColony solar2d plugin has a reference to google play services. There are no configuration change way to remove it.

The options that I am aware of:

  1. Create your own plugin.
  2. Find the plugin in your download folder and see if you can remove the reference. Depending on what version the plugin is using this might not be possible.
1 Like