NSCameraUsageDescription doesn't work on Expo Application

Viewed 1056

I want to change my APP'S camera permission message tho, I couldn't do it. I added the infoPlist on the app.json like the below photo.

enter image description here

Do you know why it doesn't work? Now, apple rejected my app because the camera permission message is too obscure.

[Expo info] sdkVersion: 36.0.0 version: 1.0.3

2 Answers

I resolved this problem. Although It didn't reflect on Expo, After cleaning and rebuilding, it works.

The clean command is below.

watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && rm -f package-lock.json && rm -f yarn.lock && npm cache verify && npm install

Execute expo prebuild to modify the ./ios and ./android files to reflect the changes you make to your app.json file.

Related