-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PWA support (using react-native-web) #70
Comments
Hi @lborgman!
I like PWAs, but safety is not something I would define as their strength. Pretty sure native apps are way safer than PWAs -- that by definition run uncontrolled in the browser and skip the additional play/app store layer of checks for updates. |
Okay, but even then there are flags for PWAs. And another problem: Why a PWA when you can just package the whole app into one single page, so that people can just save the page and use it when they are offline? |
Hi @mmazzarolo , But at the time I posted this I noticed someone did some work with React and PWA. It looked like a general recipe and not much work or difficult. Unfortunately I forgot up post the link here. 😐 |
@mmazzarolo |
Hi @BrandonKMLee , No, that is a misunderstanding. A single page web app is basically a concept orthogonal to a PWA. A PWA is (among other things) logically a package. That is actually one of its main strength. Please see how it integrates with the browser cache. |
Just to clarify, Breathly is written in React Native, not React.
Both options are doable but they're not a 10 minutes thing, so I'm not sure if/when I'd be able to tackle them... especially because the return of investment here might be small (I don't think many people would use the PWA over the native app)
The only reason for it to be more secure would be that on the web, on Android, you don't have the same access to resources as you would on a native app (which is a "con", not a "pro"). But for Breathly, that wouldn't matter since we're not asking for any permission natively. |
@mmazzarolo mmm what about https://microsoft.github.io/react-native-windows/ ? |
@BrandonKMLee that's for creating native Windows/macOS apps, not PWAs. It can be used with this codebase, but it would still require a bunch of work. |
Someone just asked for a desktop app like this: https://www.facebook.com/groups/1469946653030957/permalink/6503799669645605/ |
@lborgman that is the reason why making this is a good idea, it is really useful. |
I'm working on a webapp very similar to Breathly and I intend to make it a PWA. It's called SereneBreath, it has the same techniques that Breathly has, including the guide breath and the option to do a custom exercise. So I think it's a good alternative who those that prefer to do the breathing exercises in the browser. That's was my motivation to create the project. Like Breathly, it's also open source: https://github.com/gsantiago/SereneBreath |
Love it, great job @gsantiago :) |
PWA:s are much more safe for users. It would be nice to be able to recommend them a PWA url.
The text was updated successfully, but these errors were encountered: