This is the main CXF plugin/entry point handler for Lemonstand(IGS)
- Waiting for login event
- Parsing params
- Selecting static config file URL
- Opening lemonstand in an iframe
Event name | Description |
---|---|
cxf.igs.open | Open IGS command used by games |
cxf.dialog.close | Close IGS frame command |
cxf.native.subscription.enable | Enable the allow subscriptions flag (deprecated – use config value) |
Open a sales page directly (deprecated) | |
cxf.set.customization.surfix |
[yes, a typo] Set config suffix (context), e.g. -temp for temp servers, |
cxf.adBanner.status | Receive and process status of ads to propagate to lemonstand |
lemonstand.category.update | Forward postMessage to a specific tab/iframe target |
lemonstand.notifs.created | Handle activation of offer notifcations |
Debug messages are implemented via Debug lib
To enable CXF-WEBSHOP debug messages just run in a browser console
localStorage.debug = 'CXF-WEBSHOP:*'
This allows developers to publish their own version of the config and use it on-the-fly with existing clients.
Just append the configGGS
parameter, specifying the version you published.
E.g., having published a config-goodgamestudios@green-eggs
version, the
parameter in the client URL would be configGGS=green-eggs
.