Start a new topic

Trigger a poll when button is is pressed.

I'd really love it if there was a checkbox when creating an app, that said "Trigger poll request" when the button was pressed.

This would allow for useful interactions, a very simple example/flow would be a counter.

The app is set to poll for new data once an hour because the data doesn't update very often.

The user presses the button to increment a counter on the server.

That triggers a poll request, delayed by about 2000ms roughly the time it takes to display the tick.

The poll request gets the updated value of the counter.

The above is a very simple example, but it'd open up a lot more opportunities for interaction on the device.

Login or Signup to post a comment