ĭisclaimer: I was an engineer of HyperTrack. You can also refer to the implementation of live location sharing feature here and we have open-sourced our live location sharing app. ![]() After integration happens, call ackActionByLookupId method using the same lookupID to see the real-time updating location of your friends. Now to see the updated location in google map layout on your phone, you can integrate Live Tracking View provided by SDK. On the other end you can fetch tracking detail from tracking URL to create another action to share your friend location using the same lookupID and expectedPlace and to fetch the lookupID and expectedPlace, call SDK method HyperTrack.getActionsForLookupId and repeat Step 2. Using tracking URL your friends can track you. Use SDK method HyperTrack.createAndAssignAction using lookupID and expectedPlace to generate location sharing tracking URL to share with your friend. You can use the HyperTrack SDK to build real-time location sharing feature in few steps.įollow setup guide to integrate HyperTrack SDK Using above those in parallel to generate location data and send it to the server needs to be a fine balance between accuracy and battery drain. A two-way communication channel between device and server.Google Fused Location API (On Device Side).Building real-time location sharing app requires two major things:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |