News for hackers. Stuff that matters.
Re:Stripe Identity by anonymouse008 on Monday June 14, 2021 @11:00AM (#27503379)
This almost proves that webapps are a competitive substitute to AppStores - making the consumer detriment very hard to prove in the current anti-trust framework.
Re:Stripe Identity by kgraves on Monday June 14, 2021 @11:12AM (#27503532)
how are mobile notifications on the web going for iOS?
Re:Stripe Identity by anonymouse008 on Monday June 14, 2021 @12:00PM (#27504208)
Said it in another thread -- SMS's are a tangibly better user experience. You get to say stop in the moment, instead of searching through opaque settings... you can set DND to certain numbers for certain times...

The whole ecosystem is there and very few are playing with it.

Re:Stripe Identity by lxgr on Monday June 14, 2021 @02:13PM (#27506091)
SMS are a horrible user experience for notifications!

For push notifications, I can set them to silent by application, they take me to the right place in the app when clicking them, very often they offer quick responses directly from the notification itself...

Finally, it's bad enough to require a phone number for 2FA (or worse, as the primary user identifier). Why should I have to give my phone number to a service?

Re:Stripe Identity by easrng on Monday June 14, 2021 @12:55PM (#27504979)
On Android you:

  1. Swipe the notification halfway to reveal the buttons
  2. Tap the options button
  3. Flip the switch that shows up
On SMS you:

  1. Tap reply on the notification
  2. Type STOP (4 taps or one swipe)
  3. Hit send
There's no difference in complexity, if anything SMS is more complicated and less discoverable.
Re:Stripe Identity by FearlessNebula on Monday June 14, 2021 @12:59PM (#27505036)
SMS aren’t encrypted. I don’t want my mobile carrier knowing whatever sensitive data is being sent as a push notification.
Re:Stripe Identity by anonymouse008 on Monday June 14, 2021 @01:20PM (#27505297)
This is the biggest drawback and requires creativity - but yes, the central issue.
Re:Stripe Identity by flixic on Monday June 14, 2021 @12:08PM (#27504328)
SMS messages are probably 1000x to 100 000x more expensive to send than push notifications.
Re:Stripe Identity by anonymouse008 on Monday June 14, 2021 @12:08PM (#27504339)
Sounds like better incentives for customers.
Re:Stripe Identity by easrng on Monday June 14, 2021 @12:49PM (#27504895)
Push is free, assuming you have network connectivity, and 100000*0 is still 0.
Re:Stripe Identity by iudqnolq on Monday June 14, 2021 @01:45PM (#27505633)
Edit: Totally wrong

You need to buy from apple/google if you want battery efficiency, as you want to be included in the one persistent channel the OS manages.

Even without that your own servers cost money.

Re:Stripe Identity by lxgr on Monday June 14, 2021 @02:15PM (#27506119)
Apple's and Google's services are free, as far as I know; it's only if you want to send through some third-party provider that you pay per message.
Re:Stripe Identity by iudqnolq on Monday June 14, 2021 @02:32PM (#27506364)
Thanks for the correction
Re:Stripe Identity by ceejayoz on Monday June 14, 2021 @12:02PM (#27504244)
Any iOS notification permits you to "say stop in the moment" - you just swipe on the notification and select "Manage". The options are pretty well thought-out.
Re:Stripe Identity by anonymouse008 on Monday June 14, 2021 @12:08PM (#27504324)
That's actually a whole different user flow -- you leave the notification to enter a separate system of controls with esoteric commands, over just typing what you want to happen..

"Stop" - forever until I want you back

"Stop this week" - self-explanatory

"Not during work hours" - also ^

"Consolidate weekly" - get a digest

"I don't care" - make better suggestions

So many contextual pieces to make better notifications are right there... and though a toggle button appears to be 'easier' the cognitive dissonance is less the conversational environment of SMS.

Re:Stripe Identity by ceejayoz on Monday June 14, 2021 @12:12PM (#27504378)
Texting "stop this week" will stop SMSes from that number forever because of the STOP keyword.

I've never seen any SMS system that would correctly interpret and adjust to things like "not during work hours" or "consolidate weekly" responses.

Re:Stripe Identity by anonymouse008 on Monday June 14, 2021 @12:22PM (#27504519)
> I've never seen any SMS system that would correctly interpret and adjust to things like "not during work hours" or "consolidate weekly" responses.

I know!! I built a stupid simple bot for myself that just reminds me of things I want in SMS form... I text it things like 'For tomorrow - x, y, z' and then 9am the next day it messages with what's behind '-'...

There's a bit of configuration the first time you text the bot, for timezones and things like what does tomorrow afternoon mean to me? 2pm or 3pm? If multiple 'tomorrow afternoons come' do you want that as a digest or just individually, or w/e.

But for me, I love it because I forget things so quickly, so as I quickly as I can send a text, I can get reminded at an appropriate time. (and yes, I hate reminder apps.)

I'm still struggling how to keep it 'safe' - because Twilio keeps all the message data in plain text (more a byproduct of SMS) and holds a record of it, so while I can encrypt the db entries, I'm not sure how to make it 'secure' for other folks yet.

Re:Stripe Identity by darksaints on Monday June 14, 2021 @11:10AM (#27503506)
Okay stretch armstrong
Re:Stripe Identity by patrickmcnamara on Monday June 14, 2021 @11:06AM (#27503450)
Proves it for this one use case maybe. I don't even think you can get webapp notifications on iOS.
Re:Stripe Identity by jtbayly on Monday June 14, 2021 @11:22AM (#27503663)
The fact that Apple has refused to deliver that only proves the point. If they did, many apps wouldn’t be forced to be in the App Store. It’s certainly possible, as iirc, it works on Android for years now.
Re:Stripe Identity by jsmith45 on Monday June 14, 2021 @11:28AM (#27503746)
Incredibly annoying that apple does not support this, while also trying to crack down on apps that is considered to just be a wrapped web-application. (In which case they want you to make a proper web app instead). Even using notifications is not considered enough of a reason to get an app they feel is just a wrapper approved.
Re:Stripe Identity by Me1000 on Monday June 14, 2021 @12:08PM (#27504326)
They have supported it on desktop Safari for years, so it really is just a political decision for them at this point.
Re:Stripe Identity by jtbayly on Monday June 14, 2021 @12:53PM (#27504956)
Financial decision, more like.

They are using it to force developers who don’t need the App Store to use the App Store. Thus, Apple can force them to pay their tax.

Re:Stripe Identity by yunohn on Monday June 14, 2021 @11:10AM (#27503495)
This is not an app, more like a rich form? It just so happens that the APIs it needs are available in mobile browsers, i.e. camera.

Other apps cannot do the same.

Like messaging or social networks need things like notifications. Or those for IoT related tasks, which would need Bluetooth or such.

Re:Stripe Identity by wongarsu on Monday June 14, 2021 @11:22AM (#27503657)
Google is certainly trying. On Chrome for Android you can do both of those. Whether that's a good thing is debatable though.

https://developer.mozilla.org/en-US/docs/Web/API/Notificatio...

https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetoo...

Re:Stripe Identity by yunohn on Monday June 14, 2021 @11:23AM (#27503682)
Nobody forces you to use PWAs. I’m tired of this constant PWA bashing on HN.
Re:Stripe Identity by roblabla on Monday June 14, 2021 @11:39AM (#27503903)
The problem with having those APIs in the browser is that it increases the attacker surface area, which makes the browser less secure for everyone, including those who do not use PWAs.

The only saving grace is that you have to accept the permission box (I hope so at least...), which, for the average user, may not be much protection.

Re:Stripe Identity by samtho on Monday June 14, 2021 @11:51AM (#27504075)
Simply existing in the world increases your attack surface; everything is a trade off between usability and security. Given the pressures browsers are under, they have incentives built into their business model to provide very good security which is a departure from most other software where security is just a nuisance at best and totally ignored at worst.
Re:Stripe Identity by wyager on Monday June 14, 2021 @11:58AM (#27504186)
People bash them because they suck 99% of the time.