android


App rejected because of Google Pay


I wanted to submit my app for the beta in the Google Developer Console, but it got rejected. The mail Google send me said, the reason is an incorrect use of Google Pay. The thing is, I dont use Google Pay in my App at all. Also when searching my manifest for the line, Google said I should remove in my App when dont want to use Google Pay (
<meta-data android:name="com.google.android.gms.wallet.api.enabled" android:value="true"/>
), I couldnt find anything.
I also dont want to sell any In-App pruchases and did say so in the Developement Console, the app is completely for free.
The build.gradle of the Module is:
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'
}
I have finally found the issue. If you are using google play from gradle as like below :
compile 'com.google.android.gms:play-services:8.4.0'
Then your debug and release manifest will have Android pay code as well It will auto include inapp purchase meta as well.
So you will need to select individual for each google service.
So if you are using 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 have checked released and debug menifest after made this change.
Thanks

Related Links

Broadcast Receiver for ACTION_USER_PRESENT,ACTION_SCREEN_ON,ACTION_BOOT_COMPLETED
App won't display on market for HTC Sensation
Android: How to save/restore data
Support for tablets configuration
Should I always finish one activity before going to another?
How to find name of city and state in android at moment?
All variables i call from my class gets the value Null or 0
Android DialogFragment vs Dialog
Creating a Android Service that pulls user data via XML
Where to create file in android device
layout alignment: landscape vs portrait
abortBroadcast() from activity
Refresh cursor after change in query - onStart()?
Steps to keep in mind while replacing existing android app
How to display two lists from two tables in single view in Android
I don't have “Application” field in Logcat

Categories

HOME
microsoftgraph
twitter-bootstrap-3
gdb
codenvy
merge
css3
pagination
object
numbers
fftw
scripting
angularfire2
barcode
sendgrid-api-v3
openstreetmap
github-enterprise
comsol
mongodb-csharp
libusb
null-pointer
mvc-mini-profiler
wolframalpha
cfml
replication
user-experience
beta
data.stackexchange.com
android-sharedpreferences
linked-data
android-things
nsurl
xbox
sammy.js
swagger-php
dm-script
urlsession
resolution
skylink
parser-generator
apollostack
rfc3339
tf
corruption
custom-font
semantic-logging
yii2-user
git-flow
janus
stripe-connect
slackware
usart
redistributable
microstation
jquery-jscrollpane
wso2developerstudio
xdoclet
http-status-code-401
gcloud-ruby
exim4
toast
linklabel
phonertc
toolkit
batik
viola-jones
baasbox
botan
google-refine
git-ftp
snackbar
uvc
entity-framework-4.3
nodelist
cocos3d
unix-socket
lambda-architecture
gae-quotas
getopt
observium
octal
preload
argouml
web-notifications
fragmenttransaction
sentestingkit
os.system
adobe-media-server
android-holo-everywhere
tournament
rmdir
w3c-geolocation
massive
unattended-processing
cdonts
codebase
appledoc
facebook-iframe
vs-android
jqueryform
openfaces
zen
data-mapping
glui
xslcompiledtransform

Resources

Encrypt Message