Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugFix - Android recording doesn't work the first time after granting… #265

Conversation

himanshuGandhiSimform
Copy link
Collaborator

fix - Android recording doesn't work the first time after granting permissions

Copy link
Collaborator

@ujas-m-simformsolutions ujas-m-simformsolutions left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also mention the issue this PR is solving so that after merging this PR, the issue can be automatically closed.

@@ -205,4 +208,8 @@ class AudioRecorder : PluginRegistry.RequestPermissionsResultListener {
else -> return MediaRecorder.OutputFormat.MPEG_4
}
}

fun interface RequestPermissionsSuccessCallback {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please put this in a utils file

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

@ujas-m-simformsolutions ujas-m-simformsolutions left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@himanshuGandhiSimform himanshuGandhiSimform merged commit d91c33e into main Mar 1, 2024
@himanshuGandhiSimform himanshuGandhiSimform deleted the fix/252_android_first_time_recording_not_working_when_permission_grant branch March 1, 2024 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Android recording doesn't work the first time after granting permissions
2 participants