vladd-g
vladd-g
> Yes it works now. So I can remove ui module and should add -keep class com.adapty.** { *; } rule to proguard. And should leave full mode disabled right?...
@SergiOnGit please try adding `-dontwarn com.adapty.ui.**` to the proguard rules
> But only after I removed -keep class com.adapty.** { *; } What was the error before you removed it? > Should I expect errors on some stage with disabled...
> This two rule together > > `-keep class com.adapty.** { *; } -dontwarn com.adapty.ui.**` > > Works when I removed android.enableR8.fullMode=false What error did you see before removing `android.enableR8.fullMode=false`?
Could you please try adding [these rules](https://r8.googlesource.com/r8/+/refs/heads/main/compatibility-faq.md#troubleshooting-gson-gson)? (If they are not sufficient for correct functioning, also add [these](https://github.com/google/gson/blob/main/gson/src/main/resources/META-INF/proguard/gson.pro))
@SergiOnGit, so now everything works fine?
hi @fioresat, thank you! we're taking a look
@stevennhnk113 thank you for the report! Could you please try [this solution](https://github.com/adaptyteam/AdaptySDK-React-Native/issues/80#issuecomment-1694675411)? Also it looks similar to [this issue](https://github.com/adaptyteam/AdaptyUI-React-Native/issues/8)
@stevennhnk113 nothing else from the links above worked either, did it?
@benimbolat @mpanac [this one](https://github.com/adaptyteam/AdaptySDK-React-Native/issues/80#issuecomment-1685038260) in your case didn't help either? or [this](https://github.com/adaptyteam/AdaptySDK-React-Native/issues/119#issuecomment-2112281520), like [here](https://github.com/adaptyteam/AdaptySDK-React-Native/issues/80#issuecomment-1636871965)? additionally, maybe it requires [prebuilding](https://github.com/adaptyteam/AdaptyUI-React-Native/issues/8#issuecomment-1971071876) at some stage