naXa777 / SoundRecorder

A simple sound recording Android app implementing Material Design
https://naxa777.github.io/SoundRecorder/
GNU General Public License v3.0
36 stars 43 forks source link

Enhancement: When permissions are denied initially, nothing happens on the mic-icon click #77

Open kavitamp opened 2 years ago

kavitamp commented 2 years ago

Issue:

When permissions are denied initially, nothing happens on the mic-icon click

Expected behavior:

When permissions are denied initially Open app settings for permissions on the mic-icon click and display a toast with a relevant message.

Description and steps:

When permissions are denied initially, the app should convey a proper message mentioning the reason for not starting the recording and redirect the user to the settings page to enable the permission Steps:

  1. Open app after installation and click on the mic-icon
  2. Deny both storage and microphone access permission
  3. Again click on the mic-icon, nothing happens

Issue recording:

https://user-images.githubusercontent.com/20037228/196821370-e933ac69-733b-4c02-a325-91e3f8be6243.mp4

kavitamp commented 2 years ago

Hi @naXa777 , I have fixed this issue in PR(https://github.com/naXa777/SoundRecorder/pull/76) please take a look. Thanks!