Robin Dijkhof
Robin Dijkhof

Reputation: 19298

Does Ionic Firebase have the same features as native?

I was wondering if Ionic Firebase has the same features as the native Firebase. (Let's say Android). I'm especially interested in the database sync and offline features on Ionic 4. Ionic is web based of course and the Firebase web version does not have offline capabilities.

Upvotes: 1

Views: 272

Answers (1)

Frank van Puffelen
Frank van Puffelen

Reputation: 600036

When you use Firebase Realtime Database in Ionic, you're using its JavaScript SDK. The regular database synchronization is implemented in all clients, so should work in Ionic too. But offline/disk persistence is not implemented in the JavaScript SDK, so won't work in Ionic.

Note that Cloud Firestore is Firebase's newest NoSQL database, and there the offline disk persistence is implemented in the JavaScript client too.

Also see:

Upvotes: 3

Related Questions