Skip to content
项目

vikrantnegi/react-native-location-tracking

在 GitHub 查看

关于

Track User location and draws the path you have taken

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

react-native-location-tracking

Tracks user and draws a path as the user location changes. This app is built using the PUBNUB for realtime updates and React Native for handling the frontend.

Read article posted on Medium

alt tag

Installation

npm modules

npm install or yarn

Pods

cd ios && pod install

Usage

react-native run-ios or react-native run-android

Debugging

iOS

  • iOS simulator has inbuilt dynamic location tracking debugging mode
  • Go to Debug > Location > Freeway Drive

Android

  • Android emulators doesn't have any in built feature to test the dynamic location changes
  • You can use 3rd party apps to mock gps location apps. GPS Joystick was working fine for me

Troubleshooting

App is giving error

Blank Map

App crashes as soon as it launches in Android

  • Try giving it the location permission manually to the app by going to the device setting

Donation

If this project helped you reduce time to develop, please consider buying me a cup of coffee :)

Buy Me A Coffee

ko-fi

探索相关项目

加载中…