get glympse url without user interaction

457 Views Asked by At

I am writing an automation app and would like to share Glympse location automatically without user interaction when the user starts to drive.

I took a look at the SDK to use Android intents, and it looks like I can populate all details, but to get a link, the user still needs to click the "Create" button that pops up. I get the created link back in my app only after the user clicks the "Create" button.

Is there a way for my app to get the Glympse url without user interaction?

1

There are 1 best solutions below

2
On BEST ANSWER

Sending a Glympse without an explicit user action is not currently supported through the Glympse app. It's technically possible to do it using the Glympse client SDK, but doing so goes against the stated "Best Practices for Respecting User Privacy" https://developer.glympse.com/docs/core/guidelines

A Glympse sharing event should be initiated only by an explicit user action on the Glympse form (e.g. user needs to tap "Send" on the Glympse form to start the Glympse). In other words, your application may not programmatically invoke the "Send" command on behalf of the user.