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
The dependencies managed by kproject, internal, external, or just ./deps result in the addition of Android permissions READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE, and most noteworthy READ_PHONE_STATE
This is caused by the dependencies' build.gradle files not specifying any Android SDK versions and so, there will be intermediate AndroidManifest.xml files generated for the deps, that contain
While the final manifest actually specifies sensible SDK versions, this intermediate version 1 leads to:
uses-permission#android.permission.WRITE_EXTERNAL_STORAGE
IMPLIED from [...]/build/AndroidManifest.xml:2:1-32:12 reason: hello.deps has a targetSdkVersion < 4
uses-permission#android.permission.READ_PHONE_STATE
IMPLIED from [...]/build/AndroidManifest.xml:2:1-32:12 reason: hello.deps has a targetSdkVersion < 4
uses-permission#android.permission.READ_EXTERNAL_STORAGE
IMPLIED from [...]/build/AndroidManifest.xml:2:1-32:12 reason: hello.deps requested WRITE_EXTERNAL_STORAGE
Especially READ_PHONE_STATE is not something I want the app to request.
The text was updated successfully, but these errors were encountered:
Spotted on all korGE projects I've tried so far:
The dependencies managed by kproject, internal, external, or just
./deps
result in the addition of Android permissionsREAD_EXTERNAL_STORAGE
,WRITE_EXTERNAL_STORAGE
, and most noteworthyREAD_PHONE_STATE
This is caused by the dependencies' build.gradle files not specifying any Android SDK versions and so, there will be intermediate AndroidManifest.xml files generated for the deps, that contain
While the final manifest actually specifies sensible SDK versions, this intermediate version 1 leads to:
Especially READ_PHONE_STATE is not something I want the app to request.
The text was updated successfully, but these errors were encountered: