Android FusedLocationProviderApi: Incoming intent has no LocationResult or LocationAvailability

前端 未结 3 1931
故里飘歌
故里飘歌 2021-02-14 06:10

I am trying to subscribe to location updates via Google\'s FusedLocationProviderApi. I want to receive updates in the background, so that I will receive updates even if the app

3条回答
  •  被撕碎了的回忆
    2021-02-14 06:47

    Remove the extras from the pending intent, otherwise the location result is not delivered. I can't find where in the documentation this is explained but I found out after lot of trial and error.

提交回复
热议问题