how to run a widget in background

0
I am trying to create an app with bluetooth functionality, I was able to create a widget with cordova plugin and read live data.  How do i keep listening to data even when i was navigating to the pages in app? Is there a way i can run the widget in background and listen for data. Should i use this widget in every page to read data from hub.    Thanks.
asked
1 answers
1

You could run a microflow from your layout each couple of minutes to update your data. See this widget: https://appstore.home.mendix.com/link/app/27/

By using this in a layout you only have to adjust it there instead of modifying each page.

Regards,

Ronald

 

answered