This commit is contained in:
Gleidson Daniel 2022-09-15 11:06:17 -03:00
parent 909c8c8b7d
commit f878986edb
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ index 7a28702..77888fc 100644
AsyncFunction("launchCameraAsync") Coroutine { options: ImagePickerOptions ->
ensureTargetActivityIsAvailable(options)
- 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 uri = mediaFile.toContentUri(context)