serviceworker-rails icon indicating copy to clipboard operation
serviceworker-rails copied to clipboard

Is this gem still maintained / current?

Open joshbuker opened this issue 4 years ago • 4 comments

I've been scouring the internet for implementations of service workers for rails, and this seems to be the only library that comes up. The latest change seems to be 16 months ago however, which makes me nervous implementing this in a new project.

Is anyone aware of the current best practices for service workers in a Ruby on Rails environment? Or have most developers moved to other frameworks, and Rails is being used only in the more traditional scenarios?

joshbuker avatar Nov 04 '20 22:11 joshbuker

Looks like this might be promising:

Update: For anyone else finding this in the future, this tutorial seems to work: The Progressive Rails App

joshbuker avatar Nov 07 '20 22:11 joshbuker

@athix thanks! Did the tutorial work in production as well? I can get everything working locally using serviceworker-rails but it fails in heroku production.

sunwooz avatar Oct 04 '21 00:10 sunwooz

@sunwooz long story short, progressive web apps as a framework are not mature enough for production usage. Core features, like scheduled notifications are still being worked on.

I ended up moving towards separating the front-end and back-end, and using Quasar as a write-once-compile-everywhere solution for the front-end.

To answer my original question, yes, others and now myself have moved onto newer frameworks, and Rails is relegated to serving as a REST API back-end.

joshbuker avatar Oct 04 '21 02:10 joshbuker

locally its working like a charm

fwidtmann avatar Jul 13 '22 09:07 fwidtmann