We can send is_premium status from macOS app to javascript via SFSafariApplication.dispatchMessage.
Send Messages from the App to JS is possible https://developer.apple.com/documentation/safariservices/safari_web_extensions/messaging_between_the_app_and_javascript_in_a_safari_web_extension
but for iOS there is a note "You can’t send messages from a containing iOS app to your web extension’s JavaScript scripts."
So what should we do for iOS extension? Forget using in-app subscriptions and turn that safari app extension to paid?
Post
Replies
Boosts
Views
Activity
Installing Safari Technology Preview 16.4 on the mac DID NOT help me..