0

I'm using sqlite to store data in my app, i would like to sync my database with firebase so that i can do modify data from firebase and insert it into my database without updating the app. Any suggestions how can i do that.

1
  • What is the purpose of using a Sqlite database? Commented Jul 22, 2019 at 7:15

1 Answer 1

3

You don't need to sync Firebase with your local database. Firebase provides you SDK to perform read/write operations in your database. You might only need to update your application if there is a schema change. That too can be achieved without keeping the computation logic in the Cloud and instead call Cloud Functions for cases where you know there are going to be a lot of schema changes.

Firebase provides you really well documented APIs and code samples. You can refer the following links for more information:

Firebase Docs -- SDKs here

Cloud Functions -- For cloud computation

Realtime Database -- Database for realtime transfer, can be costly for high usage. Generally used for PoC or low traffic projects

Firestore -- Upgraded version of Realtime DB. Generally used for high traffic.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.