Hi everyone,
for my use case, I need to periodically call an API REST endpoint in mobile applications. I was wondering if it's possible to create background services with Appstudio, targeting the Android and iOS platforms. Even better if Firebase Push Notifications could be integrated. I cannot find any specific document regarding this topic, for QT in general there is something, but that should not be directly applicable in my use case.
Thanks in advance!
Hi @PietroMaps. This falls outside the realm of the Maps SDK logic, but I have some general ideas that may help.
If you're using AppStudio, you are likely on Qt 5 still. With Qt 5, Qt does have support for Android background services, see here for details: https://doc.qt.io/qt-5/android-services.html
I'm not sure if there's anything specific for iOS that will do the same thing. If you are comfortable writing some C++ code and integrating that into your app, you can likely have a QThread you create run in the background and do any polling and updates that you need.
I hope that helps.