Firebase or SQLite

14,977

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.

Share:
14,977
Mike
Author by

Mike

Updated on June 04, 2022

Comments

  • Mike
    Mike almost 2 years

    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?