SDKBOX with JavaScript on the web

When running the Sdkbox Javascript code in a browser, such as:

sdkbox.IAP.init();
sdkbox.PluginFacebook.init();

I get:

Uncaught ReferenceError: sdkbox is not defined

Do none of the plugins work on the web? And if not, do I need to wrap all the functions in:

if (android || iOS) { }

I’m interested in Facebook integration on the web especially. I know the PluginX version of Facebook integration works on the web, so do I need to continue using this?

Thanks!

EDIT: After reading on the forums, there is no web version yet, and wrapping it in an if check works. Any extra opinions would be appreciated.

1 Like

We’re thinking of creating web version for FB, so SDKBOX will cover all the function Plugin-x offers, no timeline though, It’s a lot of work just keep up with current plugins.

1 Like