Skip to content

Commit

Permalink
Merge pull request #140 from natsuk4ze/update-ios-permission-description
Browse files Browse the repository at this point in the history
Update ios permission description
  • Loading branch information
natsuk4ze authored Sep 5, 2023
2 parents 0220f77 + 61efc1a commit 10d31f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Add the following key to your _Info.plist_ file, located in
`<project root>/ios/Runner/Info.plist`:

* `<key>NSPhotoLibraryAddUsageDescription</key>` Required
* `<key>NSPhotoLibraryUsageDescription</key>` Required for saving to album
* `<key>NSPhotoLibraryUsageDescription</key>` Required for ios < 14 or saving to album

you can copy from [Info.plist in example](https://github.com/natsuk4ze/gal/blob/main/example/ios/Runner/Info.plist).

Expand All @@ -52,7 +52,7 @@ Add the following key to your _AndroidManifest_ file, located in
`<project root>/android/app/src/main/AndroidManifest.xml`:

* `<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="29" />` Required for supporting API <= 29
android:maxSdkVersion="29" />` Required for API <= 29
* `android:requestLegacyExternalStorage="true"` Required for saving to album in API 29

you can copy from [AndroidManifest.xml in example](https://github.com/natsuk4ze/gal/blob/main/example/android/app/src/main/AndroidManifest.xml).
Expand Down
4 changes: 2 additions & 2 deletions example/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<string>We need add only access to save medias</string>
<!-- gal: Required -->

<!-- gal: Required for saving to album -->
<!-- gal: Required for ios < 14 or saving to album -->
<key>NSPhotoLibraryUsageDescription</key>
<string>We need access to save medias</string>
<!-- gal: Required for saving to album -->
<!-- gal: Required for ios < 14 or saving to album -->

<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
Expand Down

0 comments on commit 10d31f4

Please sign in to comment.