News for hackers. Stuff that matters.
Re:Building all of our new mobile apps using React Native by anderspitman on Wednesday January 29, 2020 @02:52PM (#22185049)
Honest question: is there some reason you can't use standard web tech for push notifications? ie polling, WebSockets, etc?
Re:Building all of our new mobile apps using React Native by DevoAKA on Wednesday January 29, 2020 @03:10PM (#22185253)
You can use polling or sockets when the browser is open; the problem is showing those notifications on the phone's lock screen or when you're in another app.
Re:Building all of our new mobile apps using React Native by anderspitman on Wednesday January 29, 2020 @05:17PM (#22186519)
Oh duh. And it sounds like iOS doesn't support that for PWAs yet?
Re:Building all of our new mobile apps using React Native by phreack on Wednesday January 29, 2020 @06:02PM (#22186978)
Correct, many websites say that such support is "coming soon" but I've been hearing that for years now.
Re:Building all of our new mobile apps using React Native by anderspitman on Wednesday January 29, 2020 @07:48PM (#22187836)
Sometimes I wonder if Apple wouldn't support web apps at all if they could get away with it. A fully functioning PWA could essentially sidestep the app store for a huge class of applications. The incentives really just aren't aligned.
Re:Building all of our new mobile apps using React Native by stevenwoo on Thursday January 30, 2020 @12:04AM (#22189009)
I was under the impression that under memory pressure all of the tabs in every mobile browser (Firefox/Safari/Edge) I have ever used is unloaded by iOS.
Re:Building all of our new mobile apps using React Native by ficklepickle on Thursday January 30, 2020 @03:22AM (#22189793)
There is an edge mobile browser?