Saving AwarenessFence into database

54 Views Asked by At

In my Android app I use Fence API from Awareness Fence, and all works as expected.

However, I need to reset the fence when the device reboots. For this purpose I have built a BroadcastReceiver on device boot. My problem is: how can I save the AwarenessFence object into the database?

Thank you.

0

There are 0 best solutions below