capacitor-community / background-geolocation

A Capacitor plugin that sends you geolocation updates, even while the app is in the background.
MIT License
180 stars 56 forks source link

true background geo location #46

Closed shaianest closed 2 years ago

shaianest commented 2 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

yeah so when my coworker work with forground tasks in android it doesn't close the task and sticky pop up but i also appreciate the fact that going to home opens the pop up and does the tracking but as soon as the task closes the pop up goes to nothing

Describe the solution you'd like Atclear and concise description of what you want to happen.

the way this package is written is callback in js but when the task is closed completely figuring out a url in config would be ideal to what apps could do in current days and still send geo location untill user gets back to app to stop watcher

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

alter native solution for me was because of time restricted application i have to give the app to my coworker to setup android related task for now and hope community Additional context Add any other context or screenshots about the feature request here.

diachedelic commented 2 years ago

I have tried to address this request in https://github.com/capacitor-community/background-geolocation/issues/19.

shaianest commented 2 years ago

Thank you for your response but i have to say i couldnt get muoron up and running and someone on stack overflow said that is not native for capacitor and works best in cordova. Best regards shaian.

On Mon, Jan 10, 2022, 03:57 diachedelic @.***> wrote:

I have tried to address this request in #19 https://github.com/capacitor-community/background-geolocation/issues/19.

— Reply to this email directly, view it on GitHub https://github.com/capacitor-community/background-geolocation/issues/46#issuecomment-1008456601, or unsubscribe https://github.com/notifications/unsubscribe-auth/APS5VL4MNWIKL2GKSMDZSQLUVIRVNANCNFSM5LMNS3YQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.*** com>

diachedelic commented 2 years ago

I used to use mauron85's plugin in a Capacitor v2 app, so it was definitely possible at one time. Have you seen transistorsoft's paid Capacitor plugin? I have not used it but it looks fully featured. https://github.com/transistorsoft/capacitor-background-geolocation

If you still want to use this plugin, you can fork it and add any features you need. I would consider merging a pull request if you were successful. But I do not have time to implement this feature myself.