Post

Replies

Boosts

Views

Activity

Safari web extension - background script - sessionStorage
I converted an extension from Chrome to Safari using: xcrun safari-web-extension-converter All works except for one thing: when trying to access the localStorage or sessionStorage from background script I get: SecurityError: the operation is insecure. It works in all other browsers (chrome, firefox, edge) - but not here. I hope that the solution is to turn on some flag in the xcode build settings and not to try and implement some native swift code - which I (and many other developers) will not do. Any solution?
7
0
2.3k
Aug ’21
Subscription in app purchase from website, Safari web extension and iPhone app
Hi, We are a monthly subscription service. Currently, we allow users, through our website, to pay for the subscription using either Paypal or a credit card. We have many different kind of endpoints: Browser extensions (chrome, firefox, edge), add-ins to Word, Outlook, Google Docs, and also an android application. Now, we want to also have an endpoint for the Safari web extension and an iPhone app. The question is how to do it. Since apple requires for the iPhone and Safari extension to allow users to pay also via in-app purchases, the easiest way for us, that would minimize development time and complexity, would be to allow people on the website, to pay also through Apple (in app purchases). Is that possible, or must we create custom code and architecture to allow users to pay directly inside the Safari extension and iphone app? If we must do it directly, how should this be done? Let's take for example the Safari extension: the user start using the safari extension for free, and at a certain period in time the users wants to upgrade and have a monthly subscription. Where does the user do that? Does he do the payment on our website, or do we have to have some button in the popup.js on the extension that when the user presses it, he gets some popup that allow him to pay, or does he do it directly from within the App Store? Theoretically, can we allow people to pay with Apple in app purchases via our website, even if we don't have an iphone app and Safari extension?
1
0
1.1k
Feb ’21