We had a need for an “offline first” mobile app. Being part of a small team, if we can make this app utilising much of our existing codebase then all the better.

With the release of Turbolinks 5 came the release of the iOS and Android native wrappers for using your existing codebase with Turbolinks to release a hybrid app.

Unfortunately, at this point in time (Jan, 2018),  ServiceWorkers currently aren’t supported on iOS or Android webviews , so it can’t be used in combination with Turbolinks for offline first apps.

We instead decided to use React Native with Realm Database and our existing Rails API.

References:

https://github.com/turbolinks/turbolinks/issues/196

https://gorails.com/episodes/how-to-use-turbolinks-clearCache#comment-3169959601

Posts