Hello,
This is my first expo app. It is a very simple app, that is basically a wrapper to a website www.socratease.in alongwith Expo Push Notifications. When a user opens the app, a webview to a Google login page on my site gets rendered. The Expo push token is appended as a query parameter, and I can then associate my users with expo push tokens. The app works exactly as desired.
I did expo build:android
and then uploaded the apk to the Play Store. I received an email from Google Play Support saying:
Hi Developers at Socratease,
We detected that at least one APK version in your recent upload isn’t using Android Pay correctly. Including APK version(s) Apk 1 in your submission could cause your app to be rejected for violating our Payments policy.
If you’d like to use Android Pay in your app, please follow these steps :
- Remove any digital content from your app. To use Android Pay, your app must only sell physical goods or services.
- Make sure your app is compliant with all policies listed in the[ Developer Program Policies]. Remember that additional enforcement could occur if there are further policy issues with your apps.
- [Sign in to your Play Console] and submit the app. Make sure to increment the version number of the APK.
If you’d like to use another payment method in your app, please follow these steps to remove Android Pay from your manifest :
- Remove <meta-data android:name=“com.google.android.gms.wallet.api.enabled” android:value=“true”/> from your manifest.
- Sign in to your Play Console and submit the app. Make sure to increment the version number of the APK.
I am not using Android Pay anywhere. Currently, there is no payment integrated, even on the website. When I was uploading the app onto the Play Store, I did choose the app as Free in the Pricing and Distribution.
These are my import statements in App.js:
import React from 'react';
import { AppState, Platform, ImageBackground } from 'react-native';
import WebViewWrapper from './src/components/WebViewWrapper';
import { Permissions, Notifications, SplashScreen } from 'expo';
These are my import statements in WebViewWrapper.js:
import React, { Component } from 'react';
import { WebView } from 'react-native';
These are my only two .js files. The only require
statement is one where I am importing a .png file. I could post more of the code, if required. But, because this seems to be about packages, I thought this would be sufficient.
I did file an appeal on Google’s systems requesting for a re-instatement. But, they basically said that they will get back only if they need further information. If they think the information they have already shared with me is sufficient, they may not even respond to me.
On my Expo dashboard, in the build logs, I saw the following entry:
Reading program jar [/root/.gradle/caches/transforms-1/files-1.1/play-services-wallet-15.0.1.aar/b7f2af71b2eb635d02605bcf8c98cf3a/jars/classes.jar] (filtered)
Any idea how to disable payments from the app?
With regards,