Hi,
I am going to make the Tinode Javascript SDK work on React Native.
Websocket and XMLHttpRequest is supported by default, the only missing part is Indexeddb.
Do I need to do the following to make the cache work on React Native as well?
1. rewrite the db.js with alternative on React Native (Let's say Expo Sqlite with Drizzle ORM) while maintaining the same methods , which makes the new db.js works with other js, and then bundle all the js files with the React Native/Expo project.
I am just trying to know if I am on the right way.
I didn't find a description about the database/tables about the cache, please let me know if there is one.
I am trying to dig it out from the db.js since it is not to much code.
Thanks.
Best regards!
Yang