-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
Using onActivityResult for permission response in a fragment, but now it's deprecated.
Trying to using
registerForActivityResult<Intent, ActivityResult>( ActivityResultContracts.StartActivityForResult() ) { result -> if (result.resultCode == Activity.RESULT_OK) { } }
but it does not give requestCode to identify Picker.PICK_IMAGE_DEVICE or Picker.PICK_IMAGE_CAMERA
if you could have added extra while doing startActivityForResult then it would help to identify them
Metadata
Metadata
Assignees
Labels
No labels