English
Appearance
English
Appearance
| Plugin Method | Advantages | Disadvantages |
|---|---|---|
| WebAR SDK |
|
|
| System WebView |
|
|
| Browser Component |
| / |
Regardless of the Plugin method, the UserAgent property of the WebView component must not be changed to non-standard content.
Kivicube uses industry-standard methods to obtain basic browser information from the UserAgent.
Therefore, once the UA is non-standard, it will cause unexpected runtime behavior — for example, mobile access may be mistakenly recognized as PC access.
Reference for standard UA format:
User-Agent - MDN
Recommended UA handling method:
On the basis of the default UA, only add your own keywords or identification information at the end.
Example:WeChat WebView UA
WeChat UA:Mozilla/5.0 (Linux; Android 15; wv) AppleWebKit/537.36 (KHTML, like Gecko)
Version/4.0 Chrome/134.0.6998.136 Mobile Safari/537.36 XWEB/1340109 MMWEBSDK/20250201 MMWEBID/9925 MicroMessenger/8.0.58.2841(0x28003A3E)
WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64
WebView Original UA:Mozilla/5.0 (Linux; Android 15; wv) AppleWebKit/537.36 (KHTML, like Gecko)Version/4.0 Chrome/134.0.6998.136 Mobile Safari/537.36
Information added on WeChat:XWEB/1340109 MMWEBSDK/20250201 MMWEBID/9925 MicroMessenger/8.0.58.2841(0x28003A3E) WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64
https://github.com/kivisense/kivicube-ios-sample
https://github.com/kivisense/kivicube-android-sample
Android:Chrome Custom Tabs
Use the Kivicube Web AR Plugin for custom development.