Overwolf Electron Technical Overview
ow-electron is a solution built on top of Electron and aimed at allowing electron apps access to Overwolf APIs.
- @overwolf/ow-electron is a package based on the electron package, adding several new features to it.
- @overwolf/ow-electron-builder is a package based on the electron-builder package, which supports building ow-electron apps.
- @overwolf/electron-is-overwolf - similar to the
electron-is-dev package, allows your app to check whether it's currently running as
ow-electron, or as a baseelectronapp.
For more information, see onboarding resources and Intro to Overwolf apps.
ow-electron features
The following sections outline the different ow-electron features and how to enable them.
The owadview tag
The <owadview/> tag, which is based on the Electron <webview/> tag, automatically hosts and manages ads in your app.
To use it, place the <owadview/> tag (no attributes required) inside a <div> tag, with the size of the
standard IAB Ad unit you wish to display.
For more information, see Working with Ads.
Anonymous Analytics
Anonymous analytics is automatically enabled for any ow-electron app and is used to generate usage reports. Usage reports include data about when the app is launched, and when a the app's window is shown.
If you do no not want anonymous analytics, you will need to opt-out. For more information, see Sample app, Anonymous analytics.