Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Não funciona com minifyEnabled true #12

Open
afazolo opened this issue Feb 19, 2020 · 1 comment
Open

Não funciona com minifyEnabled true #12

afazolo opened this issue Feb 19, 2020 · 1 comment

Comments

@afazolo
Copy link

afazolo commented Feb 19, 2020

Quando se habilita o minify no gradle a criptografia não funciona:

Stacktrace:
java.security.NoSuchAlgorithmException: Provider SC does not provide RSA/NONE/PKCS1Padding

Para resolver inclua a seguinte regra no proguard:
-keep class org.spongycastle.** { *; }

@Renascienza
Copy link

Quando se habilita o minify no gradle a criptografia não funciona:

Stacktrace:
java.security.NoSuchAlgorithmException: Provider SC does not provide RSA/NONE/PKCS1Padding

Para resolver inclua a seguinte regra no proguard:
-keep class org.spongycastle.** { *; }

Obrigado! :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants