API Implementation Differences

View Markdown

Last edited on 2026-08-21

Due to differences in the runtime environment, the implementations of the following APIs in the Developer Tools are inconsistent with those in the client. When using these APIs, developers are advised to use real device debugging. For instructions, refer to Real Device Debugging 2.0.

API Description
wx.checkIsSupportSoterAuthentication Not supported by device
wx.startSoterAuthentication Not supported by device
wx.chooseInvoiceTitle Returns mock data
wx.addPhoneContact Not supported by device
wx.onUserCaptureScreen Not supported by device
wx.startBeaconDiscovery Not supported by device
wx.stopBeaconDiscovery Not supported by device
wx.getBeacons Not supported by device
wx.onBeaconUpdate Not supported by device
wx.onBeaconServiceChange Not supported by device
wx.makePhoneCall Popup notifies that the API call was successful
wx.onCompassChange Not supported by device
wx.chooseAddress Returns mock data