haroldadmin / Vector

Kotlin Coroutines based MVI architecture library for Android
https://haroldadmin.github.io/Vector/
Apache License 2.0
193 stars 9 forks source link

Add Proguard rules to keep entities accessed using Reflection #12

Closed haroldadmin closed 4 years ago

haroldadmin commented 4 years ago

Describe the bug ViewModel delegates and automatic view model creation using Reflection leads to crashes at runtime in release builds due to missing Proguard rules.

To Reproduce Build the sample app in release mode with a Proguard/R8 turned on. App crashes at startup Additional context Add any other context about the problem here.

haroldadmin commented 4 years ago

Apparently this is still causing crashes.