JSSDK quick start
SuperSDK is a JavaScript SDK designed for front-end business development, providing the capability to interact with native apps.
Integrate SDK
Section titled “Integrate SDK”<script src="supersdk.js"></script>After integration, the SDK will automatically mount to window.SuperSDK.
Environment Detection
Section titled “Environment Detection”if (SuperSDK.isInApp()) { // Run within the app} else { // Run in the browser}