audio_recorder
audio_recorder copied to clipboard
Change wording "You must accept permissions" to "enable permissions for microphone and storage in phone settings"
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.
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);
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.