Created
June 20, 2019 13:25
-
-
Save warlock/5db76a64d56d4254c280344e40b77337 to your computer and use it in GitHub Desktop.
App.json Expo Example Android And iOS permission examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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