Two LostApiClient objects are connected when the app launches. One is via the Mapzen SDK and another via the LostClientManager in EM. We were properly disconnecting the one created in the Mapzen SDK via mapzenMap?.isMyLocationEnabled = false but not the one in LostClientManager. This PR disconnects EM's LostApiClient which removes all of the clients from Lost's underlying client manager and allows the FusedLocationProviderApi to disconnect.
Two
LostApiClient
objects are connected when the app launches. One is via the Mapzen SDK and another via theLostClientManager
in EM. We were properly disconnecting the one created in the Mapzen SDK viamapzenMap?.isMyLocationEnabled = false
but not the one inLostClientManager
. This PR disconnects EM'sLostApiClient
which removes all of the clients from Lost's underlying client manager and allows theFusedLocationProviderApi
to disconnect.Closes #731