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

I'm doing thisI did like this its start recording in the android 13 but i did not get path of recorded file could you tell way to get path and need to play of the recorded file #552

Open
abduldeveloper opened this issue Sep 18, 2023 · 0 comments

Comments

@abduldeveloper
Copy link

          I'm doing this
export const atLeastAndroid13 = (): boolean => {
  return Platform.OS === 'android' && Platform.Version >= 33;
};

 const permissions = atLeastAndroid13()
          ? [PERMISSIONS.ANDROID.RECORD_AUDIO]
          : [
              PERMISSIONS.ANDROID.RECORD_AUDIO,
              PERMISSIONS.ANDROID.WRITE_EXTERNAL_STORAGE,
              PERMISSIONS.ANDROID.READ_EXTERNAL_STORAGE,
            ];

 const res = await checkMultiple(permissions);

Originally posted by @MorganTrudeau in #548 (comment)

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

No branches or pull requests

1 participant