Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
hylid-bridge
Advanced tools
Unite Api For MiniProgram Project.
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.
npm i hylid-bridge --save
You need import method form hylid-bridge library and call it instead of according to my
global namespace.
import { alert } from 'hylid-bridge';
Page({
alert() {
alert({
content: 'hylid-bridge alert',
});
},
});
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.marmot-cloud.com/page/hylid-bridge/umd/1.0.0/index.js"></script>
</head>
<body>
<script>
my.alert({
content: 'hylid-bridge',
});
</script>
</body>
</html>
refer: How to transform an HTML 5 mobile app to an HTML 5 mini program
The following table lists the latest JSAPIs that are supported in JS bridge, and the API list will be constantly updated.
API | demo | gcash | tngd | alipay | chope | alipayhk | dana | tmn | |
---|---|---|---|---|---|---|---|---|---|
addFatigueAction | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
addPhoneContact | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
alert | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
apDisableJSAPI | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
appxrpc | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
APRegionRPC | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
batchQueryCdpSpaceInfo | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
chooseImage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
choosePhoneContact | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
clearStorage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
clearStorageSync | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
closeBluetoothAdapter | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
closeSocket | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
confirm | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
connectBLEDevice | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
connectSocket | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
createAnimation | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
createWebViewContext | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
datePicker | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
disconnectBLEDevice | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
downloadFile | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
exitApp | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getAppIdSync | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getAppToken | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getAuthCode | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getBatteryInfo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getBLEDeviceCharacteristics | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getBLEDeviceServices | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getBluetoothAdapterState | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getBluetoothDevices | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getClipboard | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getComponentAuth | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getConnectedBluetoothDevices | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getFileInfo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getImageInfo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getLocation | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getNetworkType | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getOpenUserInfo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getPaymentCode | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getPhoneNumber | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getSavedFileInfo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getSavedFileList | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getScreenBrightness | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getServerTime | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getSetting | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getSiteInfo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getStorage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getStorageSync | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getSystemInfo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getSystemInfoSync | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
hideBackHome | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
hideKeyboard | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
hideLoading | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
hideNavigationBarLoading | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
hideTabBar | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
hideToast | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
inquireQuote | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
isInstalledApp | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
makePhoneCall | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
multiLevelSelect | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
navigateBack | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
navigateBackMiniProgram | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
navigateTo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
navigateToBizScene | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
navigateToMiniProgram | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
notifyBLECharacteristicValueChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
offAccelerometerChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
offBLECharacteristicValueChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
offBLEConnectionStateChanged | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
offBluetoothAdapterStateChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
offBluetoothDeviceFound | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
offCompassChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
offMemoryWarning | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
offSocketClose | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
offSocketError | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
offSocketMessage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
offSocketOpen | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
offUserCaptureScreen | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
onAccelerometerChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
onBLECharacteristicValueChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
onBLEConnectionStateChanged | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
onBluetoothAdapterStateChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
onBluetoothDeviceFound | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
onCompassChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
onMemoryWarning | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
onSocketClose | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
onSocketError | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
onSocketMessage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
onSocketOpen | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
onUserCaptureScreen | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
openBluetoothAdapter | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
openDocument | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
openSchemeWithBacking | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
openSetting | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
pageScrollTo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
paySignCenter | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
previewImage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
prompt | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
readBLECharacteristicValue | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
redirectTo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
regionFetchAllApps | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
regionSearchAppsByKeywords | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
reLaunch | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
removeSavedFile | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
removeStorage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
removeStorageSync | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
request | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
rpc | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
saveFile | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
saveImage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
scan | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
sendSocketMessage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
setBackgroundColor | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
setCanPullDown | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
setClipboard | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
setKeepScreenOn | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
setNavigationBar | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
setOptionMenu | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
setScreenBrightness | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
setStorage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
setStorageSync | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
setTabBarStyle | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
showActionSheet | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
showAuthGuide | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
showLoading | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
showNavigationBarLoading | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
showToast | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
signContract | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
startApp | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
startBizService | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
startBluetoothDevicesDiscovery | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
startPullDownRefresh | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
stopBluetoothDevicesDiscovery | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
stopPullDownRefresh | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
switchTab | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
thirdPartyAuthForAc | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
tradePay | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
crossPay | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
uploadApdidToken | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
uploadFile | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
vibrate | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
watchShake | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
writeBLECharacteristicValue | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getLaunchOptionsSync | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
createSelectorQuery | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
canIUse | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
getStorageInfo | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getStorageInfoSync | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
showSharePanel | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
hideOptionButton | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getAppId | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getCurrentPages | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getSDKVersion | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
setTransparentTitle | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getRunScene | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
chooseFileFromDisk | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
chooseVideo | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
compressImage | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
setTabBarItem | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
showTabBar | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
API | demo | gcash | tngd | alipay | chope | alipayhk | dana | tmn | toss | mpay |
---|---|---|---|---|---|---|---|---|---|---|
addFatigueAction | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
addPhoneContact | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
alert | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
apDisableJSAPI | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
appxrpc | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
APRegionRPC | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
batchQueryCdpSpaceInfo | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
chooseImage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
choosePhoneContact | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
clearStorage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
clearStorageSync | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
closeBluetoothAdapter | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
closeSocket | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
confirm | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
connectBLEDevice | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
connectSocket | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
createAnimation | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
createWebViewContext | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
datePicker | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
disconnectBLEDevice | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
downloadFile | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
exitApp | ✅ | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ✅ | ❌ |
getAppIdSync | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getAppToken | ✅ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
getAuthCode | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getBatteryInfo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getBLEDeviceCharacteristics | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getBLEDeviceServices | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getBluetoothAdapterState | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getBluetoothDevices | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getClipboard | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getComponentAuth | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getConnectedBluetoothDevices | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getFileInfo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getImageInfo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getLocation | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getNetworkType | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getOpenUserInfo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getPaymentCode | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getPhoneNumber | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getSavedFileInfo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getSavedFileList | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getScreenBrightness | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getServerTime | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getSetting | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getSiteInfo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getStorage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getStorageSync | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getSystemInfo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getSystemInfoSync | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
hideBackHome | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
hideKeyboard | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
hideLoading | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
hideNavigationBarLoading | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
hideTabBar | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
hideToast | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
inquireQuote | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
isInstalledApp | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
makePhoneCall | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
multiLevelSelect | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
navigateBack | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
navigateBackMiniProgram | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
navigateTo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
navigateToBizScene | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
navigateToMiniProgram | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
notifyBLECharacteristicValueChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
offAccelerometerChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
offBLECharacteristicValueChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
offBLEConnectionStateChanged | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
offBluetoothAdapterStateChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
offBluetoothDeviceFound | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
offCompassChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
offMemoryWarning | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
offSocketClose | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
offSocketError | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
offSocketMessage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
offSocketOpen | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
offUserCaptureScreen | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
onAccelerometerChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
onBLECharacteristicValueChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
onBLEConnectionStateChanged | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
onBluetoothAdapterStateChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
onBluetoothDeviceFound | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
onCompassChange | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
onMemoryWarning | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
onSocketClose | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
onSocketError | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
onSocketMessage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
onSocketOpen | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
onUserCaptureScreen | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
openBluetoothAdapter | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
openDocument | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
openSchemeWithBacking | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
openSetting | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
pageScrollTo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
paySignCenter | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
previewImage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
prompt | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
readBLECharacteristicValue | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
redirectTo | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
regionFetchAllApps | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
regionSearchAppsByKeywords | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
reLaunch | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
removeSavedFile | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
removeStorage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
removeStorageSync | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
request | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
rpc | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ |
saveFile | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
saveImage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
scan | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
sendSocketMessage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
setBackgroundColor | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
setCanPullDown | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
setClipboard | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
setKeepScreenOn | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
setNavigationBar | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
setOptionMenu | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
setScreenBrightness | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
setStorage | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
setStorageSync | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
setTabBarStyle | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
showActionSheet | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
showAuthGuide | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
showLoading | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
showNavigationBarLoading | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
showToast | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
signContract | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
startApp | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
startBizService | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
startBluetoothDevicesDiscovery | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
startPullDownRefresh | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
stopBluetoothDevicesDiscovery | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
stopPullDownRefresh | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
switchTab | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
thirdPartyAuthForAc | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
tradePay | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
crossPay | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
uploadApdidToken | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
uploadFile | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
vibrate | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
watchShake | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
writeBLECharacteristicValue | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getLaunchOptionsSync | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
createSelectorQuery | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
canIUse | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getStorageInfo | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getStorageInfoSync | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
showSharePanel | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
hideOptionButton | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
getAppId | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getCurrentPages | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
getSDKVersion | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
setTransparentTitle | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
getRunScene | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
chooseFileFromDisk | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
chooseVideo | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
compressImage | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
setTabBarItem | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
showTabBar | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
API | demo | alipay | h5 | tngdh5ng |
---|---|---|---|---|
addFatigueAction | ✅ | ❌ | ❌ | ❌ |
addPhoneContact | ✅ | ✅ | ❌ | ❌ |
alert | ✅ | ✅ | ✅ | ✅ |
apDisableJSAPI | ✅ | ❌ | ❌ | ❌ |
appxrpc | ✅ | ❌ | ❌ | ❌ |
APRegionRPC | ✅ | ❌ | ❌ | ❌ |
batchQueryCdpSpaceInfo | ✅ | ❌ | ❌ | ❌ |
chooseImage | ✅ | ✅ | ❌ | ❌ |
choosePhoneContact | ✅ | ✅ | ❌ | ❌ |
clearStorage | ✅ | ✅ | ✅ | ❌ |
clearStorageSync | ❌ | ❌ | ✅ | ❌ |
closeBluetoothAdapter | ❌ | ❌ | ❌ | ❌ |
closeSocket | ❌ | ❌ | ❌ | ❌ |
confirm | ✅ | ✅ | ✅ | ✅ |
connectBLEDevice | ❌ | ❌ | ❌ | ❌ |
connectSocket | ❌ | ❌ | ❌ | ❌ |
createAnimation | ❌ | ❌ | ❌ | ❌ |
createWebViewContext | ❌ | ❌ | ❌ | ❌ |
datePicker | ✅ | ✅ | ❌ | ❌ |
disconnectBLEDevice | ❌ | ❌ | ❌ | ❌ |
downloadFile | ✅ | ✅ | ❌ | ❌ |
exitApp | ✅ | ✅ | ✅ | ✅ |
getAppIdSync | ❌ | ❌ | ❌ | ❌ |
getAppToken | ✅ | ✅ | ❌ | ❌ |
getAuthCode | ✅ | ✅ | ❌ | ❌ |
getBatteryInfo | ✅ | ✅ | ❌ | ❌ |
getBLEDeviceCharacteristics | ❌ | ❌ | ❌ | ❌ |
getBLEDeviceServices | ❌ | ❌ | ❌ | ❌ |
getBluetoothAdapterState | ❌ | ❌ | ❌ | ❌ |
getBluetoothDevices | ❌ | ❌ | ❌ | ❌ |
getClipboard | ✅ | ✅ | ✅ | ❌ |
getComponentAuth | ✅ | ❌ | ❌ | ❌ |
getConnectedBluetoothDevices | ❌ | ❌ | ❌ | ❌ |
getFileInfo | ✅ | ✅ | ❌ | ❌ |
getImageInfo | ✅ | ✅ | ❌ | ❌ |
getLocation | ✅ | ✅ | ✅ | ✅ |
getNetworkType | ✅ | ✅ | ✅ | ✅ |
getOpenUserInfo | ✅ | ❌ | ❌ | ❌ |
getPaymentCode | ✅ | ❌ | ❌ | ❌ |
getPhoneNumber | ✅ | ✅ | ❌ | ❌ |
getSavedFileInfo | ✅ | ✅ | ❌ | ❌ |
getSavedFileList | ✅ | ✅ | ❌ | ❌ |
getScreenBrightness | ✅ | ✅ | ❌ | ❌ |
getServerTime | ✅ | ✅ | ❌ | ❌ |
getSetting | ✅ | ✅ | ❌ | ❌ |
getSiteInfo | ✅ | ✅ | ✅ | ❌ |
getStorage | ✅ | ✅ | ✅ | ❌ |
getStorageSync | ❌ | ❌ | ✅ | ❌ |
getSystemInfo | ✅ | ✅ | ✅ | ✅ |
getSystemInfoSync | ❌ | ❌ | ✅ | ❌ |
hideBackHome | ❌ | ✅ | ❌ | ❌ |
hideKeyboard | ✅ | ✅ | ❌ | ❌ |
hideLoading | ✅ | ✅ | ✅ | ✅ |
hideNavigationBarLoading | ✅ | ✅ | ❌ | ❌ |
hideTabBar | ❌ | ✅ | ❌ | ❌ |
hideToast | ✅ | ✅ | ✅ | ✅ |
inquireQuote | ✅ | ❌ | ❌ | ❌ |
isInstalledApp | ✅ | ❌ | ❌ | ❌ |
makePhoneCall | ✅ | ✅ | ✅ | ✅ |
multiLevelSelect | ✅ | ✅ | ❌ | ❌ |
navigateBack | ✅ | ✅ | ✅ | ✅ |
navigateBackMiniProgram | ✅ | ✅ | ❌ | ❌ |
navigateTo | ✅ | ✅ | ✅ | ✅ |
navigateToBizScene | ❌ | ❌ | ✅ | ❌ |
navigateToMiniProgram | ✅ | ✅ | ✅ | ❌ |
notifyBLECharacteristicValueChange | ❌ | ❌ | ❌ | ❌ |
offAccelerometerChange | ❌ | ❌ | ❌ | ❌ |
offBLECharacteristicValueChange | ❌ | ❌ | ❌ | ❌ |
offBLEConnectionStateChanged | ❌ | ❌ | ❌ | ❌ |
offBluetoothAdapterStateChange | ❌ | ❌ | ❌ | ❌ |
offBluetoothDeviceFound | ❌ | ❌ | ❌ | ❌ |
offCompassChange | ❌ | ❌ | ❌ | ❌ |
offMemoryWarning | ❌ | ❌ | ❌ | ❌ |
offSocketClose | ❌ | ❌ | ❌ | ❌ |
offSocketError | ❌ | ❌ | ❌ | ❌ |
offSocketMessage | ❌ | ❌ | ❌ | ❌ |
offSocketOpen | ❌ | ❌ | ❌ | ❌ |
offUserCaptureScreen | ❌ | ❌ | ❌ | ❌ |
onAccelerometerChange | ❌ | ❌ | ❌ | ❌ |
onBLECharacteristicValueChange | ❌ | ❌ | ❌ | ❌ |
onBLEConnectionStateChanged | ❌ | ❌ | ❌ | ❌ |
onBluetoothAdapterStateChange | ❌ | ❌ | ❌ | ❌ |
onBluetoothDeviceFound | ❌ | ❌ | ❌ | ❌ |
onCompassChange | ❌ | ❌ | ❌ | ❌ |
onMemoryWarning | ❌ | ❌ | ❌ | ❌ |
onSocketClose | ❌ | ❌ | ❌ | ❌ |
onSocketError | ❌ | ❌ | ❌ | ❌ |
onSocketMessage | ❌ | ❌ | ❌ | ❌ |
onSocketOpen | ❌ | ❌ | ❌ | ❌ |
onUserCaptureScreen | ❌ | ✅ | ❌ | ❌ |
openBluetoothAdapter | ❌ | ❌ | ❌ | ❌ |
openDocument | ✅ | ✅ | ❌ | ❌ |
openSchemeWithBacking | ✅ | ❌ | ❌ | ❌ |
openSetting | ✅ | ✅ | ❌ | ❌ |
pageScrollTo | ❌ | ❌ | ✅ | ❌ |
paySignCenter | ❌ | ❌ | ❌ | ❌ |
previewImage | ✅ | ✅ | ❌ | ❌ |
prompt | ✅ | ✅ | ❌ | ✅ |
readBLECharacteristicValue | ❌ | ❌ | ❌ | ❌ |
redirectTo | ✅ | ✅ | ✅ | ❌ |
regionFetchAllApps | ✅ | ❌ | ❌ | ❌ |
regionSearchAppsByKeywords | ✅ | ❌ | ❌ | ❌ |
reLaunch | ❌ | ❌ | ❌ | ❌ |
removeSavedFile | ✅ | ✅ | ❌ | ❌ |
removeStorage | ✅ | ✅ | ✅ | ❌ |
removeStorageSync | ❌ | ❌ | ✅ | ❌ |
request | ✅ | ✅ | ✅ | ❌ |
rpc | ✅ | ✅ | ✅ | ❌ |
saveFile | ✅ | ✅ | ❌ | ❌ |
saveImage | ✅ | ✅ | ❌ | ❌ |
scan | ✅ | ✅ | ❌ | ❌ |
sendSocketMessage | ❌ | ❌ | ❌ | ❌ |
setBackgroundColor | ❌ | ✅ | ❌ | ❌ |
setCanPullDown | ❌ | ✅ | ❌ | ❌ |
setClipboard | ✅ | ✅ | ✅ | ✅ |
setKeepScreenOn | ✅ | ✅ | ❌ | ❌ |
setNavigationBar | ✅ | ✅ | ✅ | ✅ |
setOptionMenu | ❌ | ✅ | ❌ | ❌ |
setScreenBrightness | ✅ | ✅ | ❌ | ❌ |
setStorage | ✅ | ✅ | ✅ | ❌ |
setStorageSync | ❌ | ❌ | ✅ | ❌ |
setTabBarStyle | ❌ | ✅ | ❌ | ❌ |
showActionSheet | ✅ | ✅ | ❌ | ❌ |
showAuthGuide | ✅ | ✅ | ❌ | ❌ |
showLoading | ✅ | ✅ | ✅ | ✅ |
showNavigationBarLoading | ✅ | ✅ | ❌ | ❌ |
showToast | ✅ | ✅ | ✅ | ✅ |
signContract | ✅ | ✅ | ❌ | ❌ |
startApp | ✅ | ✅ | ❌ | ❌ |
startBizService | ✅ | ❌ | ❌ | ❌ |
startBluetoothDevicesDiscovery | ❌ | ❌ | ❌ | ❌ |
startPullDownRefresh | ❌ | ✅ | ❌ | ❌ |
stopBluetoothDevicesDiscovery | ❌ | ❌ | ❌ | ❌ |
stopPullDownRefresh | ❌ | ✅ | ❌ | ❌ |
switchTab | ❌ | ❌ | ❌ | ❌ |
thirdPartyAuthForAc | ✅ | ❌ | ❌ | ❌ |
tradePay | ✅ | ✅ | ❌ | ❌ |
crossPay | ❌ | ✅ | ❌ | ❌ |
uploadApdidToken | ✅ | ❌ | ❌ | ❌ |
uploadFile | ✅ | ✅ | ❌ | ❌ |
vibrate | ✅ | ✅ | ❌ | ✅ |
watchShake | ❌ | ✅ | ❌ | ❌ |
writeBLECharacteristicValue | ✅ | ❌ | ❌ | ❌ |
getLaunchOptionsSync | ❌ | ❌ | ✅ | ❌ |
createSelectorQuery | ❌ | ❌ | ✅ | ❌ |
canIUse | ❌ | ❌ | ❌ | ❌ |
getStorageInfo | ❌ | ❌ | ❌ | ❌ |
getStorageInfoSync | ❌ | ❌ | ❌ | ❌ |
showSharePanel | ❌ | ❌ | ❌ | ❌ |
hideOptionButton | ❌ | ❌ | ❌ | ❌ |
getAppId | ❌ | ❌ | ❌ | ❌ |
getCurrentPages | ❌ | ❌ | ❌ | ❌ |
getSDKVersion | ❌ | ❌ | ❌ | ❌ |
setTransparentTitle | ❌ | ✅ | ❌ | ❌ |
getRunScene | ❌ | ✅ | ❌ | ❌ |
chooseFileFromDisk | ❌ | ✅ | ❌ | ❌ |
chooseVideo | ❌ | ✅ | ❌ | ❌ |
compressImage | ❌ | ✅ | ❌ | ❌ |
setTabBarItem | ❌ | ✅ | ❌ | ❌ |
showTabBar | ❌ | ✅ | ❌ | ❌ |
MIT
FAQs
Unite Api For MiniProgram Project
The npm package hylid-bridge receives a total of 58 weekly downloads. As such, hylid-bridge popularity was classified as not popular.
We found that hylid-bridge demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.