What are the options that i have regarding when to load my app?
Your options to load your OW app:
- Popup automatically upon game launch.
- Not pop up automatically but allow users to use a hotkey for loading/unloading the app (a toggle hotkey)
- Popup automatically with a “background” window (a hidden window) that performs all the initialization - and then listen for a specific event or “custom” hotkey to show/hide the main window (this might prove more efficient and have a better experience).
In all the cases, it’s recommended to close the app automatically when the game ends (using overwolf.games.ongameinfoupdated event)