Saphere Scan
The v2 widget: installation, tokens, events and hooks, customisation, and the mobile shells.
Saphere Scan is a self-contained web widget. It owns a container on your page, takes the user through consent and guidance, captures thirty seconds of video, and hands you a result. It runs in a browser and inside a WebView, in ten languages, and everything it displays is an option you can change.
Load one ES module from the CDN, mount it into a container you own, and the widget takes over from there
Access tokensHow the widget obtains a short-lived credential at the start of every measurement, without ever holding your API key
EventsForty lifecycle events, from the camera being requested to the result arriving — everything the widget knows about …
HooksWhere your code can refuse what the widget is about to do, bounded so that it can never freeze the journey
CustomisationEvery screen, every string and every colour is an option — change what you need without forking anything
Mobile & WebViewRunning Saphere Scan inside a React Native or Ionic/Capacitor shell, where the camera permission belongs to the native …