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

Change wording "You must accept permissions" to "enable permissions for microphone and storage in phone settings" #42

Open
remoteportal opened this issue Oct 29, 2019 · 2 comments

Comments

@remoteportal
Copy link

remoteportal commented Oct 29, 2019

Added these to four files but can't get past SnackBar message:

<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

Android Studio for Flutter.

@remoteportal
Copy link
Author

I know realized you can go into the emulator settings app and enable mic and storage.

I guess I got confused by the wording of your statement which implies a pop-up message will challenge you from code like this:

reg.activity().requestPermissions(new String[]{
            Manifest.permission.RECORD_AUDIO,
            Manifest.permission.WRITE_EXTERNAL_STORAGE,
        }, 0);

@remoteportal remoteportal changed the title "You must accept permissions" even though added to all four AndroidManifest.xml files Change wording "You must accept permissions" to "enable microphone and storage in phone settings" Oct 29, 2019
@remoteportal remoteportal changed the title Change wording "You must accept permissions" to "enable microphone and storage in phone settings" Change wording "You must accept permissions" to "enable permissions for microphone and storage in phone settings" Oct 29, 2019
@sgehrman
Copy link

same issue. I don't get a popup asking for audio permissions.

I can't find the setting to allow audio, but another sample I ran worked as expected.

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

2 participants