SDK FCCC/SBI/2008/2。
平台:安乐
当我在博览会项目中拍摄照片时,我不断获得这一模式窗口:
这一窗户每当我拍摄照片时都会展示,并在册子中保存。
我怎么能够摆脱这种状况? 之所以出现这种情况,是因为我没有具体说明一些许可?
这里是我的话。
{
"expo": {
"name": "myapp",
"slug": "myapp",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"scheme": "myapp",
"userInterfaceStyle": "automatic",
"splash": {
"image": "./assets/images/adaptive.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": true,
"infoPlist": {
"NSPhotoLibraryUsageDescription": "Allow $(PRODUCT_NAME) to access your photos.",
"NSPhotoLibraryAddUsageDescription": "Allow $(PRODUCT_NAME) to save photos.",
"NSCameraUsageDescription": "Allow $(PRODUCT_NAME) to use camera."
}
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/images/adaptive.png",
"backgroundColor": "#ffffff"
},
"permissions": [
"android.permission.READ_EXTERNAL_STORAGE",
"android.permission.WRITE_EXTERNAL_STORAGE",
"android.permission.CAMERA",
"android.permission.ACCESS_MEDIA_LOCATION",
"true"
],
"package": "com.example"
}
}
}