Skip to content

Commit

Permalink
Add NSPhotoLibraryAddUsageDescription permission for iOS11
Browse files Browse the repository at this point in the history
  • Loading branch information
george-xu-hs committed Oct 30, 2017
1 parent 5f38a29 commit ed597d8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
<string></string>
</config-file>

<!-- iOS 11 added new permission for photo access -->
<config-file target="*-Info.plist" parent="NSPhotoLibraryAddUsageDescription">
<string></string>
</config-file>

<header-file src="src/ios/CDVInstagramPlugin.h" target-dir="CDVInstagramPlugin" />
<source-file src="src/ios/CDVInstagramPlugin.m" target-dir="CDVInstagramPlugin" />
</platform>
Expand Down

0 comments on commit ed597d8

Please sign in to comment.