Skip to content

Self-developed App Plugin

Runtime Environment

Requirements


Comparison of Plugin Methods

Plugin MethodAdvantagesDisadvantages
WebAR SDK
  • Can support a wider range of system versions (iOS 11+, Android 7+)
  • Requires certain development access cost
System WebView
  • Lower development access cost
  • Supports iOS 14.3+
  • Requires Android 5.0+ and system WebView support
Browser Component
  • Low development access cost
  • Support iOS 13+
/

Notes

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


Plugin Method

System WebView

iOS

https://github.com/kivisense/kivicube-ios-sample

Android

https://github.com/kivisense/kivicube-android-sample

Browser Component

iOS: SFSafariViewController

Android:Chrome Custom Tabs


Custom Webpage Development

Use the Kivicube Web AR Plugin for custom development.

Quick integration for Web AR Plugin