Error adding geofences in Android (status code 1000)

后端 未结 11 1144
孤城傲影
孤城傲影 2020-12-01 17:52

I am getting an error in the onAddGeofencesResult(int statusCode, String[] geofenceRequestIds) callback with statusCode = 1000.

I have my GP

11条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-01 18:21

    Is a little later, but just now I had this issue. My guess is:

    you are using any kind of fake GPS on your tests (Lockito, emulator, etc)?

    I take some hours until I find out that the fake locations seems to disable the Geofence support! You cannot register or trigger a Geofence if you are not really in the location.

    If you turn off the fake GPS,the Geofence support become enabled again.

提交回复
热议问题