My app is programmed with a text box and list view, so data can be added. But I want that same data to appear on all devices that have the application downloaded. So far I have used TinyDB, but the same information is not reflected on all devices with it.
That’s because TinyDB is a local database, same like sql lite,etc…, in which only your device can access the data you’ve stored in.
You need to use a Cloud Database to store your data, all of the devices can access it, a good examples for cloud databases are:
FireBase (RealTime database, but its free plan is very limited if your app has many users ) :
https://docs.kodular.io/components/google/firebase-database/
AirTable ( Quite easier and less limited but not realtime database ):
https://docs.kodular.io/components/google/firebase-database/
MySql, ( you will need to have a server to host MySql at, but it’s the best database if your app has a lot of data, as you create your own database with different limits according to the hosting site you host at. )
https://puravidaapps.com/mysql.php
CloudDb (A realtime databse, that you’ll have to buy a redis server to host cloud db at, also, it’s an experimental component, so use it with caution):
https://docs.kodular.io/components/experimental/clouddb/
Hope this help you
Thank you very much! And under what component can I add it? SQLite?
Which? BTW, sqllite is a local db, if you want to use MySql see this:
And i’ve mentioned this link for implementing every cloud db
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.