Skip to content

Instantly share code, notes, and snippets.

@FandresenaJasmin
Forked from warlock/app.json
Created June 10, 2022 01:18
Show Gist options
  • Select an option

  • Save FandresenaJasmin/c23912753bba1d6431ed4efb0df662ad to your computer and use it in GitHub Desktop.

Select an option

Save FandresenaJasmin/c23912753bba1d6431ed4efb0df662ad to your computer and use it in GitHub Desktop.
App.json Expo Example Android And iOS permission examples
{
"expo": {
"name": "appname",
"slug": "appslug",
"privacy": "unlisted",
"sdkVersion": "32.0.0",
"platforms": [ "ios", "android" ],
"version": "2.0.36",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#FFFFFF"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [ "**/*" ],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "gl.js.app",
"infoPlist": {
"NSCameraUsageDescription": "This app uses the camera to let user put a photo in his profile page."
}
},
"android": {
"package": "gl.js.app",
"permissions": [ "CAMERA", "WRITE_EXTERNAL_STORAGE", "CAMERA_ROLL" ],
"versionCode": 36
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment