Help with Android Permissions

About Monkey 2 Forums Monkey 2 Programming Help Help with Android Permissions

This topic contains 4 replies, has 3 voices, and was last updated by  Mark Sibly 3 months, 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #15683

    Nalle
    Participant

    Hello everyone at Monkey2 community!

    I’m having problem asking at run-time Android permissions.

    I’m testing this with the following code:

    When running the program from ADB, I get following lines:

    Some remarks:

    • I don’t see “Hello Wolrd from Request Permissions…”
    • DTS, ODTC are not allowed for Package : com.monkey2.monkey2game

    The problem is: The Android device doesn’t ask permissions to READ_EXTERNAL_STORAGE or WRITE_EXTERNAL_STORAGE.

    Please, someone experienced with these things, say something about the problem.

    #15686

    Nalle
    Participant

    I made some changes to \modules\std\permissions.monkey2 and now asking permission at run-time works like a charm…

    #15687

    DruggedBunny
    Participant

    I’d suggest opening an ‘issue’ on Github with the solution — it would help others and save you having to manually change it each time if accepted.

    #15688

    Nalle
    Participant

    I opened an issue on Github on the permissions. I attached the permissions.monkey2 as such I altered it.

    #15690

    Mark Sibly
    Keymaster

    Thank you, I will integrate this with the next binary release.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.