You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @ishaangarg. Yes, you are right. Starting Android 12, scheduling an exact alarm requires applications to obtain SCHEDULE_EXACT_ALARM permission.
As an alternative, Courier library provides an implementation of ping sender which uses WorkManager. WorkManager allows you to reliably schedule ping requests, to maintain the connection with broker. You can more about it here.
Thank you.
Thanks for this much needed android library now that paho project is abandoned.
With Android 13, setExactAndAllowWhileIdle() permission is now protected permission & only alarm apps can use it.
Can the connection with broker reliably survive in background without this permission? What are your plans to target Android 13 compatibility.
TIA
The text was updated successfully, but these errors were encountered: