Replies: 3 comments
-
I also have the same question. |
Beta Was this translation helpful? Give feedback.
-
I also want to push this question. |
Beta Was this translation helpful? Give feedback.
-
This is how I did it on my project based on tauri geolocation plugin. In my case, it requested READ_MEDIA_AUDIO permission. If you want to see my project codes, click here.
Oh well, that's a lot of code. Also, A lot of
I guess that's it folks. We can call it now in our Rust code. This is the example. (Idk how you get the AppHandle but I'm using the global method)
Note : I'm not sure how to call it directly via |
Beta Was this translation helpful? Give feedback.
-
Okay, so you've added the necessary permissions to your AndroidManifest.xml:
But on recent Android versions, this doesn't work, and you need to request permission at runtime. I couldn't find the answer in the Tauri documentation.
Beta Was this translation helpful? Give feedback.
All reactions