Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to call custom action intent? ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION #150

Open
carlosen14 opened this issue Dec 15, 2022 · 2 comments

Comments

@carlosen14
Copy link

No description provided.

@FrederickEngelhardt
Copy link

FrederickEngelhardt commented Mar 27, 2023

Hello, natively this could be accomplished by extending a generic intent request. Example code

    val uri: Uri = Uri.parse("package:" + "com.filemonexample")
    val fileManagerIntent = Intent("android.settings.MANAGE_APP_ALL_FILES_ACCESS_PERMISSION", uri)
    startActivity(reactApplicationContext, fileManagerIntent, null)

Side note:

react-native@0.71.4 is missing this feature. However for Linking.sendIntent there is a open discussion here related to that issue.

Until that issue is resolved, we may want a PR (and new version) for this library.

@FrederickEngelhardt
Copy link

#152 Should fix things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants