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
gomobile version +ef84e05 Thu Sep 17 03:25:18 2015 +0000 (android);
android studio 1.4b4
Problem
Gobind plugin generated aar library have minSdk missing from the generated manifest.xml resulting in READ_PHONE_STATE permission inserted into apk build result even when this permission is not specified anywhere.
When android studio/gradle merges the aar libary manifest with app's manifest.xml, it will notice the golib aar library's minSdk is missing and assume some weird default settings and insert a READ_PHONE_STATE permission in the final merged manifest even when the app manifest doesn't use or specify this permission.
Env
gomobile version +ef84e05 Thu Sep 17 03:25:18 2015 +0000 (android);
android studio 1.4b4
Problem
Gobind plugin generated aar library have minSdk missing from the generated manifest.xml resulting in READ_PHONE_STATE permission inserted into apk build result even when this permission is not specified anywhere.
When android studio/gradle merges the aar libary manifest with app's manifest.xml, it will notice the golib aar library's minSdk is missing and assume some weird default settings and insert a READ_PHONE_STATE permission in the final merged manifest even when the app manifest doesn't use or specify this permission.
Fix
Line 162 of bind_androidapp.go
Should be as follows or similar with minSdk specified:
The text was updated successfully, but these errors were encountered: