News for hackers. Stuff that matters.
Re:Launch HN: Insight (YC W19) – an iOS browser with easy-to... by JimDabell on Friday February 26, 2021 @10:23PM (#26282306)
> we don't currently support Apply Pay through Insight. Apple does not allow a regular WKWebView to use Apple Pay, just Safari and SFSafariViewController

Apple added Apple Pay to WKWebView in iOS 13. Release notes are here:

https://developer.apple.com/documentation/safari-release-not...

It won’t work for you out of the box because you inject scripts onto the page, which automatically disables Apple Pay for that view. But I expect you can do something useful here, like detect when a page is attempting to use Apple Pay and present a new view with injected scripts disabled and a note to the user about what has happened. Having Apple Pay work in an unmodified WKWebView is probably better than not having it work in a modified WKWebView.

Re:Launch HN: Insight (YC W19) – an iOS browser with easy-to... by archajain on Friday February 26, 2021 @10:25PM (#26282318)
Oh that's great to know, my information was totally stale. I <3 HN. Thank you!