All Projects β†’ hypertrack β†’ Live App Android

hypertrack / Live App Android

Licence: mit
Build live location sharing in your Android app

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Live App Android

SimpleLocationGetter
No description or website provided.
Stars: ✭ 21 (-96.92%)
Mutual labels:  location, location-services
location-api-sl
This API can be use to all developers to get location details of Sri Lanka πŸ‡±πŸ‡° including major cities, sub areas, districts and Provinces. ⛳️
Stars: ✭ 35 (-94.86%)
Mutual labels:  location, location-services
android
Where you can find everything Android from Mapzen
Stars: ✭ 106 (-84.43%)
Mutual labels:  location, location-services
Corelocationcli
Command line program to print location information from CoreLocation
Stars: ✭ 138 (-79.74%)
Mutual labels:  location, location-services
ReminderPro
ReminderPro(location, note, voice recording)
Stars: ✭ 27 (-96.04%)
Mutual labels:  location, location-services
React Native Android Location Services Dialog Box
React Native Android Location Services Dialog Box
Stars: ✭ 175 (-74.3%)
Mutual labels:  location, location-services
Lost
A drop-in replacement for Google Play services location APIs for Android
Stars: ✭ 327 (-51.98%)
Mutual labels:  location, location-services
pinpoint
🌎 A python script for finding your Mac.
Stars: ✭ 56 (-91.78%)
Mutual labels:  location, location-services
bdapis
Rest API service. Build with NodeJS, Express, MongoDB
Stars: ✭ 65 (-90.46%)
Mutual labels:  location, location-services
aic-mobile-ios
Art Institute of Chicago Official Mobile App
Stars: ✭ 29 (-95.74%)
Mutual labels:  location, location-services
Openlocate Android
Stars: ✭ 136 (-80.03%)
Mutual labels:  location, location-services
iOS-MapKit-Tutorial
iOS MapKit Getting Started
Stars: ✭ 24 (-96.48%)
Mutual labels:  location, location-services
Placepicker
Free Android Map Place Picker alternative using Geocoder instead of Google APIs
Stars: ✭ 126 (-81.5%)
Mutual labels:  location, location-services
XamarinForms.LocationService
Xamarin Background Services, Background Location Updates, Location Updates, BroadCastReceiver
Stars: ✭ 61 (-91.04%)
Mutual labels:  location, location-services
Hrcarmarkeranimation
This android library is helpful for google map marker animation with Smooth turn and movement.
Stars: ✭ 52 (-92.36%)
Mutual labels:  location, location-services
surger
⚑ Is there surge pricing around me right now?
Stars: ✭ 20 (-97.06%)
Mutual labels:  location, location-services
EasyWayLocation
This library contain all utils related to google location. like, getting lat or long, Address and Location Setting dialog, many more...
Stars: ✭ 142 (-79.15%)
Mutual labels:  location, location-services
Rxlocation
πŸ—Ί [DEPRECATED] Reactive Location APIs Library for Android and RxJava 2
Stars: ✭ 503 (-26.14%)
Mutual labels:  location, location-services
Locationpicker
A ready for use and fully customizable location picker for your app
Stars: ✭ 384 (-43.61%)
Mutual labels:  location
Find
High-precision indoor positioning framework for most wifi-enabled devices.
Stars: ✭ 4,890 (+618.06%)
Mutual labels:  location-services

Live Location Sharing

Open Source Love License: MIT

This open source app for Live Location Sharing is built with HyperTrack. Developers can now build live location sharing into their apps within minutes by using HyperTrack Live source code. For iOS, refer to our open source iOS repository.

HyperTrack Live for Android is available on the Google Play Store for use by users signed up with HyperTrack. HyperTrack Live for iOS is available on the public App Store.

πŸ‘‹ Read our blog post announcement to learn more about this sample app.

The app demonstrates a simple flow for users to share their live location with friends through their favorite messaging app when on the way to meet up. The convenient 23-character secure short-URL displays live location with accuracy, speed, bearing and recency. The view highlights the ongoing activity (walk, drive, stop, etc.). Device getting inactive due to permissions or other reasons, or disconnected due to unknown reasons is highlighted in the tracking experience. Battery charing and low battery states are flagged as well.

