Geofencing : HTTP request failed while sending through the background service. Gives UnknownHostException

前端 未结 5 623
天命终不由人
天命终不由人 2021-02-05 12:48

I implemented Geofence in android application. I followed this link to implement \'Geofence\' in app. I am using \'Retrofit\' library to call \'HTTP\' request.


Ap

5条回答
  •  盖世英雄少女心
    2021-02-05 13:19

    When the app goes into background mode, you need to wake up the app every now and then to sniff the mobile phone’s position. Naturally, the more often it would sniff, the faster and more reliably it would be able to detect the geofence. https://proximi.io/will-my-geofencing-function-in-the-background

提交回复
热议问题