Skip to content

Turning off internet causes PNMalformedResponseCategory #140

@tiberiupvisan

Description

@tiberiupvisan

I'm trying to check the reconnect mechanism in my app and after upgrading to version 7.6.0 we are getting some issues with the resubscription to a channel.

On versions 7.5.0 or below, turning off/on the internet connection completely triggers the correct events PNUnexpectedDisconnectCategory and PNReconnectedCategory.

However, on 7.6.0 we receive a PNMalformedResponseCategory and no reconnect event whatsoever.

From the docs, it seems that PNMalformedResponseCategory means that JSON parsing crashed, and considering the release notes for 7.6.0, removing the dependency on Jackson could be the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions