expo-image-picker
Version:
Provides access to the system's UI for selecting images and videos from the phone's library or taking a photo with the camera.
52 lines (47 loc) • 2.03 kB
text/xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<!-- Required for picking images from camera directly -->
<uses-permission android:name="android.permission.CAMERA" />
<!-- Required for picking images from camera roll -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
<application>
<service
android:name="com.google.android.gms.metadata.ModuleDependencies"
android:enabled="false"
android:exported="false"
tools:ignore="MissingClass">
<intent-filter>
<action android:name="com.google.android.gms.metadata.MODULE_DEPENDENCIES" />
</intent-filter>
<meta-data
android:name="photopicker_activity:0:required"
android:value="" />
</service>
<activity
android:name="expo.modules.imagepicker.ExpoCropImageActivity"
android:theme="@style/Base.Theme.AppCompat"
android:exported="false"
tools:replace="android:exported" />
<!-- https://developer.android.com/guide/topics/manifest/provider-element.html -->
<provider
android:name=".fileprovider.ImagePickerFileProvider"
android:authorities="${applicationId}.ImagePickerFileProvider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/image_picker_provider_paths" />
</provider>
</application>
<queries>
<intent>
<!-- Required for picking images from the camera roll if targeting API 30 -->
<action android:name="android.media.action.IMAGE_CAPTURE" />
</intent>
<intent>
<!-- Required for picking images from the camera if targeting API 30 -->
<action android:name="android.media.action.ACTION_VIDEO_CAPTURE" />
</intent>
</queries>
</manifest>