Describe the bug
Changes to build.gradle file in version 2.0.0 of this plugin cause extra permissions appear in Android app manifest on build when this package is installed. It's READ_PHONE_STATE and WRITE_EXTERNAL_STORAGE permissions. manifest-merger-debug-report.txt file says it's because this package has a targetSdkVersion < 4. I guess you need to specify targetSdkVersion in build.gradle of this package to fix this bug.
To Reproduce
Steps to reproduce the behavior:
Start with a Flutter app that does not require these permissions
Add this plugin v2.0.0 and build the app again
Now this app requests the aforementioned permissions. You can check it by opening app info on a device or by examining the final manifest file generated on build.
Expected behavior
No new permissions added to an app.
Describe the bug Changes to
build.gradle
file in version 2.0.0 of this plugin cause extra permissions appear in Android app manifest on build when this package is installed. It'sREAD_PHONE_STATE
andWRITE_EXTERNAL_STORAGE
permissions. manifest-merger-debug-report.txt file says it's because this package has a targetSdkVersion < 4. I guess you need to specifytargetSdkVersion
in build.gradle of this package to fix this bug.To Reproduce Steps to reproduce the behavior:
Expected behavior No new permissions added to an app.