Post

Replies

Boosts

Views

Activity

Reply to paid (subscription-based) safari app extension - how to check in JS part that user is premium?
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?
Feb ’23