0

Not sure, which piece of my code to publish here. My app requires microphone access to work. It asks for mic permission in the beginning. During testing, I gave permission but then went in to settings and revoked the permission.

Then I run the app and then switch to settings and turn mic access 'On' for my app, the app crashes.

Can anyone tell me what is invoked in the app when the access is granted, so I can fix it?

Kashif
  • 4,642
  • 7
  • 44
  • 97
  • 1
    The duplicate is about the Contacts permission but the issue applies to all of the various permission such as Photos, Microphone, etc. – rmaddy May 19 '15 at 15:54
  • 1
    There're certain permissions that cause the app to be *restarted* when changed. Camera, camera roll and microphone are one of them. Have a look at [App killed by SIGKILL when changing privacy settings](http://stackoverflow.com/q/12652502/593709) – Adil Soomro May 19 '15 at 15:54
  • Thanks guys, it seems the same issue as described in other questions you mentioned. – Kashif May 19 '15 at 16:00

0 Answers0