@alawi I’m trying it and have an wired issue in my meteor react app; self in here is not defined, and when I declare it like that : var self=this; it throw me an error like: self.addEventListener is not a function
any idea ??
Not yet frankly I’m currently evaluating Meteor and OneSen UI once I get the shell working I plan to add push feature to the web app. I mean worst comes to worst I’ll configure the service worker myself without the package.
I setup a service worker with the help of the repository and conversation provided on this topic by @nitrobay and @mitar
it allow me to setup a service worker and access my app offline
there is a whole topic on this feature, because to implement something like this as a package it interferes with the optimistic ui of minimongo approach (at least that is wat i read on the topics on this feature).
as far as i have gone on this topic, i tested the code above and works perfectly, still lacks the push notifications implementation, but is not impossible to do.
there is conversation on this topic here
why is this relevant? because service workers allow to send push notifications
my opinion on this topic (an opinion is like the ass, everyone has one) is that since meteor already made blaze optional, then it would be natural to make cordova optional too so we can replace hybrid web apps with native react for example, or to allow developers to extend meteor with technology like service workers, why is this relevant? because this topic explains the limitations with cordova and serviceworkers.