Add geofence to an owner device

Mateuus 5 years ago

I'm making a button that activates it to create a geofence around the device. I'm having trouble defining the device as the owner of the geofence.
Do I have a function that I can assign the geofence to the device

Function pastebin

anchor

Anton Tananaev 5 years ago

Do you mean you don't know which API to call? You can check what official web app sends. Check network tab in your browser developer tools.

Mateuus 5 years ago

@tananaev Thanks!

I totally forgot about DevTools GoogleChrome