Embedding the Threekit Player in a Mobile App
Introduction
When there is need for increased control over UI in the mobile environment, one option is to make a native app for the configurator instead of using the browser. The ThreeKit Player can be embedded natively on a mobile app by using a component that supports web content. These components behave like browsers in terms of caching.
Android
WebView
Link UI elements to the configurator by using the evaluateJavascript function.
Additional documentation on caching and intercepting fetch requests.
iOS
WKWebView
Link UI elements to the configurator by using the evaluateJavaScript function.
React Native
Install and use the react-native-webview module.
Link UI elements to the configurator by using the injectJavaScript method (found in link above).