Mac App Store with Safari Extension

I'm trying to understand how an application, like 1Password , can be on the Mac App Store and comes with the Safari extension (and most importantly, how the extension can communicate with the application) because I would like to do the same. Is the native application a running server as a subprocess called by the safari extension?

I would like to know if this is possible and will continue to support the Mac App Store + Sandboxing.

+4
source share
2 answers

1Password uses an agent to communicate between the Mac App and Safari Extension. An agent is most likely a small server process that can receive RESTful calls from extensions. This mechanism allows you to synchronize between all the various extensions (Safari, Chrome, Firefox, etc.), the Client and the main database.

The Safari extension is no longer installed directly by 1Password. Instead, you are directed to a web page containing the download of Safari extensions, thereby making the application environment convenient.

+4
source

I believe this is a regular .app that has a Safari extension in it as a resource.

The application will check for the presence of the Safari extension when the application starts, and if it does not find it in the default places, it will prompt the user to install it. If users want to install it, the application will copy the extensions to the Safari extensions folder.

0
source

All Articles