Location sharing
Location sharing while driving provides peace of mind to family members. The graphical interface helps the user to enable location sharing and create a link that displays his location on a map to a friend or family member while driving.
The feature is implemented across three distinct screens:
- Introduction Screen: The feature is disabled by default. The first screen explains the location-sharing principle. 
- Duration Selection Screen: On the second screen, the user can choose the duration for sharing his trip location. The available options include one day, one week, or one month. 
- Active Sharing Screen: The last screen confirms that location sharing is active. It includes a button that allows the user to generate and share a link displaying his real-time location. Additionally, it displays the remaining time before the link expires. 

To integrate and display this feature within your application, invoke the following method:
DriveKitTripAnalysisUI.startTripSharingActivity(context)DriveKitTripAnalysisUI.INSTANCE.startTripSharingActivity(context);Last updated
Was this helpful?

