audio_recorder icon indicating copy to clipboard operation
audio_recorder copied to clipboard

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

Open remoteportal opened this issue 4 years ago • 2 comments

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 avatar Oct 29 '19 11:10 remoteportal

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 avatar Oct 29 '19 13:10 remoteportal

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.

sgehrman avatar Nov 27 '19 23:11 sgehrman