Integrating into Native iOS/Android Apps
STRICH is built for web apps running directly in the web browser and Progressive Web Apps (PWA), which are installed web apps running in a browser but without the browser shell.
WebViews
While it is possible to integrate STRICH into native iOS and Android apps through a WKWebView (iOS) or a WebView (Android), it is not something we test or officially support. The same applies to hybrid frameworks that rely on WebViews like as Cordova or Capacitor.
STRICH requires the following capabilities to be present in the WebView runtime environment:
- JavaScript
- WebAssembly
- Loading of scripts from data:// URLs
- Access to the device's camera
This may require configuring the WebView appropriately first.
iOS Sample Code
The following repository contains sample code showing how to load the official Demo App inside a WebView in an iOS native app.
https://github.com/pixelverse-llc/strich-ios-sample
Android Sample Code
Coming soon!