Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Create consumer proguard rules #18

Closed
@almozavr

Description

@almozavr

Issue

By default sqlcipher-android doesn't support Proguard, so andorid's R8 rips out valuable information, e.g.

 no "Ljava/lang/String;" field "name" in class "Lnet/zetetic/database/sqlcipher/SQLiteCustomFunction;" or its superclasses

Solution

Add consumer-rules.pro to the project, so it's included in aar.

P.S.
Currently we use this, but probably it's an overkill

-keep,includedescriptorclasses class net.zetetic.database.** { *; }
-keep,includedescriptorclasses interface net.zetetic.database.** { *; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions