hypertrack / hypertrack-live-android
- понедельник, 22 мая 2017 г. в 03:12:11
Java
Build live location sharing in your app
If you can track your Uber turn-by-turn with an accurate ETA, why not track friends, colleagues, buyers, and sellers similarly! Facebook Messenger and Google Maps recently added live location sharing to their apps. 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.
If you want to experience the app or share live location amongst your friends & family, get HyperTrack Live from the Play Store.
Follow this step-by-step tutorial that will walk you through how you can embed this code in your app.
Clone the project.
Get your HyperTrack API keys here, and add the publishable key to key.properties file.
Get the Google Maps API key and add it to AndroidManifest.xml
.
To release the app on the Play Store, you will have to change the app's package name.
The HyperTrack SDK requires FCM/GCM for a battery efficient real-time tracking experience. Refer to the FCM Integration guide.
HyperTrackLiveFCMListenerService
service tag in the AndroidManifest.xml file.apply google-services plugin
in build.gradle file.For detailed documentation of the APIs, customizations and what all you can build using HyperTrack, please visit the official docs.
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 help@hypertrack.io once you build one, and we would love to feature your app on our blog!
Join our Slack community for instant responses, or interact with our growing community. You can also email us at help@hypertrack.com.