how to request permissions to a apk

Hello, I would like to know how to make the user be able to grant storage permissions to an app.

I searched for all kinds of information (Permission in unity, modify the AndroidManifest) but I couldn’t find it in any way.

When modifying the AndroidManifest it does appear to grant permission, but I have to do it manually from the phone/application settings.

But I want a way that the user inside the app should appear the typical permissions window.

Thank you :slight_smile:

creating the 2 scripts present here Unity - Manual: Requesting Permissions (changing the permissions you want obviously)

and adding in the AndroidManifest the following

everything works correctly