Skip to content

hypertrack/quickstart-expo

Repository files navigation

Expo Quickstart for HyperTrack SDK

GitHub hypertrack-sdk-expo hypertrack-sdk-react-native

HyperTrack lets you add live location tracking to your mobile app. Live location is made available along with ongoing activity, tracking controls and tracking outage with reasons.

This repo contains an example React Native app that has everything you need to get started.

For information about how to get started with React Native SDK, please check this Guide.

How to get started?

Create HyperTrack Account

Sign up for HyperTrack and get your publishable key from the Setup page.

Setup the project

  • npm install
  • npx expo prebuild
  • npx pod-install

Set your publishable key

Follow the instructions on setting up publishable key in our docs.

Setup silent push notifications

Push notification setup depends on the workflow of your choosing. HyperTrack SDK needs Firebase Cloud Messaging and APNS to manage on-device tracking as well as enable using HyperTrack cloud APIs from your server to control the tracking.

Managed workflow

Bare workflow

Follow the instructions on setting up silent push notifications in our docs.

Run the app

Depending on your workflow you'll want to run the project in following ways:

Enable permissions

Enable location and activity permissions (choose "Always Allow" for location).

Start tracking

Press Start tracking button.

To see the device on a map, open the HyperTrack dashboard.

Support

Join our Slack community for instant responses. You can also email us at [email protected]