Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having proguard enabled interferes with this library #50

Closed
mateogianolio opened this issue Feb 12, 2024 · 1 comment · Fixed by #58
Closed

Having proguard enabled interferes with this library #50

mateogianolio opened this issue Feb 12, 2024 · 1 comment · Fixed by #58
Labels

Comments

@mateogianolio
Copy link
Member

I'm not sure what proguard does, but it interferes with this library and causes error when creating a session (e.g. before scan wifi list).

@mateogianolio mateogianolio added help wanted Extra attention is needed android labels Feb 12, 2024
@mateogianolio
Copy link
Member Author

If someone still needs this, try with this:

-dontwarn com.espressif.provisioning.**
-dontwarn espressif.**
-keep class com.espressif.provisioning.** {*;}
-keepclassmembers class com.espressif.provisioning.** {*;}
-keep class espressif.** {*;}
-keepclassmembers class espressif.** {*;}
-keep interface com.espressif.provisioning.** {*;}
-keep interface espressif.** {*;}
-keep public enum com.espressif.provisioning.** {*;}
-keep public enum espressif.** {*;}

Originally posted by @astimac in espressif/esp-idf-provisioning-android#68 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant