Search Unity

Not showing 2 Android permission requests after another

Discussion in 'Android' started by svarmony, Jun 26, 2019.

  1. svarmony

    svarmony

    Joined:
    Jan 23, 2015
    Posts:
    11
    Hi guys,
    I have a problem with permission requests in Android. I am working with Unity 2019.1.8f1.


    Goal:
    App should be asking for 2 permissions one after another (Camera, Bluetooth) when a certain screen is opened.

    Current Status:
    Right now it’s asking only for the camera permission at the first launch – Bluetooth keeps disabled and wasn’t asked. At the second launch it shows the permission request for Bluetooth.

    I've attached the android manifest file as well as the functions for showing the permission requests. Any help is appreciated :) Thanks!
    Picture1.png Screenshot 2019-06-26 at 12.22.11.png