修改iOS相册添加权限说明
This commit is contained in:
parent
4b6121e15e
commit
016ff82fce
@ -27,9 +27,9 @@
|
|||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>NSPhotoLibraryAddUsageDescription</key>
|
<key>NSPhotoLibraryAddUsageDescription</key>
|
||||||
<string>To save wallpapers to gallery, we need this permission</string>
|
<string>We need access to your photo album so you can save wallpapers from the app to your album</string>
|
||||||
<key>NSPhotoLibraryUsageDescription</key>
|
<key>NSPhotoLibraryUsageDescription</key>
|
||||||
<string>To save wallpapers to gallery, we need this permission</string>
|
<string>We need access to your photo album so you can save wallpapers from the app to your album</string>
|
||||||
<key>UIApplicationSupportsIndirectInputEvents</key>
|
<key>UIApplicationSupportsIndirectInputEvents</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>UILaunchStoryboardName</key>
|
<key>UILaunchStoryboardName</key>
|
||||||
|
|||||||
@ -138,7 +138,7 @@ class PermissionUtil {
|
|||||||
}
|
}
|
||||||
String explain = '';
|
String explain = '';
|
||||||
if (failedPermission == Permission.storage || failedPermission == Permission.photosAddOnly) {
|
if (failedPermission == Permission.storage || failedPermission == Permission.photosAddOnly) {
|
||||||
explain = 'To save wallpapers to gallery, we need this permission';
|
explain = 'We need access to your photo album so you can save wallpapers from the app to your album';
|
||||||
}
|
}
|
||||||
return explain;
|
return explain;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user