Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Socket gets disconnected immediately when app goes to background in android.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24083

    Taher

    Hello,

    I am creating multiplayer game and after creating room if app goes in background in android [Not checked in iOS yet] the socket gets disconnected immediately.

    Please let me know if there is any solution provided by felgo, or we need to handle it in native by keeping the activity alive.

    #24086

    Filippo

    Hi Taher,

     

    mobile platforms are generally very conservative when it comes to executing tasks in the background. The best solution is making your architecture resilient to that as much as possible. Have you tried playing with Services in Qt/Android? https://doc.qt.io/qt-5/android-services.html

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded