The Fliplet SDK enables you to use all the JS APIs outside of our environment. This means you can use them on any client-side code which is not sitting on Fliplet’s domains.
How to use the SDK?
Simply include a script tag to our JS SDK with your auth token (although it’s not strictly required to use the JS APIs).
Please note that all code uding the JS APIs should run once the
Fliplet() promise is resolved (like the above example) to ensure all files have been loaded.
Include other dependencies
Other dependencies can be included by providing a comma-separated list of the package names via the
packages query parameter.
fliplet-core is included by default, hence doesn’t need to be listed.