- 2天流量主收益都没更新,咋办呢?
26,27号收益都没数据,这是什么原因呢
2023-01-28 - 云开发这个数据是否异常呢?
[图片] 个人的小程序,访问人数也就100多人,接口调用次数咋这么高呢,买了按量计费套餐,才用了4天就超额
2023-01-18 - 为什么云开发报错了?
求大佬指点,为什么会出现这种错误?加载 “tcbGetResourceLimit” 失败:Error: ResourceUnavailable, This api not support get dau package resource limit
2022-12-24 - 求助云开发欠费问题?
为什么我购买了19.9按量付费套餐,才使用1天,就欠费了,而且还是在免费额度范围内,哪位大佬帮忙看看 [图片][图片]
2022-12-12 - 自定义导航栏转发后偶尔会出现自动跳转到主页?
使用了自定义导航栏后,安卓和苹果偶尔会出现转发后自动跳转回首页,很难复现该场景,请问如何解决呢?
2019-08-05 - InnerAudioContext在ios只有第一次有声音,安卓正常
[图片] 第一次都能log所有信息,后面连onError都没有log
2019-05-13 - 部分iphoneX的用户点击“授权登录”按钮无反应,无法弹出官方授权弹框
大部分的iphoneX用户点击按钮是可以正常弹出授权框,目前有几个iphoneX用户进入页面时候点击按钮不弹出授权框,这个问题官方是否已经修复了? 是否跟用户的操作系统有关?
2019-05-05 - 兼容低于基础库2.3.2的地理位置授权
[代码]<[代码][代码]button[代码] [代码]bindtap[代码][代码]=[代码][代码]"openSetting"[代码][代码]>授权流程</[代码][代码]button[代码][代码]>[代码]在基础库低于2.3.2时候,采用该方法报错 openSetting:fail can only be invoked by user TAP gesture. 在基础库2.0.9时候,采用该方法报错 openSetting:fail 此接口已废弃,请使用 OpenSetting 组件 index.js [代码]openSetting() {[代码][代码] [代码][代码]app.getPermission();[代码][代码]}[代码]app.js [代码]getPermission: [代码][代码]function[代码][代码](fn) {[代码][代码] [代码][代码]let _this = [代码][代码]this[代码][代码];[代码][代码] [代码][代码]let customTip = [代码][代码]false[代码][代码];[代码][代码] [代码][代码]wx.getStorage({[代码][代码] [代码][代码]key: [代码][代码]'customTip'[代码][代码],[代码][代码] [代码][代码]success(res) {[代码][代码] [代码][代码]customTip = [代码][代码]true[代码][代码];[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail() {[代码][代码] [代码][代码]wx.setStorageSync([代码][代码]'customTip'[代码][代码], customTip);[代码][代码] [代码][代码]}[代码][代码] [代码][代码]});[代码][代码] [代码][代码]wx.getLocation({[代码][代码] [代码][代码]type: [代码][代码]'wgs84'[代码][代码],[代码][代码] [代码][代码]success: [代码][代码]function[代码][代码](res) {[代码][代码] [代码][代码]console.log([代码][代码]"成功时候调用"[代码][代码])[代码][代码] [代码][代码]if[代码] [代码]([代码][代码]typeof[代码] [代码]fn == [代码][代码]"function"[代码][代码]) fn();[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail: [代码][代码]function[代码][代码]() {[代码][代码] [代码][代码]if[代码] [代码]([代码][代码]typeof[代码] [代码]fn == [代码][代码]"function"[代码][代码]) fn();[代码][代码] [代码][代码]wx.getSetting({[代码][代码] [代码][代码]success(res) {[代码][代码] [代码][代码]console.log(res)[代码][代码] [代码][代码]if[代码] [代码](customTip) {[代码][代码] [代码][代码]if[代码] [代码](!res.authSetting[[代码][代码]'scope.userLocation'[代码][代码]]) {[代码][代码] [代码][代码]wx.showModal({[代码][代码] [代码][代码]title: [代码][代码]"地理位置未授权"[代码][代码],[代码][代码] [代码][代码]content: [代码][代码]"如需使用,请开启您手机中的定位授权,开启后重新打开小程序。"[代码][代码],[代码][代码] [代码][代码]success(tip) {[代码][代码] [代码][代码]if[代码] [代码](tip.confirm) {[代码][代码] [代码][代码]wx.openSetting({[代码][代码] [代码][代码]success(data) {[代码][代码] [代码][代码]console.log([代码][代码]"重新加载"[代码][代码])[代码][代码] [代码][代码]console.log(data)[代码][代码] [代码][代码]console.log(data.authSetting[[代码][代码]'scope.userLocation'[代码][代码]])[代码][代码] [代码][代码]if[代码] [代码](data.authSetting[[代码][代码]'scope.userLocation'[代码][代码]]) {[代码][代码] [代码][代码]wx.showToast({[代码][代码] [代码][代码]title: [代码][代码]'授权成功'[代码][代码],[代码][代码] [代码][代码]icon: [代码][代码]'success'[代码][代码],[代码][代码] [代码][代码]duration: 1000[代码][代码] [代码][代码]});[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]{[代码][代码] [代码][代码]wx.showToast({[代码][代码] [代码][代码]title: [代码][代码]'授权失败'[代码][代码],[代码][代码] [代码][代码]icon: [代码][代码]'none'[代码][代码],[代码][代码] [代码][代码]duration: 1000[代码][代码] [代码][代码]});[代码][代码] [代码][代码]}[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail(errset) {[代码][代码] [代码][代码]console.log([代码][代码]"重新加载"[代码][代码])[代码][代码] [代码][代码]wx.showToast({[代码][代码] [代码][代码]title: [代码][代码]'调用设置窗口失败'[代码][代码],[代码][代码] [代码][代码]icon: [代码][代码]'none'[代码][代码],[代码][代码] [代码][代码]duration: 1000[代码][代码] [代码][代码]});[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码][代码] [代码][代码]} [代码][代码]else[代码] [代码]{[代码][代码] [代码][代码]console.log([代码][代码]"取消了地理位置授权"[代码][代码])[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码] [代码][代码]customTip = [代码][代码]true[代码][代码];[代码][代码] [代码][代码]wx.setStorageSync([代码][代码]'customTip'[代码][代码], customTip);[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail(err) {[代码][代码] [代码][代码]wx.showToast({[代码][代码] [代码][代码]title: [代码][代码]'调用授权窗口失败'[代码][代码],[代码][代码] [代码][代码]icon: [代码][代码]'none'[代码][代码],[代码][代码] [代码][代码]duration: 1000[代码][代码] [代码][代码]});[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码][代码] [代码][代码]}[代码]
2019-01-02 - 如何兼容 pageLifetimes
在组件中必须使用到show方法,当点击openSetting时候打开地理位置授权按钮,返回的时候仍然要触发show方法,但是基础库版本需要2.2.3,低版本应该怎么处理呢
2018-12-12