Skip to content

naseemakhtar994/hypertrack-live-android

 
 

Repository files navigation

Live location sharing with HyperTrack

Build Status Codacy Badge Slack Status Open Source Love License: MIT

If your users can track their Uber coming to them turn-by-turn with an accurate ETA, why not track friends, colleagues, buyers, and sellers similarly! Facebook Messenger and Google Maps recently added functionality for live location sharing and Whatsapp is likely to follow soon. Now it’s your turn.

This open source repo uses HyperTrack to enable location sharing and real-time tracking of your friends and family. Scrape parts of this app to add live location sharing into your own app, or fork the repo and modify it to your own need to build your own brand new app.

Live Tracking Demo

Example App

If you want to experience the app or want to share live location amongst your friends & family, get it from Play Store.

Get it on Google Play

Usage

To use this as your own app

  1. Clone the project.

  2. Get your HyperTrack API keys here, and add the publishable key to gradle.properties file. Refer to the Authentication docs to learn more about keys.

  3. Get Google Map API Key and add them to the AndroidManifest.xml.

  4. For the app to be released on playstore, you will have to change the app's package name.

    • Change the package name in the AndroidManifest.xml file.
    • Refactor the name of your package with right click -> refactor -> rename in the tree view, then Android studio will display a window, select "rename package" option.
    • Change manually the application Id in the build.gradle file. Once done, clean and rebuild the project.
  5. HyperTrack SDKs require FCM integration for enhanced real-time tracking experiences. Refer to our FCM Integration guide for detailed info.

To build live location sharing within your own app

Follow this step-by-step tutorial that walks through how you can embed this code in your app.

Documentation

For detailed documentation of the APIs, customizations and what all you can build using HyperTrack, please visit the official HyperTrack Docs.

Contribute

Feel free to clone, use, and contribute back via pull request. We'd love to see your pull requests - send them in! Please use the Issues Tracker to raise bug reports and feature requests.

We are excited to see what live location feature you build in your app using this project. Do ping us at help@hypertrack.io once you build one, and we would love to feature your app on our blog!

Support

Join our Slack community for instant responses, or interact with our growing community. You can also email us at help@hypertrack.com.

Dependencies