How can I communicate between two Overwolf apps?

I have two apps and I would like one to send an event to the other when some conditions are met.
Is there an API for this?

Here are three methods I can think of:

  1. Use the overwolf.extensios API: read about the setInfo(), getInfo() and registerInfo.

  2. App 1 opens an iframe to an App 2 page (an overwolf-extension) and then communicates with app 2 page (via postMessage) which, in turn, can update localStorage. App 2 can register for localStorage events.

  3. Create a local server/client communication between the apps. You can use Overwolf web server.
    Of course, to transfer data between the clients, you must create a server for each app.