• Client API
  • iOS 8.1.3 phone sleep causing connectivity issues [iOS]

Hi

has anyone noticed that when when using the iOS client on iOS 8.1.3 that it doesn't automatically reconnect after a phone sleep? An exception is raised when the phone goes to sleep, and when it wakes, the status on the client shows that it has reconnected but it doesn't receive any further updates. The client reconnects fine with previous versions of iOS.

We are using Lightstreamer iOS Client Library version 1.2.4 build 74.14

cheers

Ben
Hello,

updating the client library to version 1.2.6 (if using Server version 5.x) or to 1.4.1 (if using Server version 6.x) should fix the issue. Downloads for both versions are available at our download page.

Let us know if the issue should persist.
Best regards,

Gianluca
    Hello, Gianluca.
    we have tried to update to the latest but with no luck.
    client is in connectingMode in the beginning.
    then go to InStreamingMode.
    but none of the market is streaming. only LSPushConnectionException.
    so I have to kill the app to start working it again.
    Hello again,

    to further investigate the issue, client-side and server-side logs would be helpful. On the client side, please enable the appropriate log categories adding the following lines to your app delegate:


    [LSLog enableSourceType:LOG_SRC_SESSION];
    [LSLog enableSourceType:LOG_SRC_STATE_MACHINE];
    [LSLog enableSourceType:LOG_SRC_URL_DISPATCHER];


    While on the server side please set the "LightstreamerLogger.connections" category to the INFO level.

    Send logs to support@lightstreamer.com when ready.
    Best regards,

    Gianluca
    7 days later

    gianluca.bertani Hello,

    updating the client library to version 1.2.6 (if using Server version 5.x) or to 1.4.1 (if using Server version 6.x) should fix the issue. Downloads for both versions are available at our download page.

    Gianluca



    We have updated to version 1.2.6 at the end of this story.For now, look like we don't have this problem any more.

    Thanks again! ))