diff --git a/src/platforms/mp-alipay/runtime/api/protocols.js b/src/platforms/mp-alipay/runtime/api/protocols.js index 3b82d5ba4ad17e41d39019de21772ff362a8e1f6..d38217b98801b52e9f4d730f25561e22156c953c 100644 --- a/src/platforms/mp-alipay/runtime/api/protocols.js +++ b/src/platforms/mp-alipay/runtime/api/protocols.js @@ -1,25 +1,25 @@ // 不支持的 API 列表 const todos = [ - 'getRecorderManager', - 'getBackgroundAudioManager', - 'createInnerAudioContext', - 'createCameraContext', - 'createLivePlayerContext', - 'startAccelerometer', - 'startCompass', - 'authorize', - 'chooseInvoiceTitle', - 'addTemplate', - 'deleteTemplate', - 'getTemplateLibraryById', - 'getTemplateLibraryList', - 'getTemplateList', - 'sendTemplateMessage', - 'setEnableDebug', - 'getExtConfig', - 'getExtConfigSync', - 'onWindowResize', - 'offWindowResize' + // 'getRecorderManager', + // 'getBackgroundAudioManager', + // 'createInnerAudioContext', + // 'createCameraContext', + // 'createLivePlayerContext', + // 'startAccelerometer', + // 'startCompass', + // 'authorize', + // 'chooseInvoiceTitle', + // 'addTemplate', + // 'deleteTemplate', + // 'getTemplateLibraryById', + // 'getTemplateLibraryList', + // 'getTemplateList', + // 'sendTemplateMessage', + // 'setEnableDebug', + // 'getExtConfig', + // 'getExtConfigSync', + // 'onWindowResize', + // 'offWindowResize' ] // 存在兼容性的 API 列表 diff --git a/src/platforms/mp-baidu/runtime/api/protocols.js b/src/platforms/mp-baidu/runtime/api/protocols.js index 5e3ddd4c0f1318e1e6edb1839159b4c8d29668d6..fb3b8fe13236074e5d9dfb87084faa832d2f0651 100644 --- a/src/platforms/mp-baidu/runtime/api/protocols.js +++ b/src/platforms/mp-baidu/runtime/api/protocols.js @@ -1,37 +1,37 @@ import previewImage from '../../../mp-weixin/helpers/normalize-preview-image' // 不支持的 API 列表 const todos = [ - 'hideKeyboard', - 'onGyroscopeChange', - 'startGyroscope', - 'stopGyroscope', - 'openBluetoothAdapter', - 'startBluetoothDevicesDiscovery', - 'onBluetoothDeviceFound', - 'stopBluetoothDevicesDiscovery', - 'onBluetoothAdapterStateChange', - 'getConnectedBluetoothDevices', - 'getBluetoothDevices', - 'getBluetoothAdapterState', - 'closeBluetoothAdapter', - 'writeBLECharacteristicValue', - 'readBLECharacteristicValue', - 'onBLEConnectionStateChange', - 'onBLECharacteristicValueChange', - 'notifyBLECharacteristicValueChange', - 'getBLEDeviceServices', - 'getBLEDeviceCharacteristics', - 'createBLEConnection', - 'closeBLEConnection', - 'onBeaconServiceChange', - 'onBeaconUpdate', - 'getBeacons', - 'startBeaconDiscovery', - 'stopBeaconDiscovery', - 'hideShareMenu', - 'onWindowResize', - 'offWindowResize', - 'vibrate' + // 'hideKeyboard', + // 'onGyroscopeChange', + // 'startGyroscope', + // 'stopGyroscope', + // 'openBluetoothAdapter', + // 'startBluetoothDevicesDiscovery', + // 'onBluetoothDeviceFound', + // 'stopBluetoothDevicesDiscovery', + // 'onBluetoothAdapterStateChange', + // 'getConnectedBluetoothDevices', + // 'getBluetoothDevices', + // 'getBluetoothAdapterState', + // 'closeBluetoothAdapter', + // 'writeBLECharacteristicValue', + // 'readBLECharacteristicValue', + // 'onBLEConnectionStateChange', + // 'onBLECharacteristicValueChange', + // 'notifyBLECharacteristicValueChange', + // 'getBLEDeviceServices', + // 'getBLEDeviceCharacteristics', + // 'createBLEConnection', + // 'closeBLEConnection', + // 'onBeaconServiceChange', + // 'onBeaconUpdate', + // 'getBeacons', + // 'startBeaconDiscovery', + // 'stopBeaconDiscovery', + // 'hideShareMenu', + // 'onWindowResize', + // 'offWindowResize', + // 'vibrate' ] // 存在兼容性的 API 列表 diff --git a/src/platforms/mp-qq/runtime/api/protocols.js b/src/platforms/mp-qq/runtime/api/protocols.js index 15f44004f7552c9ac2da56a42dbde131b79ddf4b..31b33449800a6176bc635650985c4776b19b81f2 100644 --- a/src/platforms/mp-qq/runtime/api/protocols.js +++ b/src/platforms/mp-qq/runtime/api/protocols.js @@ -3,40 +3,40 @@ export const protocols = { previewImage } export const todos = [ - 'startBeaconDiscovery', - 'stopBeaconDiscovery', - 'getBeacons', - 'onBeaconUpdate', - 'onBeaconServiceChange', - 'addPhoneContact', - 'getHCEState', - 'startHCE', - 'stopHCE', - 'onHCEMessage', - 'sendHCEMessage', - 'startWifi', - 'stopWifi', - 'connectWifi', - 'getWifiList', - 'onGetWifiList', - 'setWifiList', - 'onWifiConnected', - 'getConnectedWifi', - 'setTopBarText', - 'getPhoneNumber', - 'chooseAddress', - 'addCard', - 'openCard', - 'getWeRunData', - 'launchApp', - 'chooseInvoiceTitle', - 'checkIsSupportSoterAuthentication', - 'startSoterAuthentication', - 'checkIsSoterEnrolledInDevice', - 'vibrate', - 'loadFontFace', - 'getExtConfig', - 'getExtConfigSync' + // 'startBeaconDiscovery', + // 'stopBeaconDiscovery', + // 'getBeacons', + // 'onBeaconUpdate', + // 'onBeaconServiceChange', + // 'addPhoneContact', + // 'getHCEState', + // 'startHCE', + // 'stopHCE', + // 'onHCEMessage', + // 'sendHCEMessage', + // 'startWifi', + // 'stopWifi', + // 'connectWifi', + // 'getWifiList', + // 'onGetWifiList', + // 'setWifiList', + // 'onWifiConnected', + // 'getConnectedWifi', + // 'setTopBarText', + // 'getPhoneNumber', + // 'chooseAddress', + // 'addCard', + // 'openCard', + // 'getWeRunData', + // 'launchApp', + // 'chooseInvoiceTitle', + // 'checkIsSupportSoterAuthentication', + // 'startSoterAuthentication', + // 'checkIsSoterEnrolledInDevice', + // 'vibrate', + // 'loadFontFace', + // 'getExtConfig', + // 'getExtConfigSync' ] export const canIUses = [ 'scanCode', diff --git a/src/platforms/mp-toutiao/runtime/api/protocols.js b/src/platforms/mp-toutiao/runtime/api/protocols.js index 25a4273f855da95e0142e1499345710d66c7b25b..de3538979a785b7ecd14f60d2d771878fbd04c8d 100644 --- a/src/platforms/mp-toutiao/runtime/api/protocols.js +++ b/src/platforms/mp-toutiao/runtime/api/protocols.js @@ -2,64 +2,64 @@ import previewImage from '../../../mp-weixin/helpers/normalize-preview-image' // 不支持的 API 列表 const todos = [ - 'createCameraContext', - 'createLivePlayerContext', - 'getSavedFileInfo', - 'createMapContext', - 'onMemoryWarning', - 'onGyroscopeChange', - 'startGyroscope', - 'stopGyroscope', - 'setScreenBrightness', - 'getScreenBrightness', - 'addPhoneContact', - 'openBluetoothAdapter', - 'startBluetoothDevicesDiscovery', - 'onBluetoothDeviceFound', - 'stopBluetoothDevicesDiscovery', - 'onBluetoothAdapterStateChange', - 'getConnectedBluetoothDevices', - 'getBluetoothDevices', - 'getBluetoothAdapterState', - 'closeBluetoothAdapter', - 'writeBLECharacteristicValue', - 'readBLECharacteristicValue', - 'onBLEConnectionStateChange', - 'onBLECharacteristicValueChange', - 'notifyBLECharacteristicValueChange', - 'getBLEDeviceServices', - 'getBLEDeviceCharacteristics', - 'createBLEConnection', - 'closeBLEConnection', - 'onBeaconServiceChange', - 'onBeaconUpdate', - 'getBeacons', - 'startBeaconDiscovery', - 'stopBeaconDiscovery', - 'showNavigationBarLoading', - 'hideNavigationBarLoading', - 'setTabBarItem', - 'setTabBarStyle', - 'hideTabBar', - 'showTabBar', - 'setTabBarBadge', - 'removeTabBarBadge', - 'showTabBarRedDot', - 'hideTabBarRedDot', - 'setBackgroundColor', - 'setBackgroundTextStyle', - 'chooseInvoiceTitle', - 'addTemplate', - 'deleteTemplate', - 'getTemplateLibraryById', - 'getTemplateLibraryList', - 'getTemplateList', - 'sendTemplateMessage', - 'setEnableDebug', - 'onWindowResize', - 'offWindowResize', - 'createOffscreenCanvas', - 'vibrate' + // 'createCameraContext', + // 'createLivePlayerContext', + // 'getSavedFileInfo', + // 'createMapContext', + // 'onMemoryWarning', + // 'onGyroscopeChange', + // 'startGyroscope', + // 'stopGyroscope', + // 'setScreenBrightness', + // 'getScreenBrightness', + // 'addPhoneContact', + // 'openBluetoothAdapter', + // 'startBluetoothDevicesDiscovery', + // 'onBluetoothDeviceFound', + // 'stopBluetoothDevicesDiscovery', + // 'onBluetoothAdapterStateChange', + // 'getConnectedBluetoothDevices', + // 'getBluetoothDevices', + // 'getBluetoothAdapterState', + // 'closeBluetoothAdapter', + // 'writeBLECharacteristicValue', + // 'readBLECharacteristicValue', + // 'onBLEConnectionStateChange', + // 'onBLECharacteristicValueChange', + // 'notifyBLECharacteristicValueChange', + // 'getBLEDeviceServices', + // 'getBLEDeviceCharacteristics', + // 'createBLEConnection', + // 'closeBLEConnection', + // 'onBeaconServiceChange', + // 'onBeaconUpdate', + // 'getBeacons', + // 'startBeaconDiscovery', + // 'stopBeaconDiscovery', + // 'showNavigationBarLoading', + // 'hideNavigationBarLoading', + // 'setTabBarItem', + // 'setTabBarStyle', + // 'hideTabBar', + // 'showTabBar', + // 'setTabBarBadge', + // 'removeTabBarBadge', + // 'showTabBarRedDot', + // 'hideTabBarRedDot', + // 'setBackgroundColor', + // 'setBackgroundTextStyle', + // 'chooseInvoiceTitle', + // 'addTemplate', + // 'deleteTemplate', + // 'getTemplateLibraryById', + // 'getTemplateLibraryList', + // 'getTemplateList', + // 'sendTemplateMessage', + // 'setEnableDebug', + // 'onWindowResize', + // 'offWindowResize', + // 'createOffscreenCanvas', + // 'vibrate' ] // 存在兼容性的 API 列表