Live Location Sharing

The primary feature of Hypertrack Live is Live Location Sharing. Live Location Sharing is useful for:

  • Workforce productivity apps with messaging and customer support capabilities
  • Peer-to-peer marketplaces for goods and services
  • Ridesharing and carpooling apps
  • Consumer apps like messengers and social apps

It helps solve the user's anxiety of β€œwhere are you⁉️”.

Architecture

Architecture

Step by step process of communication:
  1. User makes a request to go to destination at location X
    • Prior to creating a trip to go to destination X, the user signs in into HyperTrack Live App using a HyperTrack account. HyperTrack Live App authenticates the user to Live App Backend and obtains a JWT auth token to access it. Live App Backend serves as a backend platform example for HyperTrack Live App to demonstrate the following:
      • Performs as HyperTrack Live App user management service. For this example, we use HyperTrack dashboard account user management as the way to perform HyperTrack Live App user management. You may wish to use your own user management setup for the app you are building.
      • Performs as HypeTrack Live App backend server performing HyperTrack APIs calls which require authentication via AccountId and SecretKey available in the setup page.
    • Once the user picks a location in the app and creates a trip with a destination to it, HyperTrack Live App performs a call to Live App Backend with the JWT token from the above.
  2. Create trip to destination at location X via Trips API
    • Live App Backend uses HyperTrack Trips API to create a trip with destination X. In order to authenticate to use the API, Live App Backend uses AccountId and SecretKey.
  3. Show trip route with ETA with live updates to the user
    • HyperTrack Views SDK queries the new trip information and provides trip information to HyperTrack Live App user. In addition, HyperTrack Views SDK receives realtime updates from HyperTrack platform and provides them as callbacks to HyperTrack Live App.
  4. User shares public short URL for the trip to locaton X with live ETA
    • HyperTrack Live App user can share a publicly visible trip URL for the trip with anyone on the internet with a browser.
  5. Short URL recipient tracks user with live ETA to destination at location X
    • The recipient or multiple recipients of the publicly visible trip URL can view HyperTrack Live App user ETA and location in realtime.
  6. User ends live location sharing
    • HyperTrack Live App user may end the trip upon reaching the destination. HyperTrack Live App notifies Live App Backend while authenticating with the JWT token from above.
  7. Complete trip to destination at location X via Trips API
    • Live App Backend uses HyperTrack Trips API to complete the trip with destination X.
    • HyperTrack Trips API updates HyperTrack Views SDK in HyperTrack Live App with a completed trip summary to be displayed to the user. Additionally, recipients of publicly visible trip URL receive a live update about the trip completion and are displayed a completed trip summary as well.

How HyperTrack Live App uses HyperTrack Trips API

HyperTrack Live App uses HyperTrack Trips API to create and complete trips by using Live App Backend. Live App Backend allows to integrate with HyperTrack Trips API via backend server integration.

Once the trip is created in the HyperTrack Live App, the Live App calls Live App Backend which in turn creates a trip via Trips API. Once the trip is completed, the app notifies Live App Backend, which in turn calls HyperTrack Trips API to complete the trip.

Usage

To use this app

Clone this repository
$ git clone https://github.com/hypertrack/live-app-android.git

$ cd live-app-android
Register app in Firebase
  1. Goto Firebase Console and create test project (or you can reuse existing one)
  1. Register new Android application using com.hypertrack.live package name.
  1. Download google-services.json file and copy it to app/ folder.
Run app on device

Go through one-time registration flow in the app.

Finish setup

Verify your email and proceed to setup page. where you should fill FCM Key section in Android paragraph obtained from Firebase Developer console > Project Settings (gear icon at top left) > Cloud Messaging tab.

Documentation

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

Contribute

Feel free to clone, use, and contribute back via pull requests. 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 [email protected] once you build one, and we would love to feature your app on our blog!

Support

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].