Show HN: Appleshouter – iOS Push Notifications for PWAs and Web apps
github.com
github.com
> Wallet passes can be used to make or receive payments, transmit offers, or offer identification (such as movie tickets, coupons, and VIP credentials). Other uses may result in the rejection of the app and the revocation of Wallet credentials."
There's no app to be rejected since we're dealing with PWA's/webapps, but wallet credentials could certainly still be revoked.
[1]: https://developer.apple.com/app-store/review/guidelines/
AFAIK iOS “browsers” can inject js into pages, extending available we APIs, like e.g. web3 browsers do.
This isn't (reliably) possible using iOS APIs.
The iOS APIs include a JavaScript runtime engine don't they? (JavaScript Core)
2.5.6 Apps that browse the web must use the appropriate WebKit framework and WebKit Javascript.
This means they cannot add a new API standard on iOS. This is why WebRTC was hamstrung until November last year.
https://bugs.webkit.org/show_bug.cgi?id=208667 https://bugs.chromium.org/p/chromium/issues/detail?id=752458
If the browser uses WKWebView or UIWebView, you're right, you can "mock" an API by injecting JS, and through tunnelling you can recreate native functionality. Not if its SFSafariViewController. As someone who has done a lot of fiddling with JS to Obj-C/Java tunnelling for iOS and Android in production, it can be prone to errors and/or get your app rejected. Browser makers probably do not see the commercial value in going down this bespoke path.
So, technically it can be done.
What's stopping them? Do you think Apple would count that sort of feature as "implementing your own web engine"?
The STILL there makes it sound like Apple is just slow to implement it.
[0] https://developer.mozilla.org/en-US/docs/Web/API/Notificatio...
[1] https://developer.mozilla.org/en-US/docs/Web/API/Push_API
That means you can easily be banned for abusing their wallet apis, and they'll probably also take down your other apps on that account.
[1] https://developer.apple.com/app-store/review/guidelines/
So if I build a web app on my own dime, on my own hosting resources, signing no developer agreements with Apple whatsoever...
... there's not a remote chance that I'm subject to any of Apple's whims, and there's very little they can do about it.
Add my site to a Safari exclusions list? That will and should go down like a flaming mess.
Steve jobs made it abundantly clear when he blocked Flash on iOS citing battery and security reasons and every developer including myself hailed it as the best thing that could to the internet then; never figuring out the insidiousness of such changes and how it was a priority for Apple to cripple the web browser and keep it crippled to make their App store flourish and get more % cut on apps. They have made billions of dollars doing that and Steve jobs was truly a visionary in this regard.
Solving a minor UX concern, easily solved by defaults and settings mind you, by deleting the feature entirely is an absurd argument.
Why is it Apple users feel so strongly about what other people can run on their computers?