rekabhq / background_locator

A Flutter plugin for updating location in background.
MIT License
287 stars 321 forks source link

Only IOS it doesn't work when app is killed #291

Open insoon0930 opened 2 years ago

insoon0930 commented 2 years ago

i just found out that latest version(1.6.6) example doesn't work in IOS when app is killed... (it works in android perfectly)

https://user-images.githubusercontent.com/74125508/143516181-454c3711-44ba-47f7-99ac-b4fce68ee205.mov

(real device, iphone 11, IOS 15.1)

54 Reading this issue, seems like you guys solved it, but is there anything else i need to do? I'm confused because it doesn't work...

andrewzakhartchouk commented 2 years ago

Can you share the version of background_locator in your pubspec.yaml Also the code that starts the loaction service?

insoon0930 commented 2 years ago

Can you share the version of background_locator in your pubspec.yaml Also the code that starts the loaction service?

first, thanks for the reply :) the version is 1.6.6 and i used exactly same code with the 'plugin's example' by copy and paste.. does it work on your IOS device when it is killed? now i'm wondering am i the only one struggling this

NJashwanth commented 2 years ago

Even I am facing the same issue. Did you find any solution? I am using 1.6.6 version and working with example provided by Plugin.

insoon0930 commented 2 years ago

Even I am facing the same issue. Did you find any solution? I am using 1.6.6 version and working with example provided by Plugin.

still the same :(

andrewzakhartchouk commented 2 years ago

I could get it to work on both platforms, on emulators and real devices. Have you followed all the instructions in the wiki?

insoon0930 commented 2 years ago

I could get it to work on both platforms, on emulators and real devices. Have you followed all the instructions in the wiki?

yes I did, and it looks like other people having the same issue on IOS as you see on Issues ㅜㅡㅜ