Remove allowBackup in application tag

Pre condition, Condition to reproduce

Consume Line SDK 5.4.1 to 5.8.0. They declare allowBackup as false in AndroidManifest.

Issue/ Error Message details

I believe the consumer should declare this, not the library. If an application have allow backup set to true, they need to use tools:replace tag to override the value from this library.

This is somehow acceptable.

However, if there is another library which set the flag to true, the overriding of the consumer result in an error during lint. For example, here is my stacktrace

Attribute application@allowBackup value=(false) from [com.linecorp.linesdk:linesdk:5.8.0] AndroidManifest.xml:22:9-36 is also present at <...> AndroidManifest.xml:20:9-35 value=(true).

Accompanying respective source code

Resolution Tried

Reference information (Version / Platform/ environment)

  • 0
  • 0
  • 531
  • X(旧Twitter) facebook
本当によろしいですか? question.vm