Menu

SaleSmartly SDK Demo

Choose the demo that matches your application environment, then open the corresponding GitHub page to view source code and setup instructions. The linked repositories cover the Web JSSDK, native Android and iOS SDKs, and WebView integrations for mobile and cross-platform frameworks.

Quick selection

  • Website / H5 Web JSSDK
  • Native Android app Native Android SDK
  • Native iOS app Native iOS SDK
  • Mobile or cross-platform framework Matching WebView demo

View the Full Repository on GitHub ↗View the Native SDK Repository ↗


Choose Your Integration

Each link opens the corresponding GitHub page with integration guides, sample source, or release files.

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 native Android apps with minSdk 23 or later. The SDK renders the chat UI natively without a WebView and supports both Jetpack Compose and traditional Views.

03 · Native iOS SDK

For native apps running iOS 15.0 or later. Version 0.1.2 is distributed as a dynamic XCFramework and supports arm64 devices plus arm64 and x86_64 simulators. The SDK provides a SwiftUI host and a UIKit container; the host app supplies its own chat entry and calls SalesmartlyChat.openChat() to open the chat.

  • iOS Integration Guide ↗
    Supports Swift Package Manager or manual XCFramework integration. The guide covers initialization, SwiftUI / UIKit hosting, user information, common commands, and event callbacks.
  • SwiftUI Demo Source ↗
    Demonstrates asynchronous initialization, persisted guest IDs, SalesmartlyChatHost mounting, a host-defined chat entry, messaging, collection forms, custom entries, and common callbacks.
  • SwiftPM Repository ↗·SDK ZIP v0.1.2 on GitHub ↗
    Add the SalesmartlyChat product at version 0.1.2, or inspect the SDK ZIP on its GitHub file page.

04 · 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 setup instructions are based on the main branches of the linked GitHub repositories.

Previous
Development Docking
Next
How to Set up SaleSmartly for Google Analytics Tracking
Last modified: 2026-07-30Powered by