Select to view content in your preferred language

How to run a query on a timer when app is in the background?

833
1
Jump to solution
02-27-2018 08:04 AM
MapEnglish
Frequent Contributor

Hi:

I want to regularly query a feature service to see if there are any updates to the features. And I want to run this query when the app is in the background. The Qml Timer object with an interval set only appears to work in AppStudio Player when the app is active. How can I get this to work in the background? Should I be looking at a different approach?

Thanks,

Matt English

0 Kudos
1 Solution

Accepted Solutions
ShobanaSuresh
Esri Contributor

Hi Matt English,

Currently, running a timer in background is not supported on mobile platforms. It requires changes in Qt Framework.

Related Qt bug report : [QTBUG-50297] [iOS]: When going into the background then it should be possible to still have timers ... 

Thanks

Shobana

View solution in original post

0 Kudos
1 Reply
ShobanaSuresh
Esri Contributor

Hi Matt English,

Currently, running a timer in background is not supported on mobile platforms. It requires changes in Qt Framework.

Related Qt bug report : [QTBUG-50297] [iOS]: When going into the background then it should be possible to still have timers ... 

Thanks

Shobana

0 Kudos