Upgrade from an older version to the most recent version
Try to do a release build
Compilation fails with:
ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in (app module location)/build/outputs/mapping/devRelease/missing_rules.txt.
Describe the bug The app will not compile due to missing ProGuard rules. It's an issue since the migration of SQLCipher: https://github.com/rudderlabs/rudder-sdk-android/pull/419
To Reproduce Steps to reproduce the behaviour:
Compilation fails with:
The
missing_rules.txt
contains:The consumer ProGuard rules still has the old packages of these classes and needs to be updated: https://github.com/rudderlabs/rudder-sdk-android/blob/develop/core/proguard-consumer-rules.pro
Expected behavior The app should compile without any changes necessary, as the library should deal with this on its own.
Version of the Android SDK Upgrading from v1.21.2 to v1.23.0
SDK initialisation snippet
Check for Correct Usage of writeKey and dataPlaneUrl Yes, everything is correct and unchanged since we integrated v1.21.2 on our side.