Choose the demo that matches your application environment, then open the corresponding GitHub directory to view the source code and setup instructions. The repository includes the Web JSSDK, the native Android SDK, and WebView integrations for multiple mobile and cross-platform frameworks.
Quick selection
- Website / H5 → Web JSSDK
- Android without WebView → Native Android SDK
- Mobile or cross-platform framework → Matching WebView demo
View the Full Repository on GitHub ↗
Choose Your Integration
Each link opens the matching GitHub directory with sample code and run instructions.
01 · Web JSSDK
For websites, H5 pages, and other browser-based applications.
- HTML / JavaScript ↗
Runs without a frontend framework and covers basic integration, upload controls, resource-load monitoring, close-button control, launcher customization, and Google Analytics reporting. - Vue ↗
For Vue projects; demonstrates SDK script loading, SDK URL replacement, and local development.
02 · Native Android SDK
For integrating the SDK directly into an Android app without using a WebView.
- Native Android SDK ↗
Try the Demo APK or download the SDK AAR. The guide covers initialization, Compose / View mounting, user information, common commands, callbacks, and permissions.
03 · Mobile & Cross-Platform WebView
For native mobile apps and cross-platform frameworks that load the SaleSmartly chat page in a WebView.
- Android WebView ↗
For native Android projects; demonstrates loading the SaleSmartly chat page in a WebView. - iOS WebView ↗
Native Xcode example with WebView integration and the Info.plist permissions file location. - Flutter WebView ↗
Uses WebViewController to load the page and includes dependency setup, run commands, and the entry file location. - React Native (Expo) ↗
Uses react-native-webview and includes dependency setup, start commands, and the App.tsx entry file. - uni-app WebView ↗
Uses the web-view component, runs with HBuilderX, and includes manifest.json permission settings. - NativeScript Vue ↗
Uses the WebView component for iOS and Android and identifies the Home.vue entry file.
Source code and run instructions are based on the repository's main branch.