godotengine / godotengine/godot-docs

Add page about Android permission handling

Open
#10,100 0 comments 0 reactions 0 assignees View on GitHub
area:manual content:new page enhancement platform:android
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

## Your Godot version

4.3

## Issue description

in Android, apps have no permissions when first installed, so they have to be enabled first.

every good app
- explains why the app needs certain permissions, so the user knows if they wants to enable that permission
- does not force the user to enable permissions the app needs only for secondary and tertiary features the user does not use

rather than frontliading all permission prompts and refusing to run if even an optional permission is disabled.

to effectively do this, i need methods like these:
- check if a certain permission is enabled
- prompt the user to enable a certain permission

maybe i need more methods i don't suspect, and there may be gotchas i need to know about when designing my permission handling.
this is why i want a documentation page dedicated to all i need to know about Android permission handling.

to understand it, i need this info to be surfaded as a permission handling guide in the documentation, not buried in the class reference

## URL to the documentation page (if already existing)

na

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.