Post

Replies

Boosts

Views

Activity

Reply to Javascript error: "Unable to run user agent scripts because this document has previously accessed Apple Pay"
Hi Matt - so digging a bit deeper, I'm seeing that adding: let contentController = WKUserContentController() contentController.addUserScript(...) allows this all to work (makes sense, given the suggestion in the exception message) We're still checking on our end how Apple Pay APIs would be available, as this code has been working untouched until recently. (we don't even have Apple Pay enabled for our domain - no merchant IDs, no environments setup) As far as I understand it, it is functionally provided by the browser - but unsure how or why this has recently become an issue. (we're seeing 300k+ users affected, over 10M exceptions this month)
Dec ’21
Reply to PiP not working on tvOS 14
I'm having a similar issue - AVPictureInPictureController.isPictureInPictureSupported() returns false. Is this only working on hardware at the moment? (I have not had a chance to install the beta yet) The same code (both our app, and the sample from the session) only work on the simulator with iPads. Thanks
Jun ’20