I have updated this multiple times and in the simulator it woks but when I deploy it to the store it still doesn’t work. Never even asks for permission. Is there something wrong in my app.json
?
app.json
{
"expo": {
"name": "appname",
"slug": "appname",
"privacy": "unlisted",
"platforms": [
"ios",
"android"
],
"version": "1.0.5",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"bundleIdentifier": "com.appname.appname",
"buildNumber": "0.0.6",
"infoPlist": {
"VIBRATION": "vibrates the phone when the count down timer gets closer to zero notifying the user.",
"CAMERA": "This app uses the camera so the users can take pictures of themselves."
}
},
"android": {
"package": "com.appname.appname",
"versionCode": 11,
"permissions":["VIBRATION, CAMERA"]
}
}
}
package.json
{
"scripts": {
"start": "react-native start",
"android": "react-native run-android",
"ios": "react-native run-ios",
"web": "expo start --web"
},
"dependencies": {
"@expo/ngrok": "^2.4.3",
"@expo/webpack-config": "~0.12.63",
"@react-native-async-storage/async-storage": "~1.15.0",
"@react-native-community/masked-view": "0.1.10",
"@react-navigation/compat": "^5.3.15",
"@react-navigation/native": "^5.9.4",
"@react-navigation/stack": "^5.14.5",
"@reduxjs/toolkit": "^1.5.1",
"axios": "^0.21.1",
"debounce": "^1.2.1",
"electron": "^12.0.9",
"expo": "^42.0.0",
"expo-app-loading": "^1.0.3",
"expo-asset": "~8.3.3",
"expo-av": "~9.2.3",
"expo-camera": "~11.2.1",
"expo-cli": "^4.4.8",
"expo-face-detector": "~10.1.1",
"expo-font": "~9.2.1",
"expo-image-manipulator": "~9.2.2",
"expo-image-picker": "~10.2.2",
"expo-media-library": "~12.1.2",
"expo-random": "~11.2.0",
"expo-redux-logger": "^2.0.0",
"expo-splash-screen": "~0.11.2",
"expo-updates": "~0.8.0",
"firebase": "8.2.3",
"interval-timer": "^1.1.2",
"moment": "^2.29.1",
"native-base": "^2.15.2",
"prop-types": "^15.7.2",
"react": "16.13.1",
"react-devtools": "^4.13.4",
"react-dom": "16.13.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz",
"react-native-background-timer": "^2.4.1",
"react-native-gesture-handler": "~1.10.2",
"react-native-keyboard-aware-scroll-view": "^0.9.4",
"react-native-modal": "^11.10.0",
"react-native-netinfo": "^1.1.0",
"react-native-popup-menu": "^0.15.10",
"react-native-root-toast": "^3.2.1",
"react-native-safe-area-context": "3.2.0",
"react-native-screens": "~3.4.0",
"react-native-svg": "12.1.1",
"react-native-vector-icons": "^8.1.0",
"react-native-video": "^5.1.1",
"react-native-webview": "11.6.2",
"react-native-web": "0.17.1",
"react-native-youtube-iframe": "^2.1.0",
"react-navigation": "^4.4.4",
"react-navigation-drawer": "^2.7.1",
"react-navigation-hooks": "^1.1.0",
"react-navigation-stack": "^2.10.4",
"react-navigation-tabs": "^2.11.1",
"react-redux": "^7.2.4",
"redux": "^4.1.0",
"redux-devtools-extension": "^2.13.9",
"redux-persist": "^6.0.0",
"redux-saga": "^1.1.3",
"redux-thunk": "^2.3.0",
"sharp": "^0.28.2",
"sharp-cli": "^1.15.0",
"styled-components": "^5.3.0",
"styled-system": "^5.1.5",
"unimodules-permissions-interface": "^6.1.0",
"react-native-reanimated": "~1.2.0"
},
"devDependencies": {
"@babel/core": "~7.9.0",
"@babel/runtime": "^7.14.0",
"@react-native-community/eslint-config": "^2.0.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"babel-preset-expo": "8.3.0",
"eslint": "^7.27.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.23.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-only-warn": "^1.0.2",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.23.2",
"install-peers": "^1.0.3",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.66.0",
"prettier": "^2.3.0",
"react-native-bundle-visualizer": "^2.2.1"
},
"jest": {
"preset": "react-native"
},
"private": true
}