Reputation: 1197
What I would like: I want to be able to publish an APK file to the Play Store that has zero permissions, because my app does not require any.
What I'm experiencing
When running the expo command exp publish
I'm getting the following warning/issue
[exp] Making sure project is set up correctly...
[exp] Warning: Problem in app.json. See https://docs.expo.io/versions/v19.0.0/guides/configuration.html.
[exp] - additional property "permission" exists in app.json when not allowed.
Extra details Expo has released version 19 of their SDK which has the ability to set permissions for android. see docs link
There is no details on how to set no permissions, and the docs say the default will be applied when the permissions is not set in app.json without describing what those defaults are.
My config looks like this:
{
"expo": {
"name": "test-publish",
"description": "An empty new project",
"slug": "test-publish",
"privacy": "public",
"sdkVersion": "19.0.0",
"version": "1.0.0",
"orientation": "portrait",
"primaryColor": "#cccccc",
"icon": "./assets/icons/app-icon.png",
"loading": {
"icon": "./assets/icons/loading-icon.png",
"hideExponentText": false
},
"packagerOpts": {
"assetExts": ["ttf", "mp4"]
},
"ios": {
"supportsTablet": true
},
"android": {
"permission": []
}
}
}
Upvotes: 1
Views: 3998