Founder at Moxit·
Needs advice
on
PouchdbPouchdb
and
RealmRealm
at
()

We are building an offline-first Android SDK app. The solution we're working on runs on a mobile device in areas where internet connectivity is intermittent or does not exist. The applications needs to be able to collect data and when it reaches a home base or finds internet connectivity, we'll sync it with the host.

We've heard Realm and Pouchdb could be a good solution, but we are curious if anyone has any experience with either or have another path forward.

READ LESS
7 upvotes·212.2K views
Replies (3)
CEO at NaoLogic Inc·
Recommends
on
RxDB
at

If you want to use Pouchdb might as well use RxDB which is an observables wrapper for Pouch but much more comfortable to use. Realm is awesome but Pouchdb and RxDB give you more control. You can use Couchbase (recommended) or CouchDB to enable 2-way sync

READ MORE
4 upvotes·245.6K views
Co-founder, CEO at Tolofood·
Recommends
on
Firebase

I recommend Firebase because it has an offline and sync capability that can handle the case you've outlined. Trying to keep consistency between on-device and remote DB is not fun - so I suggest you use a platform that can handle that easily. I think Amazon's Mobile SDK will let you do the same with either SimpleDB or Dynamo - never used it though but read about it.

The drawbacks of Firebase are cost - be careful about how you design your schema!

READ MORE
6 upvotes·2 comments·3.3K views
Mike Endale
Mike Endale
·
August 29th 2019 at 4:42AM

Thanks for the heads up. We have considered Firebase, but the issue is that these data collections are in really remote areas where there is absolutely no internet connection. If only Firebase was self-hosted :-)

·
Reply
Tesh Tesfaye
Tesh Tesfaye
·
August 29th 2019 at 5:05AM

Maybe time to look at GraphQL - https://www.slideshare.net/AmazonWebServices/real-time-and-offline-applications-with-graphql

·
Reply
View all (3)
Avatar of Gabriel Pa

Gabriel Pa

CEO at NaoLogic Inc