mayzs / paho.mqtt.android

MQTT Android
19 stars 6 forks source link

Android14报错 #2

Closed 390057892 closed 1 month ago

390057892 commented 5 months ago

image

java.lang.SecurityException: Caller cn.tencent.mm needs to hold android.permission.SCHEDULE_EXACT_ALARM or android.permission.USE_EXACT_ALARM to set exact alarms.

mayzs commented 4 months ago

在 manifest 中添加android.permission.SCHEDULE_EXACT_ALARM ,android.permission.USE_EXACT_ALARM 这两个权限

mayzs commented 1 month ago

1.2.0 版本去除了这两个权限