你好!
原生语言插件以及manifest.json都已经配置了 android.permission.BLUETOOTH_ADVERTISE 权限,但运行时还是报错:Need android.permission.BLUETOOTH_ADVERTISE permission for android.content.AttributionSource@2119d5b7: btservice-BluetoothAdapterService
当 manifest.json 的 targetSDKVersion 配置为30时,成功打开蓝牙广播且一切工作正常。而 Google Play 要求必须是 33 版本,修改后就一直有这个问题。
原生语言插件相关配置:
![](http://img-cdn-tc.dcloud.net.cn/uploads/questions/20240613/6f0296a742cbaee901256125b5fa2859.png)
manifest.json 相关配置: