wip
This commit is contained in:
parent
909c8c8b7d
commit
f878986edb
|
@ -6,7 +6,7 @@ index 7a28702..77888fc 100644
|
||||||
AsyncFunction("launchCameraAsync") Coroutine { options: ImagePickerOptions ->
|
AsyncFunction("launchCameraAsync") Coroutine { options: ImagePickerOptions ->
|
||||||
ensureTargetActivityIsAvailable(options)
|
ensureTargetActivityIsAvailable(options)
|
||||||
- ensureCameraPermissionsAreGranted()
|
- ensureCameraPermissionsAreGranted()
|
||||||
+ // ensureCameraPermissionsAreGranted() Expo permissions are a little different, in our case it's better to keep it ourselves.
|
+ // ensureCameraPermissionsAreGranted()
|
||||||
|
|
||||||
val mediaFile = createOutputFile(context.cacheDir, options.mediaTypes.toFileExtension())
|
val mediaFile = createOutputFile(context.cacheDir, options.mediaTypes.toFileExtension())
|
||||||
val uri = mediaFile.toContentUri(context)
|
val uri = mediaFile.toContentUri(context)
|
||||||
|
|
Loading…
Reference in New Issue