rekabhq / background_locator

A Flutter plugin for updating location in background.
MIT License
288 stars 329 forks source link

start locator with Google client #214

Open LeonardoTacca opened 3 years ago

LeonardoTacca commented 3 years ago

Whenever I call the onstart function it returns the message start locator with Google client and nothing else happens, my app already uses google's location and has all the necessary permissions, the error only occurs in my app, I deployed it in a separate file from main.dart in a stateful widget, I copied all the permission settings from the example app that comes with git, but to no avail!

JeanRoldanDev commented 3 years ago

in AndroidSettings use client: LocationClient.android

ventseslav8 commented 2 years ago

Hello! I had the same problem. Change it to LocationClient.android and now it shows: D/BackgroundLocatorPlugin(12448): start locator with Android client How can it be fixed? Thanks!

mehdok commented 2 years ago

Hi, It may depends on your phone, in some phone google location service is not available and your only choice would be default android location service.