Skip to content

manifest: android:allowBackup = "true" causes some trouble. #4

Description

@RunYouCleverBoy

Hi.
I have been using your very cool library, and it has been doing great, but lately, for security reasons, I needed to turn auto backup off from the manifest.
Unfortunately, when changing to android:allowBackup="false" I get the following error:

Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:78:9-36
is also present at [com.bcgdv.asia.lib:connectpattern:0.3] AndroidManifest.xml:12:9-35 value=(true).
Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManifest.xml:76:5-353:19 to override.

Is it possible to remove the allowBackup flag from the manifest of the library?

Note: actually, tools:replace="android:allowBackup" in the application block solves the issue, but it's less pretty.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions