add info to patch

This commit is contained in:
Gleidson Daniel 2022-09-15 11:00:43 -03:00
parent 9d39524fe7
commit 909c8c8b7d
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()
+ // ensureCameraPermissionsAreGranted() Expo permissions are a little different, in our case it's better to keep it ourselves.
val mediaFile = createOutputFile(context.cacheDir, options.mediaTypes.toFileExtension())
val uri = mediaFile.toContentUri(context)