question

Jai avatar image
Jai asked Mark Mullan Deactivated answered

Is there any broadcast on station unlock?

Is there any broadcast sent by clover on every time device unlock by any employ. My app need to do some data sync on every unlock after few minuts.

Broadcasts
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Mark Mullan avatar image
Mark Mullan Deactivated answered

Hi Jai,

Please check out this doc and let me know if it helps you: https://developer.android.com/reference/android/content/Intent.html#ACTIONUSERPRESENT

Thanks,

Mark

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Mark Mullan avatar image
Mark Mullan Deactivated answered

Hi Jai,

If you're looking for automatic data syncs, our docs on Webhooks would be a good place to start. https://docs.clover.com/build/webhooks/

Thanks,

Mark

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jai avatar image
Jai answered

Thanks Mark. I have previously tried the same solution but I guess the problem was with emulator . I tried the same procedure by creating a new emulator and I got the USER_PRESENT notification.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community