Post

Replies

Boosts

Views

Activity

Neither getStateOfSafariExtension nor getStateOfContentBlocker work
Can't get status of my Safari extension and content blocker on macOS Catalina. Both SFSafariExtensionManager.getStateOfSafariExtension and SFContentBlockerManager.getStateOfContentBlocker always return false.I found few complaints about this behaviour that seem to happen after wake up from sleep. But restarting my Mac didn't help. I found no way to make those call work. But the curious thing is they were working few months ago, on earlier Catalina versions.Any suggestions why this might be happening?
2
0
866
Feb ’20
StoreKit testing in Xcode produces a weird error
Trying to test StoreKit purchases in our existing game from Xcode ends in failure. I have created a couple of consumable purchases which mirror the real ones, but an attempt to buy any one of them on a device (not simulator) ends in error "Purchase failed: unable to communicate with a helper application". This happens right after payment confirmation screen. This is on the first iOS 14 beta and first Xcode 12 beta. Any suggestions on how to work around that are welcome.
3
0
1.6k
Jul ’20
Sample app doesn't work on macOS
The 'Sea Creator' sample app demonstrating Safari Web Extensions first fails to compile, because due to disambiguation extension bundle id isn't prefixed with app bundle id. When fixed by changed ids the app fails on start, with error saying that the app can't find extension. Regardless, extension works on its own in Safari, but can't communicate with the host app due to aforementioned error.
0
0
587
Aug ’21