嘉Long
嘉Long
  • 发布:2019-12-18 10:35
  • 更新:2019-12-18 10:35
  • 阅读:487

【报Bug】升级后, 获取坐标失败,原本好好的,现在只好切回上一版打包

分类:5+ SDK

IOS 12.4
使用 HBuilder 2.4.2 20191115 正常,
升级最新以后,得不到坐标了,只好切回上一版

if(plus.geolocation) {
plus.geolocation.getCurrentPosition(callback, function(e) {
plus.nativeUI.toast("获取位置信息失败:" + e.message);
}, {
geocode: true
});
} else {
plus.nativeUI.toast("该浏览器不支持地理定位");
}

2019-12-18 10:35 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复