Closed ivinantony closed 1 year ago
Are you experiencing this problem when the app is in the foreground, background or both? What device and operating system are you using? What version of the plugin & Capacitor are you using?
In both. I tested in a new project as well but not working. Anybody having the issue?? It sent location at first time🥺
Please try running the app in the example/
directory and let me know what happens.
sure i will check and let you know
same here. the fist time it gives the location after there is no updates. and there is no error too
2023-02-01 11:54:28.512101+0530 App[8459:2405287] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)") 2023-02-01 11:54:28.512182+0530 App[8459:2405287] [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)") 2023-02-01 11:54:28.733926+0530 App[8459:2405287] KeyboardPlugin: resize mode - native ⚡️ Loading app at capacitor://localhost... 2023-02-01 11:54:28.898795+0530 App[8459:2405287] [Sandbox] Could not enable Mach bootstrap, errno = 1. 2023-02-01 11:54:28.898868+0530 App[8459:2405287] [Sandbox] Could not enable Mach bootstrap, errno = 1. ⚡️ WebView loaded ⚡️ To Native -> App addListener 23724426 ⚡️ To Native -> BackgroundGeolocation addWatcher 23724427 2023-02-01 11:54:39.429175+0530 App[8459:2405287] [Accessibility] WKContentView[@] set up: @ pid: @ MACH_PORT 25412608 ⚡️ TO JS {"longitude":75.542713801786633,"simulated":false,"altitudeAccuracy":25.629905700683594,"speed":null,"accuracy":8.6939967608949278,"altitude":198.73445129394531,"time":1675232679442,"latitude":12.125589638800754,"bearing":null} ⚡️ [log] - loaction {"longitude":75.54271380178663,"simulated":false,"altitudeAccuracy":25.629905700683594,"speed":null,"accuracy":8.693996760894928,"altitude":198.7344512939453,"time":1675232679442,"latitude":12.125589638800754,"bearing":null} ⚡️ [log] - {"longitude":75.54271380178663,"simulated":false,"altitudeAccuracy":25.629905700683594,"speed":null,"accuracy":8.693996760894928,"altitude":198.7344512939453,"time":1675232679442,"latitude":12.125589638800754,"bearing":null}
i found the issue. when i use distanceFilter:0 it was not getting the data. when i removed it.its working fine.
The README states that distanceFilter:0
means no filter. This should be fixed in v.1.2.8.
Describe the bug The plugin was working fine for me.but now a days it only sent at the initial time after it doesn't give any location To Reproduce Steps to reproduce the behavior: Install the plugin with latest capacitor and run the project Expected behavior Need to work continuously. Is it due to the latest capacitor version?