百度智能小程序工具 和真机的差异
模拟器的 API 与真机的实现差异
| API | 差异 |
|---|---|
| swan.makePhoneCall | 弹窗提示接口调用成功 |
| swan.requestPayment | 开发者工具暂不支持 |
| swan.requestAliPayment | 开发者工具暂不支持 |
| swan.requestPolymerPayment | 开发者工具暂不支持 |
| swan.navigateToMiniProgram | 弹窗提示接口调用成功 |
| swan.navigateBackMiniProgram | 弹窗提示接口调用成功 |
| swan.createVideoContext | 开发者工具暂不支持 |
| swan.createLivePlayerContext | 开发者工具暂不支持 |
| swan.openLocation | 开发者工具暂不支持 |
| swan.getLocation | 模拟数据返回 |
| swan.createMapContext | 开发者工具暂不支持 |
| swan.ai.ocrIdCard | 开发者工具暂不支持 |
| swan.ai.textReview | 开发者工具暂不支持 |
| swan.ai.textToAudio | 开发者工具暂不支持 |
| swan.canIUse | 开发者工具暂不支持 |
| swan.chooseInvoiceTitle | 开发者工具暂不支持 |
| swan.chooseAddress | 开发者工具暂不支持 |
| swan.connectSocket | 开发者工具暂不支持 |
| swan.closeSocket | 开发者工具暂不支持 |