secondMax
secondMax
  • 发布:2025-04-07 14:19
  • 更新:2025-04-09 15:53
  • 阅读:1548

【报Bug】makePhoneCall方法在iOS18.4版本中无反应

分类:uni小程序sdk

产品分类: uni小程序SDK

手机系统: iOS

手机系统版本号: iOS 18

手机厂商: 苹果

手机机型: iphone 14 pro max

页面类型: vue

SDK版本号: 3.98

操作步骤:
  1. 打电话按钮绑定makePhoneCall方法
  2. 点击打电话按钮

预期结果:

弹出拨号界面

实际结果:

无反应

bug描述:

如题,在调用uni.makePhoneCall方法后没有反应。
js

makeCall() {  
                uni.makePhoneCall({  
                    phoneNumber: '18313322323',  
                    success: (res) => {  
                        // console.log(res)  
                        errorInfo = JSON.stringify(res)  
                    },  
                    fail: (err) => {  
                        // console.log(err)  
                        errorInfo = JSON.stringify(err)  
                    }  
                })  
            },

html:

<view class="item" @click="makeCall">  
                    <text>打电话</text>  
                    <view class="right">  
                        <view class="icon-arrow-right"></view>  
                    </view>  
                </view>  
                <view>  
                    <text>回调信息</text>  
                    <text>{{ errorInfo }}</text>  
                </view>
2025-04-07 14:19 负责人:无 分享
已邀请:
yuewanxinghui

yuewanxinghui

应用没有打电话权限,
https://ask.dcloud.net.cn/question/4035

要回复问题请先登录注册