Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/mobile: Permissions are needed in AndroidManifest.xml file #13342
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:
and add the following permission when package "net" is imported:
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.