Forum Discussion

Archana_72's avatar
Archana_72
Contributor
7 years ago

Device disconnects when access permission message is displayed

Hi,

 

In our tested app, there is a important functionality for using camera.

 

On opening the camera screen (from the app), message pops up as '<app name> wouls like to access the Camera' with Don't Allow and Ok options. After saying Ok one more message pops up as '<app name> wouls like to access the Microphone' with Don't Allow and Ok Options.

 

How can I tackle this via script?

 

Is there any option set the camera access via Script (Similar to GPS or sensors)?

5 Replies

  • YuriPeshekhonov's avatar
    YuriPeshekhonov
    SmartBear Alumni (Retired)

    Hi,

     

    Such permissions should be set only one time. So, you can click the "Allow" button once manually, and then this dialog will not appear anymore. 

    • Archana_72's avatar
      Archana_72
      Contributor

      Hi,

       

      I agree that this is one time action after installation.

       

      But we have a test scenarios where we need to uninstall and install the app in between.

    • Archana_72's avatar
      Archana_72
      Contributor

      Alex,

       

      Thank you for the reply. But I have this problem with iOS.