Reputation: 41
I'm always getting this error when try to request for maskedWallet in production apk.
Things that I've already check:
WalletConstants.ENVIRONMENT_PRODUCTION
Anything else I'm missing that might caused this error?
Upvotes: 0
Views: 767
Reputation: 1416
You get this message with no error code because you haven't get approval from Google.
Sign up the form - https://services.google.com/fb/forms/googlepayAPIenable/
Then, Google will contact you
A. They need your apk pointed to ENVIRONMENT_TEST.
B: If your app is ok after their review, you need to submit more information related to your app.
C: They need you apk pointed to ENVIRONMENT_PRODUCTION and you need to sign your app.
So, just follow their instructions.
Some References:
Deploying your application from testing
https://developers.google.com/pay/api/test-and-deploy
Signing
https://developer.android.com/studio/publish/app-signing.html
Upvotes: 1
Reputation: 7973
Make sure You have added the metadata Tag..
<meta-data android:name="com.google.android.gms.wallet.api.enabled" android:value="true" />
In the android Manifest....
If this doesn't helps you...please consider posting the Logcat Logs...
Upvotes: 1