-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
Describe the bug
Release 3.0.0 added android:allowBackup=true back to the AndroidManifest.xml
Because of this app developers have to use tools:replace="android:allowBackup" as a workaround.
In general libraries are not supposed to declare this specific flag (unless there is some special use for it? Maybe?)
To reproduce
- Create an Android app with Android Studio default layout
- Add
allowBackup=falseintoapplicationwithinAndroidManifest.xml - Add
implementation 'com.launchdarkly:launchdarkly-android-client-sdk:3.1.0'to theapp/build.gradle - Get a build error:
Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:29:9-36
is also present at [com.launchdarkly:launchdarkly-android-client-sdk:3.1.0] AndroidManifest.xml:13:9-35 value=(true).
Suggestion: add 'tools:replace="android:allowBackup"' to <application> element at AndroidManifest.xml:21:5-103:19 to override.
Expected behavior
Adding implementation 'com.launchdarkly:launchdarkly-android-client-sdk:3.1.0' shouldn't cause build error due to allowBackup conflict
Language version, developer tools
AndroidStudio 4.1.3
OS/platform
OS X, but should be any
Metadata
Metadata
Assignees
Labels
No labels