L
L
Leonid Nimchenko2018-06-18 19:48:51
Mobile development
Leonid Nimchenko, 2018-06-18 19:48:51

What is the best way to create a cross-platform mobile application with a background service?

Hello. There is a site. You need to create a mobile application for it. I opted for the Cordova and Qt platforms. (since I know html / js / css, I once wrote in c ++, and the boss asks quickly) But you need the application to receive messages from the server in the background / not running mode. As I understand it, a background service is needed. For Cordova, as I understand it, you need to write plugins for each OS. And for Qt, I did not find any information about this at all.
Tell me, please, is it possible to do this in Qt? Or is there another way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
fgengine, 2018-06-21
@lculver

With background processes in mobile phones, everything is very limited. For iOS, there are many options for the background operation of the application and each of them has a number of disadvantages ( https://www.raywenderlich.com/143128/background-mo... but in fact there is no guarantee that all your ideas can be done. things are better, a process that will do anything can be written and it will work with restrictions only when the phone is in sleep.As
for the cross-platform solution for it in the off-box, you will not have to solve it through plugins or crutches.I
would advise you to make 2 native applications.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question