We have an app, which is written in Qt/C++. Its GUI is in Html/Css/JS.
The app works well on the Chrome & Edge. On desktops, the app invokes the OS browser as a separate process. The browser connects via Websocket to the app and exchange the messages for the display purposes. This works well.
However, this doesn't work in the mobiles. Because invoking a browser as a separate process, would send the actual app to background in Android & iOS.
Now many answers on SO suggests to use the mobile webview, which comes built-in. But, the Webview in Android doesn't fulfill all the requirements in all the devices. And the iOS Webview is simply substandard & weak.
Question: Is there a way to start any chrome-like browser as a thread of the app itself?
The intention is to keep the app in the foreground without compromising on the Webview limitations. Fine with source code integration & compilation, if required.