- Refactor with Typescript, get more readable usage tips by ide
- Use
navigator.userAgent
to recognize Vite App, so only usable in Vite App version 3.2.0 and abover
-
Add method
app.scan
which can invoke the camera to scan a QR code -
Add static property
enabled
, indicate in Vite App or not
- Remove the static property
_support
_inIosContainer
_inAndroidContainer