Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase or SQLite [closed]

I am new to android development and I am currently developing an application using SQLite as my database. The problem is, I want to share information across other people using the application. As far as I can tell, using SQLite alone will only allow me to store user information locally. Is there a way to sync all data for each user using SQLite, or is Firebase the option to if you want to share data with everyone using the app? Or is there a better option that you recommend?

like image 688
Mike Avatar asked Oct 19 '25 09:10

Mike


1 Answers

A few things.

1) Firebase is free unless your app takes off and you have a lot of users making calls to their APIs.

2) Firebase is a lot more than just for push notifications.

SQLite is great. Its basically firebase, right on your device (minus the things Firebase offers (their service). HOWEVER, if I drop and break my phone, the information that is store in the SQLite database dies with my phone. That is a big no-no.

Firebase/Parse-Server are very alike. I use Parse-Server because I developed with Parse before Facebook dumped it. However, Firebase makes your job a lot easier. You can write a pretty in depth CRUD system in a day and then just build off of it. You can store information locally on the machine (cache). You can easily set up push notifications, however I like One Signal.

If I was starting out and I had that same question, I would go Firebase. You do not have to worry about writing code for the SELECT and queries. Firebase does it all. If you update anything through the dashboard, the application will update in real time too. Its pretty great.

like image 126
letsCode Avatar answered Oct 20 '25 22:10

letsCode



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!