Android SDK

Android SDK

Application and Data / Languages & Frameworks / Frameworks (Full Stack)
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 MORE
7 upvotes·101.4K views
Replies (3)
Co-founder, CEO at Tolofood·
Recommends
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·2.5K 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
CEO at NaoLogic Inc·
Recommends
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·236.8K views
View all (3)
Fullstack Web Developer ·

I am a React developer who is bootstrapping a tech startup that will be heavy on multi-platform apps. I am torn between deciding what platform(s) to stick with for the company. I have read a lot about these frameworks/languages, and opinions seem to be on the extremes. Can people who currently work with Swift React Native or Android SDK (individually, or a combination of them) share their realtime perspectives and experiences working with them?

READ MORE
5 upvotes·24.1K views
Replies (1)
Recommends
React Native

Hi, I worked on a lot of Android applications that needed native components and fine-tuned communications protocols, so multi-platform apps was impossible or way too expensive. There are a lot of examples over the years of companies beginning with multi-platform framework and finally switching to native e.g. https://medium.com/airbnb-engineering/react-native-at-airbnb-f95aa460be1c

My advice would be, as you are at the beginning of your startup and know React well: Develop your first app in React to showcase your product, add features, remove ones and find your product-market fit. Switch to native only if you have really bad performances issues or features that you cannot implement in React. It will save you a lot of times ! There is very few developers who are experts in Android & iOS !

READ MORE
11 upvotes·1 comment·5.4K views
Chinomnso Awazie
Chinomnso Awazie
·
July 31st 2020 at 6:10PM

Thanks for your meaningful and helpful contribution.

·
Reply