App rejected due to Google Pay

I wanted to submit my beta application to the Google Developer Console, but it was rejected. A letter from Google sent me a message, the reason for the misuse of Google Pay. The fact is that I do not use Google Pay in my application at all. Also, when searching for my manifest in the Google line, I said that I have to delete in my application when you do not want to use Google Pay (

<meta-data android:name="com.google.android.gms.wallet.api.enabled" android:value="true"/>

), I could not find anything. I also do not want to sell any applications for participation in the In-App and, so to speak, in the Development Console, the application is completely free.

Module assembly module:

 apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services' android { compileSdkVersion 22 buildToolsVersion "21.1.2" defaultConfig { applicationId 'com.myproject' minSdkVersion 14 targetSdkVersion 22 } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' } } productFlavors { } } dependencies { compile project(':copyoflibrary') compile project(':copyofHoloGraphLibrary') compile project(':multiStateToggleButton') compile 'com.android.support:support-v4:22.0.0' compile 'com.google.code.gson:gson:2.3' compile 'com.android.support:appcompat-v7:22.0.0' compile "com.google.android.gms:play-services:7.5.+" compile files('libs/commons-lang3-3.3.2.jar') compile 'com.android.support:cardview-v7:22.0.+' compile 'com.pkmmte.view:circularimageview:1.1' } 
+6
source share
1 answer

I finally found a problem. If you are using a google game from gradle as below:

 compile 'com.google.android.gms:play-services:8.4.0' 

Then, your Android payment code will be set in your debug and release manifest. It will also automatically enable in-app purchase meta-help.

Thus, you will need to choose a person for each google service.

So, if you use GCM push notification, you gradle should be like

  compile "com.google.android.gms:play-services-gcm:8.4.0" 

If you use Google Analytics, then gardle will be

 compile 'com.google.android.gms:play-services-analytics:8.4.0' 

I checked the released and debugged manifest after making this change.

thanks

+1
source

All Articles