x/mobile: Permissions are needed in AndroidManifest.xml file #13342
Labels
Milestone
Comments
I proposed the idea of automatically adding The same rationale applies to the os package. Maybe it is easier to mark storage related functions in the scope of os. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Many native Golang features are not usable without specifying permissions in AndroidManifest.xml. Suggest to put permissions by the time each package is imported, for example:
add the following permission when package "os" is imported:
< uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" / >
and add the following permission when package "net" is imported:
< uses-permission android:name="android.permission.INTERNET" / >
The text was updated successfully, but these errors were encountered: