chatwoot / chatwoot-flutter-sdk

Chatwoot Flutter SDK
MIT License
45 stars 94 forks source link

EnablePersistence=true causes SDK to fail #37

Open Umar1312 opened 1 year ago

Umar1312 commented 1 year ago

I'm trying to get this SDK running on my app that already uses HIve as local DB, but seem to be getting an error when persistence is enabled(which I guess uses HIve internally too to store chat history). Is there an issue with the Hive implementation in the package internally that fails when used in combination with app that already. has hive implemented. Attaching error code below.

Can anyone guide me on further steps?

HiveError: Cannot write, unknown type: ChatwootUser. Did you forget to register an adapter?