Skip to content

Commit

Permalink
Merge pull request #4 from raksahb/patch-3
Browse files Browse the repository at this point in the history
Added queries entry to AndroidManifest.xml
  • Loading branch information
ryancrosby authored Oct 12, 2020
2 parents 706b53b + d009075 commit 4fee0d5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.imagepicker"
>
<!-- required for Android 11 privacy-visibility update -->
<!-- https://developer.android.com/about/versions/11/privacy/package-visibility -->
<queries>
<package android:name="${applicationId}"/>
<intent>
<action android:name="android.media.action.IMAGE_CAPTURE" />
</intent>
<intent>
<action android:name="android.intent.action.PICK" />
<data android:mimeType="image/*" />
</intent>
<intent>
<action android:name="android.intent.action.PICK" />
<data android:mimeType="video/*" />
</intent>
</queries>

<application>
<provider
android:name="com.imagepicker.FileProvider"
Expand Down

0 comments on commit 4fee0d5

Please sign in to comment.