Add geofence to an owner device

Mateuus4 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 Tananaev4 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.

Mateuus4 years ago

@tananaev Thanks!

I totally forgot about DevTools GoogleChrome