Search Unity

Unity Android Permissions accept/reject events and callback problems

Discussion in 'Unity Hub' started by clueduppstephen, Sep 5, 2019.

  1. clueduppstephen

    clueduppstephen

    Joined:
    Aug 6, 2019
    Posts:
    1
    I have a scenario where I require two permissions to be granted for a workflow where a picture is taken and then saved to local storage.

    As of Android V6 this should be done at the time they are required, but my problem with Unity's permission requests are that they don't appear to have any way to attach a listener to monitor the user's selection, or a way to request multiple permissions in one go.

    I do not want to poll permission changes in Update, simply because the user may never grant them which could hang my workflow, and I don't like the idea of using application focus as a trigger, as there may be cases where this is triggered by other unknown processes.

    Anyone got a solution that is not a paid for plugin?