Add PickerLauncher wrapper for media/file pickers. (#361)
* Add `PickerLauncher` wrapper for media/file pickers. * Add FileProvider path, handle Camera picker and add NoOp implementation to fix tests. * Move media pickers to their own module. * Add missing media pickers * Add feature flag and some extra tests
This commit is contained in:
parent
78a715ce8d
commit
eeca1c9ee3
16 changed files with 483 additions and 51 deletions
|
|
@ -28,6 +28,16 @@
|
|||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.ElementX"
|
||||
tools:targetApi="33">
|
||||
|
||||
<provider
|
||||
android:authorities="${applicationId}.fileprovider"
|
||||
android:name="androidx.core.content.FileProvider"
|
||||
android:grantUriPermissions="true"
|
||||
android:exported="false">
|
||||
<meta-data android:name="android.support.FILE_PROVIDER_PATHS"
|
||||
android:resource="@xml/file_providers" />
|
||||
</provider>
|
||||
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|uiMode"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue