清泛IT社区

标题: Error 908 - The permission SEND_SMS/RECEIVE_SMS has been denied. [打印本页]

作者: App Inventor 2     时间: 2024-07-16 11:20
标题: Error 908 - The permission SEND_SMS/RECEIVE_SMS has been denied.
(, 下载次数: 4178)

RECEIVE_MSG  这个必须真机测试,模拟器不支持,可以尝试在设置中开启短信权限,这个属于危险权限,没有请求这个权限的代码块。深入的技术细节待研究。。。
------------------------------------
2024/08/04 补充:
(, 下载次数: 2100)

(, 下载次数: 2202)

根据会员反馈,编译app后,手机设置中开启短信相关“危险权限”,可以实现不交互直接发短信,使用直接发送消息方法:https://www.fun123.cn/reference/ ... g.SendMessageDirect

参考:https://community.appinventor.mi ... s-been-denied/78010
https://community.appinventor.mi ... sms/7426/5?u=taifun







欢迎光临 清泛IT社区 (https://bbs.tsingfun.com/) Powered by Discuz! X3.3