GameMaker (2.3)
Icon

Android Permissions Extension

RizbIT

You must be logged in to obtain assets

Description

Starting in Android 6.0 (API level 23), Google introduced a new permissions model in which apps are required to request permissions from the user at runtime, rather than when the app is installed. This means that when an app needs to access a protected resource or data on the device, it must display a dialog to the user asking for their permission to do so. The user can then grant or deny the permission as they see fit.

Using this simple to use extension you can check and request any permitted permission for the app. Note permission requests can only be denied twice after this the request dialog will not show and users have to manually set the permission on their device.

The extension has two functions:

Android_CheckPermission(PERMISSION); Android_RequestPermission(PERMISSION);

Async Social Event:

Android_RequestPermission(PERMISSION) will return: type [STRING] - "android-permission" permission [STRING] - the full permission such as "android.permission.POST_NOTIFICATIONS" allowed [INT] - 0 for user denied, 1 for user allowed and -1 for error

See the Project for usage help...

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2.3 - Version 1.2.0. Published December 27, 2022

bug fix

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait