I have a KMM mobile app focused on regional food d...
# multiplatform
d
I have a KMM mobile app focused on regional food delivery. We built it entirely on MongoDB, utilizing Auth, Realm Device Sync, and Triggers. Unfortunately, many of these features will soon be deprecated. What should I migrate to? I’m considering Firebase, but I’m unsure whether to choose Realtime Database or Firestore. Or any other options? I am focused more on speed of db queries. The biggest problem with Realm was the update of realm version that could take minutes for phones that are not up to date and have slow internet connection.
s
Check out #C06QXPC7064 in combination with PowerSync. Oh hold on, disregard; read over the MongoDB part.
m
If you're choosing between Realtime Database vs. Firestore, definitely go for Firestore. As far as I can tell, Realtime Database just exists for compatibility with legacy projects that depend on it. Firestore is much more modern, easier to work with, has more functionality, better performance (in most cases), and if you need to in the future for some reason, there's an option to run it standalone on GCP rather than integrated with Firebase (whereas Realtime Database only works within the Firebase framework).