ReactNative Expo app wrongly listed details in Play Console
我已经上传了通过Expo内置的React Native应用。我已将权限设置为无:
1 2 3 4 5 6 7 8 | { "expo": { "android": { "permissions": [] ... other settings } ... other settings } |
而且我仅将其设置为纵向模式:
1 2 3 4 5 6 | { "expo": { "orientation":"portrait", ... other settings } } |
但是当我将应用程序捆绑包上传到PLayConsole时,它会列出具有15个权限的应用程序:
android.permission.ACCESS_NETWORK_STATE
android.permission.ACCESS_WIFI_STATE
android.permission.FOREGROUND_SERVICE android.permission.INTERNET
android.permission.MODIFY_AUDIO_SETTINGS
android.permission.RECEIVE_BOOT_COMPLETED
android.permission.REQUEST_INSTALL_PACKAGES android.permission.STORAGE
android.permission.SYSTEM_ALERT_WINDOW
android.permission.USE_BIOMETRIC android.permission.WAKE_LOCK
com.google.android.c2dm.permission.RECEIVE
com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE
com.sja.firstaid.permission.C2D_MESSAGE
host.exp.exponent.permission.C2D_MESSAGE
以及特征下的两个方向:
2 features: android.hardware.screen.landscape,
android.hardware.screen.portrait
我无法确定忽略这两个设置的原因。
注意:权限键似乎忽略了权限,而不是添加权限列表文档
独立应用在安装后将请求的其他权限列表,
以及Expo应用运行所需的最低要求。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | To use ALL permissions supported by Expo, do not specify the"permissions" key. To use ONLY the following minimum necessary permissions and none of the extras supported by Expo, set"permissions" to []. The minimum necessary permissions do not require a Privacy Policy when uploading to Google Play Store and are: a€¢ receive data from Internet a€¢ view network connections a€¢ full network access a€¢ change your audio settings a€¢ draw over other apps a€¢ prevent device from sleeping To use the minimum necessary permissions ALONG with certain additional permissions, specify those extras in"permissions", e.g. ["CAMERA","RECORD_AUDIO"] ExpoKit: to change the permissions your app requests, you'll need to edit AndroidManifest.xml manually. To prevent your app from requesting one of the permissions listed below, you'll need to explicitly add it to `AndroidManifest.xml` along with a `tools:node="remove"` tag. "permissions": [ "ACCESS_COARSE_LOCATION", "ACCESS_FINE_LOCATION", "CAMERA", "MANAGE_DOCUMENTS", "READ_CONTACTS", "READ_CALENDAR", "WRITE_CALENDAR", "READ_EXTERNAL_STORAGE", "READ_PHONE_STATE", "RECORD_AUDIO", "USE_FINGERPRINT", "VIBRATE", "WAKE_LOCK", "WRITE_EXTERNAL_STORAGE", "com.anddoes.launcher.permission.UPDATE_COUNT", "com.android.launcher.permission.INSTALL_SHORTCUT", "com.google.android.c2dm.permission.RECEIVE", "com.google.android.gms.permission.ACTIVITY_RECOGNITION", "com.google.android.providers.gsf.permission.READ_GSERVICES", "com.htc.launcher.permission.READ_SETTINGS", "com.htc.launcher.permission.UPDATE_SHORTCUT", "com.majeur.launcher.permission.UPDATE_BADGE", "com.sec.android.provider.badge.permission.READ", "com.sec.android.provider.badge.permission.WRITE", "com.sonyericsson.home.permission.BROADCAST_BADGE" ], |