Get started with Background Geolocation in React Native

preview_player
Показать описание
In this video you'll learn how to do (background) geolocation in React Native. These are the parts I'll show:
- The 2 libraries available
- How to get started with my preferred choice
- How to rewrite example into functional component (hook)
- How to implement location tracking, history and distance
- How to work with the simulator to simulate movement using an existing app I built

Links to resources:

Gist to hook:
Рекомендации по теме
Комментарии
Автор

thanks for this code. but i use it and im not giving any logs in my console nothing. should i move to see logs or standing is ok? what should i do to work and give me the location?

peymanhakemifar
Автор

Did you actually manage to publish this to the public store, IoS seem to instantly reject apps if you use any kind of background trakcing?

giovannadonis
Автор

Sir, Is it works for ios for backgrond geolocation ? In my case it work properly both in background and foreground, but in ios it works for foreground geolocation only?

minalchhetri
Автор

Hi Jonas, thanks for the tutorial. The resource (first link) it's dont found

victorgalvez
Автор

Hello sir can you please share the full code of this tutorial..you have running a timer with distance at same way i want to do this my project..please help me..

prasantarout
Автор

Hi, i use react native expo, i want to get user location every 15 minutes in mode .This library does supported for expo ?

mehmetsalihakcan
Автор

Are there paid lessons with voice translator for subtitles about this map article in React Native?

lglf
Автор

Great job Jonas! What simulator do you use in VScode?
i'm building a project in which employees be able to check in and check out on workplace only in particular geolocation.

olegs
Автор

Is it difficult to start and end a map delivery and call API?

lglf
Автор

Hi nice tutorial, how do you handle stationary? thank you!

clarissacarcha
Автор

Great job! could you share the useInterval hook?

jeancarbone
Автор

please tell me about "defaultLocation" from file "../utils/var"

hardikchaturvedi
Автор

Can u provide the source code of home page u rendering

tharmeekansivarasan
Автор

Does react Native expo support geo location??? Or I need react Native CLI for geo location...

babynoob
Автор

Can you please tell me a bit more about getDistance please. Thank you!

GilbertoCortez
Автор

Hi, thanks
Please tell me how it work 's id app is background stage!!

basilek