You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this library for creating Uri links that other apps can use to access shared files in Android. However, in my case I need to grant and revoke permissions for that Uri, so that the other app can access it. As I have not found other libraries implementing this, I am attaching the suggested modifications to implement the grantUriPermission() and revokeUriPermission() methods.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
[email protected]
for the project I'm working on.I am using this library for creating Uri links that other apps can use to access shared files in Android. However, in my case I need to grant and revoke permissions for that Uri, so that the other app can access it. As I have not found other libraries implementing this, I am attaching the suggested modifications to implement the grantUriPermission() and revokeUriPermission() methods.
More info here:
https://developer.android.com/reference/android/content/Context#grantUriPermission(java.lang.String,%20android.net.Uri,%20int)
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: