News for hackers. Stuff that matters.
Re:Building all of our new mobile apps using React Native by ENGNR on Wednesday January 29, 2020 @04:21PM (#22185971)
The biggest feature I'd like parity on for mobile web.... is logins.

As the tracking war rages, humble little login cookies are becoming a casualty. For example if someone gets a transactional email (say a new booking notification), opens it on their iphone, it opens safari.... in a new context. No login! So frustrating for them. You can send tokens with the links, but they really need to have an expiry date on them, and if the user forwards the email it risks exposing their whole account. So now you have to start playing with an intermediate 'sort of logged in but don't let them do anything too dangerous' state

And now browsers are using "AI" to magically work out which cookies to delete. That's great, but.. can we not have an explicit UX for the user to say hey, this is a login cookie, I'm logged in because I want to see my data and be authorized on this website every single time I come here (and an equally special logout function that deletes it without trouble).

I'm a pretty heavy user of mobile web and rarely use apps, but logins for power users and tech impaired users is pretty much the main reason we're looking at react-native too

Re:Building all of our new mobile apps using React Native by JamesSwift on Wednesday January 29, 2020 @04:59PM (#22186317)
Theres native platform support for that now with shared login context between browsers and apps.

e.g. https://developer.apple.com/documentation/authenticationserv...

Re:Building all of our new mobile apps using React Native by ENGNR on Wednesday January 29, 2020 @05:49PM (#22186842)
If I’m reading it right that’s for if you control the app though. They still lose login if they follow a link from a mail client or slack app over to a mobile web app, which wouldn’t happen if they were going to an actual app
Re:Building all of our new mobile apps using React Native by JamesSwift on Wednesday January 29, 2020 @09:14PM (#22188309)
It should all be shared as long as the sides are using the official cookie storage. I understand it as its essentially an HTTP only cookie stored at the device level (rather than in the brower).