hylid-bridge 2.12.0-alpha.36 → 2.12.0-alpha.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/custom-jsapi.d.ts +1 -0
- package/lib/custom-jsapi.js +1 -0
- package/package.json +9 -7
- package/README.md +0 -520
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hylid/custom-jsapi';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@hylid/custom-jsapi';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hylid-bridge",
|
|
3
|
-
"version": "2.12.0-alpha.
|
|
3
|
+
"version": "2.12.0-alpha.37",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"description": "Unite Api For MiniProgram Project",
|
|
6
6
|
"files": [
|
|
@@ -42,19 +42,21 @@
|
|
|
42
42
|
},
|
|
43
43
|
"./direct-mp": "./lib/clients/mp/demo/index.js",
|
|
44
44
|
"./direct-mp_web": "./lib/clients/mp_web/demo/index.js",
|
|
45
|
-
"./direct-web": "./lib/clients/web/demo/index.js"
|
|
45
|
+
"./direct-web": "./lib/clients/web/demo/index.js",
|
|
46
|
+
"./custom-jsapi": "./lib/custom-jsapi.js"
|
|
46
47
|
},
|
|
47
48
|
"license": "MIT",
|
|
48
49
|
"dependencies": {
|
|
49
50
|
"@babel/runtime": "7.18.9",
|
|
50
51
|
"@goldfishjs/utils": "^2.18.0",
|
|
51
|
-
"@hylid/call": "^2.12.0-alpha.
|
|
52
|
-
"@hylid/
|
|
53
|
-
"@hylid/
|
|
52
|
+
"@hylid/call": "^2.12.0-alpha.37",
|
|
53
|
+
"@hylid/custom-jsapi": "^2.12.0-alpha.37",
|
|
54
|
+
"@hylid/env": "^2.12.0-alpha.37",
|
|
55
|
+
"@hylid/types": "^2.12.0-alpha.37",
|
|
54
56
|
"@types/miniprogram": "^1.0.3",
|
|
55
|
-
"miniapp-web-jsapi": "^2.12.0-alpha.
|
|
57
|
+
"miniapp-web-jsapi": "^2.12.0-alpha.37"
|
|
56
58
|
},
|
|
57
59
|
"sideEffects": false,
|
|
58
60
|
"registry": "https://registry.npmjs.org/",
|
|
59
61
|
"repository": "https://code.alipay.com/ant-ife/hylid-bridge.git"
|
|
60
|
-
}
|
|
62
|
+
}
|
package/README.md
DELETED
|
@@ -1,520 +0,0 @@
|
|
|
1
|
-
# hylid-bridge
|
|
2
|
-
|
|
3
|
-
> Unite Api For MiniProgram Project.
|
|
4
|
-
|
|
5
|
-
## Description
|
|
6
|
-
|
|
7
|
-
For mini programs that are launched to different native apps, they run on different containers. The JSAPIs that these mini programs can call may vary. This package can solve this problem.
|
|
8
|
-
|
|
9
|
-
## Install
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
npm i hylid-bridge --save
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
### Use in Modern Web Project
|
|
18
|
-
|
|
19
|
-
You need import method form hylid-bridge library and call it instead of according to `my` global namespace.
|
|
20
|
-
|
|
21
|
-
```ts
|
|
22
|
-
import { alert } from 'hylid-bridge';
|
|
23
|
-
|
|
24
|
-
Page({
|
|
25
|
-
alert() {
|
|
26
|
-
alert({
|
|
27
|
-
content: 'hylid-bridge alert',
|
|
28
|
-
});
|
|
29
|
-
},
|
|
30
|
-
});
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Use in Plain HTML
|
|
34
|
-
|
|
35
|
-
```html
|
|
36
|
-
<!DOCTYPE html>
|
|
37
|
-
<html>
|
|
38
|
-
<head>
|
|
39
|
-
<script src="https://cdn.marmot-cloud.com/page/hylid-bridge/umd/1.0.0/index.js"></script>
|
|
40
|
-
</head>
|
|
41
|
-
<body>
|
|
42
|
-
<script>
|
|
43
|
-
my.alert({
|
|
44
|
-
content: 'hylid-bridge',
|
|
45
|
-
});
|
|
46
|
-
</script>
|
|
47
|
-
</body>
|
|
48
|
-
</html>
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
refer: [How to transform an HTML 5 mobile app to an HTML 5 mini program](https://miniprogram.alipay.com/docs/miniprogram/platform/transform-html5)
|
|
52
|
-
|
|
53
|
-
## API
|
|
54
|
-
|
|
55
|
-
The following table lists the latest JSAPIs that are supported in JS bridge, and the API list will be constantly updated.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
### MiniProgram
|
|
59
|
-
| API | demo | gcash | tngd | alipay | chope | alipayhk | dana | truemoney | wechat |
|
|
60
|
-
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
61
|
-
|addFatigueAction|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
62
|
-
|addPhoneContact|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
63
|
-
|alert|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
64
|
-
|apDisableJSAPI|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
65
|
-
|appxrpc|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
66
|
-
|APRegionRPC|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
67
|
-
|batchQueryCdpSpaceInfo|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
68
|
-
|chooseImage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
69
|
-
|choosePhoneContact|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
70
|
-
|clearStorage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
71
|
-
|clearStorageSync|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
72
|
-
|closeBluetoothAdapter|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
73
|
-
|closeSocket|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
74
|
-
|confirm|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
75
|
-
|connectBLEDevice|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
76
|
-
|connectSocket|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
77
|
-
|createAnimation|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
78
|
-
|createWebViewContext|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
79
|
-
|datePicker|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
80
|
-
|disconnectBLEDevice|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
81
|
-
|downloadFile|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
82
|
-
|exitApp|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
83
|
-
|getAppIdSync|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
84
|
-
|getAppToken|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
85
|
-
|getAuthCode|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
86
|
-
|getBatteryInfo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
87
|
-
|getBLEDeviceCharacteristics|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
88
|
-
|getBLEDeviceServices|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
89
|
-
|getBluetoothAdapterState|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
90
|
-
|getBluetoothDevices|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
91
|
-
|getClipboard|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
92
|
-
|getComponentAuth|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
93
|
-
|getConnectedBluetoothDevices|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
94
|
-
|getFileInfo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
95
|
-
|getImageInfo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
96
|
-
|getLocation|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
97
|
-
|getNetworkType|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
98
|
-
|getOpenUserInfo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
99
|
-
|getPaymentCode|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
100
|
-
|getPhoneNumber|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
101
|
-
|getSavedFileInfo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
102
|
-
|getSavedFileList|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
103
|
-
|getScreenBrightness|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
104
|
-
|getServerTime|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
105
|
-
|getSetting|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
106
|
-
|getSiteInfo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
107
|
-
|getStorage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
108
|
-
|getStorageSync|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
109
|
-
|getSystemInfo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
110
|
-
|getSystemInfoSync|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
111
|
-
|hideBackHome|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
112
|
-
|hideKeyboard|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
113
|
-
|hideLoading|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
114
|
-
|hideNavigationBarLoading|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
115
|
-
|hideTabBar|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
116
|
-
|hideToast|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
117
|
-
|inquireQuote|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
118
|
-
|isInstalledApp|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
119
|
-
|makePhoneCall|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
120
|
-
|multiLevelSelect|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
121
|
-
|navigateBack|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
122
|
-
|navigateBackMiniProgram|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
123
|
-
|navigateTo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
124
|
-
|navigateToBizScene|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
125
|
-
|navigateToMiniProgram|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
126
|
-
|notifyBLECharacteristicValueChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
127
|
-
|offAccelerometerChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
128
|
-
|offBLECharacteristicValueChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
129
|
-
|offBLEConnectionStateChanged|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
130
|
-
|offBluetoothAdapterStateChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
131
|
-
|offBluetoothDeviceFound|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
132
|
-
|offCompassChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
133
|
-
|offMemoryWarning|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
134
|
-
|offSocketClose|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
135
|
-
|offSocketError|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
136
|
-
|offSocketMessage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
137
|
-
|offSocketOpen|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
138
|
-
|offUserCaptureScreen|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
139
|
-
|onAccelerometerChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
140
|
-
|onBLECharacteristicValueChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
141
|
-
|onBLEConnectionStateChanged|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
142
|
-
|onBluetoothAdapterStateChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
143
|
-
|onBluetoothDeviceFound|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
144
|
-
|onCompassChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
145
|
-
|onMemoryWarning|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
146
|
-
|onSocketClose|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
147
|
-
|onSocketError|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
148
|
-
|onSocketMessage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
149
|
-
|onSocketOpen|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
150
|
-
|onUserCaptureScreen|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
151
|
-
|openBluetoothAdapter|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
152
|
-
|openDocument|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
153
|
-
|openSchemeWithBacking|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
154
|
-
|openSetting|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
155
|
-
|pageScrollTo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
156
|
-
|paySignCenter|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
157
|
-
|previewImage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
158
|
-
|prompt|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
159
|
-
|readBLECharacteristicValue|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
160
|
-
|redirectTo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
161
|
-
|regionFetchAllApps|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
162
|
-
|regionSearchAppsByKeywords|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
163
|
-
|reLaunch|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
164
|
-
|removeSavedFile|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
165
|
-
|removeStorage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
166
|
-
|removeStorageSync|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
167
|
-
|request|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
168
|
-
|rpc|✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
169
|
-
|saveFile|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
170
|
-
|saveImage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
171
|
-
|scan|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
172
|
-
|sendSocketMessage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
173
|
-
|setBackgroundColor|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
174
|
-
|setCanPullDown|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
175
|
-
|setClipboard|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
176
|
-
|setKeepScreenOn|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
177
|
-
|setNavigationBar|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
178
|
-
|setOptionMenu|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
179
|
-
|setScreenBrightness|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
180
|
-
|setStorage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
181
|
-
|setStorageSync|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
182
|
-
|setTabBarStyle|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
183
|
-
|showActionSheet|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
184
|
-
|showAuthGuide|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
185
|
-
|showLoading|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
186
|
-
|showNavigationBarLoading|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
187
|
-
|showToast|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
188
|
-
|signContract|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
189
|
-
|startApp|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
190
|
-
|startBizService|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
191
|
-
|startBluetoothDevicesDiscovery|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
192
|
-
|startPullDownRefresh|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
193
|
-
|stopBluetoothDevicesDiscovery|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
194
|
-
|stopPullDownRefresh|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
195
|
-
|switchTab|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
196
|
-
|thirdPartyAuthForAc|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
197
|
-
|tradePay|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
198
|
-
|crossPay|❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
199
|
-
|uploadApdidToken|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
200
|
-
|uploadFile|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
201
|
-
|vibrate|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
202
|
-
|watchShake|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
203
|
-
|writeBLECharacteristicValue|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
204
|
-
|getLaunchOptionsSync|❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
205
|
-
|createSelectorQuery|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
206
|
-
|canIUse|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
207
|
-
|getStorageInfo|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
208
|
-
|getStorageInfoSync|✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
209
|
-
|showSharePanel|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
|
|
210
|
-
|hideOptionButton|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
211
|
-
### HTML5
|
|
212
|
-
| API | demo | gcash | tngd | alipay | chope | alipayhk | dana | truemoney |
|
|
213
|
-
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
214
|
-
|addFatigueAction|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
215
|
-
|addPhoneContact|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
216
|
-
|alert|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
217
|
-
|apDisableJSAPI|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
218
|
-
|appxrpc|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
219
|
-
|APRegionRPC|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
220
|
-
|batchQueryCdpSpaceInfo|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
221
|
-
|chooseImage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
222
|
-
|choosePhoneContact|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
223
|
-
|clearStorage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
224
|
-
|clearStorageSync|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
225
|
-
|closeBluetoothAdapter|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
226
|
-
|closeSocket|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
227
|
-
|confirm|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
228
|
-
|connectBLEDevice|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
229
|
-
|connectSocket|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
230
|
-
|createAnimation|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
231
|
-
|createWebViewContext|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
232
|
-
|datePicker|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
233
|
-
|disconnectBLEDevice|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
234
|
-
|downloadFile|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
235
|
-
|exitApp|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
236
|
-
|getAppIdSync|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
237
|
-
|getAppToken|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
238
|
-
|getAuthCode|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
239
|
-
|getBatteryInfo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
240
|
-
|getBLEDeviceCharacteristics|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
241
|
-
|getBLEDeviceServices|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
242
|
-
|getBluetoothAdapterState|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
243
|
-
|getBluetoothDevices|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
244
|
-
|getClipboard|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
245
|
-
|getComponentAuth|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
246
|
-
|getConnectedBluetoothDevices|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
247
|
-
|getFileInfo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
248
|
-
|getImageInfo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
249
|
-
|getLocation|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
250
|
-
|getNetworkType|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
251
|
-
|getOpenUserInfo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
252
|
-
|getPaymentCode|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
253
|
-
|getPhoneNumber|✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
254
|
-
|getSavedFileInfo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
255
|
-
|getSavedFileList|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
256
|
-
|getScreenBrightness|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
257
|
-
|getServerTime|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
258
|
-
|getSetting|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
259
|
-
|getSiteInfo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
260
|
-
|getStorage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
261
|
-
|getStorageSync|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
262
|
-
|getSystemInfo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
263
|
-
|getSystemInfoSync|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
264
|
-
|hideBackHome|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
265
|
-
|hideKeyboard|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
266
|
-
|hideLoading|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
267
|
-
|hideNavigationBarLoading|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
268
|
-
|hideTabBar|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
269
|
-
|hideToast|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
270
|
-
|inquireQuote|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
271
|
-
|isInstalledApp|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
272
|
-
|makePhoneCall|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
273
|
-
|multiLevelSelect|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
274
|
-
|navigateBack|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
275
|
-
|navigateBackMiniProgram|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
276
|
-
|navigateTo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
277
|
-
|navigateToBizScene|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
278
|
-
|navigateToMiniProgram|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
279
|
-
|notifyBLECharacteristicValueChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
280
|
-
|offAccelerometerChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
281
|
-
|offBLECharacteristicValueChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
282
|
-
|offBLEConnectionStateChanged|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
283
|
-
|offBluetoothAdapterStateChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
284
|
-
|offBluetoothDeviceFound|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
285
|
-
|offCompassChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
286
|
-
|offMemoryWarning|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
287
|
-
|offSocketClose|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
288
|
-
|offSocketError|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
289
|
-
|offSocketMessage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
290
|
-
|offSocketOpen|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
291
|
-
|offUserCaptureScreen|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
292
|
-
|onAccelerometerChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
293
|
-
|onBLECharacteristicValueChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
294
|
-
|onBLEConnectionStateChanged|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
295
|
-
|onBluetoothAdapterStateChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
296
|
-
|onBluetoothDeviceFound|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
297
|
-
|onCompassChange|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
298
|
-
|onMemoryWarning|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
299
|
-
|onSocketClose|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
300
|
-
|onSocketError|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
301
|
-
|onSocketMessage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
302
|
-
|onSocketOpen|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
303
|
-
|onUserCaptureScreen|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
304
|
-
|openBluetoothAdapter|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
305
|
-
|openDocument|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
306
|
-
|openSchemeWithBacking|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
307
|
-
|openSetting|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
308
|
-
|pageScrollTo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
309
|
-
|paySignCenter|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
310
|
-
|previewImage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
311
|
-
|prompt|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
312
|
-
|readBLECharacteristicValue|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
313
|
-
|redirectTo|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
314
|
-
|regionFetchAllApps|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
315
|
-
|regionSearchAppsByKeywords|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
316
|
-
|reLaunch|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
317
|
-
|removeSavedFile|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
318
|
-
|removeStorage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
319
|
-
|removeStorageSync|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
320
|
-
|request|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
321
|
-
|rpc|✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
322
|
-
|saveFile|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
323
|
-
|saveImage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
324
|
-
|scan|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
325
|
-
|sendSocketMessage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
326
|
-
|setBackgroundColor|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
327
|
-
|setCanPullDown|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
328
|
-
|setClipboard|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
329
|
-
|setKeepScreenOn|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
330
|
-
|setNavigationBar|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
331
|
-
|setOptionMenu|✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
332
|
-
|setScreenBrightness|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
333
|
-
|setStorage|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
334
|
-
|setStorageSync|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
335
|
-
|setTabBarStyle|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
336
|
-
|showActionSheet|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
337
|
-
|showAuthGuide|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
338
|
-
|showLoading|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
339
|
-
|showNavigationBarLoading|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
340
|
-
|showToast|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
341
|
-
|signContract|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
342
|
-
|startApp|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
343
|
-
|startBizService|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
344
|
-
|startBluetoothDevicesDiscovery|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
345
|
-
|startPullDownRefresh|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
346
|
-
|stopBluetoothDevicesDiscovery|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
347
|
-
|stopPullDownRefresh|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
348
|
-
|switchTab|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
349
|
-
|thirdPartyAuthForAc|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
350
|
-
|tradePay|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
351
|
-
|crossPay|❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
352
|
-
|uploadApdidToken|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
353
|
-
|uploadFile|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
354
|
-
|vibrate|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
355
|
-
|watchShake|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
356
|
-
|writeBLECharacteristicValue|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
357
|
-
|getLaunchOptionsSync|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
358
|
-
|createSelectorQuery|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
359
|
-
|canIUse|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
360
|
-
|getStorageInfo|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
361
|
-
|getStorageInfoSync|❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
362
|
-
|showSharePanel|✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
363
|
-
|hideOptionButton|✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
364
|
-
### Web
|
|
365
|
-
| API | demo | alipay | h5 | tngdh5ng |
|
|
366
|
-
| --- | --- | --- | --- | --- |
|
|
367
|
-
|addFatigueAction|✅ | ❌ | ❌ | ❌ |
|
|
368
|
-
|addPhoneContact|✅ | ✅ | ❌ | ❌ |
|
|
369
|
-
|alert|✅ | ✅ | ✅ | ✅ |
|
|
370
|
-
|apDisableJSAPI|✅ | ❌ | ❌ | ❌ |
|
|
371
|
-
|appxrpc|✅ | ❌ | ❌ | ❌ |
|
|
372
|
-
|APRegionRPC|✅ | ❌ | ❌ | ❌ |
|
|
373
|
-
|batchQueryCdpSpaceInfo|✅ | ❌ | ❌ | ❌ |
|
|
374
|
-
|chooseImage|✅ | ✅ | ❌ | ❌ |
|
|
375
|
-
|choosePhoneContact|✅ | ✅ | ❌ | ❌ |
|
|
376
|
-
|clearStorage|✅ | ✅ | ✅ | ❌ |
|
|
377
|
-
|clearStorageSync|❌ | ❌ | ✅ | ❌ |
|
|
378
|
-
|closeBluetoothAdapter|❌ | ❌ | ❌ | ❌ |
|
|
379
|
-
|closeSocket|❌ | ❌ | ❌ | ❌ |
|
|
380
|
-
|confirm|✅ | ✅ | ✅ | ✅ |
|
|
381
|
-
|connectBLEDevice|❌ | ❌ | ❌ | ❌ |
|
|
382
|
-
|connectSocket|❌ | ❌ | ❌ | ❌ |
|
|
383
|
-
|createAnimation|❌ | ❌ | ❌ | ❌ |
|
|
384
|
-
|createWebViewContext|❌ | ❌ | ❌ | ❌ |
|
|
385
|
-
|datePicker|✅ | ✅ | ❌ | ❌ |
|
|
386
|
-
|disconnectBLEDevice|❌ | ❌ | ❌ | ❌ |
|
|
387
|
-
|downloadFile|✅ | ✅ | ❌ | ❌ |
|
|
388
|
-
|exitApp|✅ | ✅ | ✅ | ✅ |
|
|
389
|
-
|getAppIdSync|❌ | ❌ | ❌ | ❌ |
|
|
390
|
-
|getAppToken|✅ | ❌ | ❌ | ❌ |
|
|
391
|
-
|getAuthCode|✅ | ✅ | ❌ | ❌ |
|
|
392
|
-
|getBatteryInfo|✅ | ✅ | ❌ | ❌ |
|
|
393
|
-
|getBLEDeviceCharacteristics|❌ | ❌ | ❌ | ❌ |
|
|
394
|
-
|getBLEDeviceServices|❌ | ❌ | ❌ | ❌ |
|
|
395
|
-
|getBluetoothAdapterState|❌ | ❌ | ❌ | ❌ |
|
|
396
|
-
|getBluetoothDevices|❌ | ❌ | ❌ | ❌ |
|
|
397
|
-
|getClipboard|✅ | ✅ | ✅ | ❌ |
|
|
398
|
-
|getComponentAuth|✅ | ❌ | ❌ | ❌ |
|
|
399
|
-
|getConnectedBluetoothDevices|❌ | ❌ | ❌ | ❌ |
|
|
400
|
-
|getFileInfo|✅ | ✅ | ❌ | ❌ |
|
|
401
|
-
|getImageInfo|✅ | ✅ | ❌ | ❌ |
|
|
402
|
-
|getLocation|✅ | ✅ | ✅ | ✅ |
|
|
403
|
-
|getNetworkType|✅ | ✅ | ✅ | ✅ |
|
|
404
|
-
|getOpenUserInfo|✅ | ❌ | ❌ | ❌ |
|
|
405
|
-
|getPaymentCode|✅ | ❌ | ❌ | ❌ |
|
|
406
|
-
|getPhoneNumber|✅ | ✅ | ❌ | ❌ |
|
|
407
|
-
|getSavedFileInfo|✅ | ✅ | ❌ | ❌ |
|
|
408
|
-
|getSavedFileList|✅ | ✅ | ❌ | ❌ |
|
|
409
|
-
|getScreenBrightness|✅ | ✅ | ❌ | ❌ |
|
|
410
|
-
|getServerTime|✅ | ✅ | ❌ | ❌ |
|
|
411
|
-
|getSetting|✅ | ✅ | ❌ | ❌ |
|
|
412
|
-
|getSiteInfo|✅ | ✅ | ✅ | ❌ |
|
|
413
|
-
|getStorage|✅ | ✅ | ✅ | ❌ |
|
|
414
|
-
|getStorageSync|❌ | ❌ | ✅ | ❌ |
|
|
415
|
-
|getSystemInfo|✅ | ✅ | ✅ | ✅ |
|
|
416
|
-
|getSystemInfoSync|❌ | ❌ | ✅ | ❌ |
|
|
417
|
-
|hideBackHome|❌ | ❌ | ❌ | ❌ |
|
|
418
|
-
|hideKeyboard|✅ | ✅ | ❌ | ❌ |
|
|
419
|
-
|hideLoading|✅ | ✅ | ✅ | ✅ |
|
|
420
|
-
|hideNavigationBarLoading|✅ | ✅ | ❌ | ❌ |
|
|
421
|
-
|hideTabBar|❌ | ❌ | ❌ | ❌ |
|
|
422
|
-
|hideToast|✅ | ✅ | ✅ | ✅ |
|
|
423
|
-
|inquireQuote|✅ | ❌ | ❌ | ❌ |
|
|
424
|
-
|isInstalledApp|✅ | ❌ | ❌ | ❌ |
|
|
425
|
-
|makePhoneCall|✅ | ✅ | ✅ | ✅ |
|
|
426
|
-
|multiLevelSelect|✅ | ✅ | ❌ | ❌ |
|
|
427
|
-
|navigateBack|✅ | ✅ | ✅ | ✅ |
|
|
428
|
-
|navigateBackMiniProgram|✅ | ✅ | ❌ | ❌ |
|
|
429
|
-
|navigateTo|✅ | ✅ | ✅ | ✅ |
|
|
430
|
-
|navigateToBizScene|✅ | ❌ | ✅ | ❌ |
|
|
431
|
-
|navigateToMiniProgram|✅ | ✅ | ✅ | ❌ |
|
|
432
|
-
|notifyBLECharacteristicValueChange|❌ | ❌ | ❌ | ❌ |
|
|
433
|
-
|offAccelerometerChange|❌ | ❌ | ❌ | ❌ |
|
|
434
|
-
|offBLECharacteristicValueChange|❌ | ❌ | ❌ | ❌ |
|
|
435
|
-
|offBLEConnectionStateChanged|❌ | ❌ | ❌ | ❌ |
|
|
436
|
-
|offBluetoothAdapterStateChange|❌ | ❌ | ❌ | ❌ |
|
|
437
|
-
|offBluetoothDeviceFound|❌ | ❌ | ❌ | ❌ |
|
|
438
|
-
|offCompassChange|❌ | ❌ | ❌ | ❌ |
|
|
439
|
-
|offMemoryWarning|❌ | ❌ | ❌ | ❌ |
|
|
440
|
-
|offSocketClose|❌ | ❌ | ❌ | ❌ |
|
|
441
|
-
|offSocketError|❌ | ❌ | ❌ | ❌ |
|
|
442
|
-
|offSocketMessage|❌ | ❌ | ❌ | ❌ |
|
|
443
|
-
|offSocketOpen|❌ | ❌ | ❌ | ❌ |
|
|
444
|
-
|offUserCaptureScreen|❌ | ❌ | ❌ | ❌ |
|
|
445
|
-
|onAccelerometerChange|❌ | ❌ | ❌ | ❌ |
|
|
446
|
-
|onBLECharacteristicValueChange|❌ | ❌ | ❌ | ❌ |
|
|
447
|
-
|onBLEConnectionStateChanged|❌ | ❌ | ❌ | ❌ |
|
|
448
|
-
|onBluetoothAdapterStateChange|❌ | ❌ | ❌ | ❌ |
|
|
449
|
-
|onBluetoothDeviceFound|❌ | ❌ | ❌ | ❌ |
|
|
450
|
-
|onCompassChange|❌ | ❌ | ❌ | ❌ |
|
|
451
|
-
|onMemoryWarning|❌ | ❌ | ❌ | ❌ |
|
|
452
|
-
|onSocketClose|❌ | ❌ | ❌ | ❌ |
|
|
453
|
-
|onSocketError|❌ | ❌ | ❌ | ❌ |
|
|
454
|
-
|onSocketMessage|❌ | ❌ | ❌ | ❌ |
|
|
455
|
-
|onSocketOpen|❌ | ❌ | ❌ | ❌ |
|
|
456
|
-
|onUserCaptureScreen|❌ | ❌ | ❌ | ❌ |
|
|
457
|
-
|openBluetoothAdapter|❌ | ❌ | ❌ | ❌ |
|
|
458
|
-
|openDocument|✅ | ✅ | ❌ | ❌ |
|
|
459
|
-
|openSchemeWithBacking|✅ | ❌ | ❌ | ❌ |
|
|
460
|
-
|openSetting|✅ | ✅ | ❌ | ❌ |
|
|
461
|
-
|pageScrollTo|❌ | ❌ | ✅ | ❌ |
|
|
462
|
-
|paySignCenter|✅ | ❌ | ❌ | ❌ |
|
|
463
|
-
|previewImage|✅ | ✅ | ❌ | ❌ |
|
|
464
|
-
|prompt|✅ | ✅ | ❌ | ✅ |
|
|
465
|
-
|readBLECharacteristicValue|❌ | ❌ | ❌ | ❌ |
|
|
466
|
-
|redirectTo|✅ | ✅ | ✅ | ❌ |
|
|
467
|
-
|regionFetchAllApps|✅ | ❌ | ❌ | ❌ |
|
|
468
|
-
|regionSearchAppsByKeywords|✅ | ❌ | ❌ | ❌ |
|
|
469
|
-
|reLaunch|❌ | ❌ | ❌ | ❌ |
|
|
470
|
-
|removeSavedFile|✅ | ✅ | ❌ | ❌ |
|
|
471
|
-
|removeStorage|✅ | ✅ | ✅ | ❌ |
|
|
472
|
-
|removeStorageSync|❌ | ❌ | ✅ | ❌ |
|
|
473
|
-
|request|✅ | ✅ | ✅ | ❌ |
|
|
474
|
-
|rpc|✅ | ✅ | ✅ | ❌ |
|
|
475
|
-
|saveFile|✅ | ✅ | ❌ | ❌ |
|
|
476
|
-
|saveImage|✅ | ✅ | ❌ | ❌ |
|
|
477
|
-
|scan|✅ | ✅ | ❌ | ❌ |
|
|
478
|
-
|sendSocketMessage|❌ | ❌ | ❌ | ❌ |
|
|
479
|
-
|setBackgroundColor|❌ | ❌ | ❌ | ❌ |
|
|
480
|
-
|setCanPullDown|❌ | ❌ | ❌ | ❌ |
|
|
481
|
-
|setClipboard|✅ | ✅ | ✅ | ✅ |
|
|
482
|
-
|setKeepScreenOn|✅ | ✅ | ❌ | ❌ |
|
|
483
|
-
|setNavigationBar|✅ | ✅ | ✅ | ✅ |
|
|
484
|
-
|setOptionMenu|✅ | ✅ | ❌ | ❌ |
|
|
485
|
-
|setScreenBrightness|✅ | ✅ | ❌ | ❌ |
|
|
486
|
-
|setStorage|✅ | ✅ | ✅ | ❌ |
|
|
487
|
-
|setStorageSync|❌ | ❌ | ✅ | ❌ |
|
|
488
|
-
|setTabBarStyle|❌ | ❌ | ❌ | ❌ |
|
|
489
|
-
|showActionSheet|✅ | ✅ | ❌ | ❌ |
|
|
490
|
-
|showAuthGuide|✅ | ✅ | ❌ | ❌ |
|
|
491
|
-
|showLoading|✅ | ✅ | ✅ | ✅ |
|
|
492
|
-
|showNavigationBarLoading|✅ | ✅ | ❌ | ❌ |
|
|
493
|
-
|showToast|✅ | ✅ | ✅ | ✅ |
|
|
494
|
-
|signContract|✅ | ✅ | ❌ | ❌ |
|
|
495
|
-
|startApp|✅ | ✅ | ❌ | ❌ |
|
|
496
|
-
|startBizService|✅ | ❌ | ❌ | ❌ |
|
|
497
|
-
|startBluetoothDevicesDiscovery|❌ | ❌ | ❌ | ❌ |
|
|
498
|
-
|startPullDownRefresh|❌ | ❌ | ❌ | ❌ |
|
|
499
|
-
|stopBluetoothDevicesDiscovery|❌ | ❌ | ❌ | ❌ |
|
|
500
|
-
|stopPullDownRefresh|❌ | ❌ | ❌ | ❌ |
|
|
501
|
-
|switchTab|❌ | ❌ | ❌ | ❌ |
|
|
502
|
-
|thirdPartyAuthForAc|✅ | ❌ | ❌ | ❌ |
|
|
503
|
-
|tradePay|✅ | ✅ | ❌ | ❌ |
|
|
504
|
-
|crossPay|❌ | ✅ | ❌ | ❌ |
|
|
505
|
-
|uploadApdidToken|✅ | ❌ | ❌ | ❌ |
|
|
506
|
-
|uploadFile|✅ | ✅ | ❌ | ❌ |
|
|
507
|
-
|vibrate|✅ | ✅ | ❌ | ✅ |
|
|
508
|
-
|watchShake|❌ | ❌ | ❌ | ❌ |
|
|
509
|
-
|writeBLECharacteristicValue|✅ | ❌ | ❌ | ❌ |
|
|
510
|
-
|getLaunchOptionsSync|❌ | ❌ | ✅ | ❌ |
|
|
511
|
-
|createSelectorQuery|❌ | ❌ | ✅ | ❌ |
|
|
512
|
-
|canIUse|❌ | ❌ | ❌ | ❌ |
|
|
513
|
-
|getStorageInfo|❌ | ❌ | ❌ | ❌ |
|
|
514
|
-
|getStorageInfoSync|❌ | ❌ | ❌ | ❌ |
|
|
515
|
-
|showSharePanel|❌ | ❌ | ❌ | ❌ |
|
|
516
|
-
|hideOptionButton|✅ | ✅ | ❌ | ❌ |
|
|
517
|
-
|
|
518
|
-
## License
|
|
519
|
-
|
|
520
|
-
MIT
|