GoCarrot / teak-android

Carrot SDK for Android
Apache License 2.0
0 stars 0 forks source link

Research network responses when requests are made while activity is being backgrounded #109

Open AlexSc opened 1 year ago

AlexSc commented 1 year ago

It is very common for games to schedule local notifications when being backgrounded. Currently this appears to result in the requests producing "InternalError", presumably because the network connection is terminated after the request is sent but prior to receiving a reply.

It would be good to further investigate this use case and identify if there are things we can do to keep the network connection active long enough to receive a reply and pass it to the game.