News for hackers. Stuff that matters.
Re:Hacker News Readers as Progressive Web Apps by TheAceOfHearts on Friday May 19, 2017 @10:17PM (#14380706)
It'd be cool to see a version that allowed you to login and vote. Session management and all that entails can be really tricky to implement correctly, and it's a frequently asked question with most frontend frameworks.

I haven't read through each repo's source yet, so take what I'm saying with a grain of salt. Glancing through each repo, only the Angular 2 version has tests. It's pretty easy to write throw away code that works once and you don't have to maintain long-term, so I'd advise caution in adopting patterns from these examples.

Re:Hacker News Readers as Progressive Web Apps by tedmiston on Friday May 19, 2017 @10:47PM (#14380794)
IIRC access to an authenticated user is not a feature of the API, hence why the custom readers don't support leaving comments. I think the only way to do it is by having a user trust your app with their credentials.
Re:Hacker News Readers as Progressive Web Apps by girvo on Saturday May 20, 2017 @12:29AM (#14381041)
Yeah. I think that's what MiniHack does on iOS, but hell it's well worth it, it's the single best app I've used for HN!
Re:Hacker News Readers as Progressive Web Apps by viral_krieger on Friday May 19, 2017 @10:41PM (#14380775)
Is there a good Android app where you can login and reply to comments?
Re:Hacker News Readers as Progressive Web Apps by dyukqu on Friday May 19, 2017 @10:49PM (#14380797)
Yes, there is. I've tried a few of them and HN Materialistic is the superb one: https://play.google.com/store/apps/details?id=io.github.hidr...
Re:Hacker News Readers as Progressive Web Apps by viral_krieger on Monday May 22, 2017 @04:26PM (#14396641)
I didn't even notice you could log in on that app. Thanks!
Re:Hacker News Readers as Progressive Web Apps by fatboy93 on Friday May 19, 2017 @10:48PM (#14380795)
Materialistic is what I use, considering most of my Web browsing is done through the apps.

It's has login, vote and save(I guess it saves articles locally)

The con is that it has not been updated in a long time.

It's available on fdroid

Re:Hacker News Readers as Progressive Web Apps by nine_k on Friday May 19, 2017 @11:17PM (#14380868)
Github.com/premii – I'm writing from it.
Re:Hacker News Readers as Progressive Web Apps by a012 on Saturday May 20, 2017 @03:08AM (#14381357)
I use Hews, tried Materialistic but still prefer layout of Hews and I can change font face to Serif.