- 1
How to use storage in phone?
I'm creating a program where the user has to give permission to use the phone's storage. You need to do it through Javascript.
1 ответ
+ 2
You can't use device resources with JavaScript. You need native bindings for that. Develope the App with React Native, then you can use a Android/iOS compatible package for storage. Or platform specific ones.
And just to be clear, you can't give permission using any language. The user needs to grant the permission. Unless it's an exploit. You need to keep in mind the required user interactions.