You get GEOFENCE_NOT_AVAILABLE
(code ‘1000’) when user disagrees to “Use Google’ location services” in Settings->Location->Mode:
To fix it:
- go to Settings->Location->Mode
- set “Device only (Use GPS to determine your location)”
- set any other option to get the popup (e.g. “High accuracy (Use GPS, Wi-Fi and mobile networks to determine location”)
- dialog “”Use Google’ location services” is shown
- choose “Agree”