Skip to content

Commit

Permalink
Merge pull request prscX#24 from d2luu/master
Browse files Browse the repository at this point in the history
IOS: Add permission to save image on ios 10 or later
  • Loading branch information
prscX committed Nov 12, 2018
2 parents fbe219a + fa5100a commit 508b04c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Example/ios/Example/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
</dict>
<key>NSLocationWhenInUseUsageDescription</key>
<string></string>
<key>NSPhotoLibraryUsageDescription</key>
<string>iOS 10 needs permission to write photos...</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>Our application needs permission to write photos...</string>
<key>UILaunchStoryboardName</key>
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ android {
```
<key>NSPhotoLibraryAddUsageDescription</key>
<string>Application needs permission to write photos...</string>
<!-- If you are targeting devices running on iOS 10 or later, you'll also need to add: -->
<key>NSPhotoLibraryUsageDescription</key>
<string>iOS 10 needs permission to write photos...</string>
```

* Now build your iOS app through Xcode
Expand Down

0 comments on commit 508b04c

Please sign in to comment.