Git Product home page Git Product logo

mwmcode / rn-background-geolocation-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from transistorsoft/rn-background-geolocation-demo

0.0 0.0 0.0 120.37 MB

Demo app for react-native-background-geolocation plugin

License: MIT License

Shell 0.99% JavaScript 5.03% Ruby 0.76% C++ 4.14% Objective-C 1.76% Java 9.29% TypeScript 74.51% Objective-C++ 2.26% Makefile 0.91% Starlark 0.36%

rn-background-geolocation-demo's Introduction

[Demo App]

Fully-featured, React Native demo application for React Native Background Geolocation Module

Home Settings

Installation

  git clone https://github.com/transistorsoft/rn-background-geolocation-demo.git
  cd rn-background-geolocation-demo
  yarn install
// <or with npm>
  npm install
  npx pod-install

Now run it:

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

โš ๏ธ If you get an iOS build error, this usually fixes it:

  rm ios/Podfile.lock
  npx pod-install

The quickest way to see the plugin in-action is to boot the iOS simulator and simulate location with Freeway Drive.

The demo is composed of three separate and independent sub-applications:

๐Ÿ”ท Tracking Server

The demo app is configured to post locations to Transistor Software's demo server, which hosts a web-application for visualizing and filtering your tracking on a map.

  • After booting the app the first time, you'll be asked to enter a unique "Tracking Server Username" (eg: Github username) so the plugin can post locations to tracker.transistorsoft.com.

โš ๏ธ Make your username unique and known only to you โ€” if every one uses "test", you'll never find your device!)

Adding Geofences

The app implements a longtap event on the map. Simply tap & hold the map to initiate adding a geofence.

Tap-hold to add geofence

Enter an identifier, radius, notifyOnExit, notifyOnEntry.

rn-background-geolocation-demo's People

Contributors

andreykozlov1984 avatar christocracy avatar cosmith avatar isaaclem avatar joegoodall1 avatar mikehardy avatar transistorsoft-pkg avatar yusufzeren avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.