Skip to content

Capability to send PINGREQ manually #608

@tylerjroach

Description

@tylerjroach

Describe the feature

Customers are asking for a bit more control over when PINGREQ keep-alives are sent.

We understand that this is handled internally, but a public facing API that allowed triggering a PINGREQ request would improve the customer experience, especially on Android.

The Android OS has many power saving features (ex: Doze) that may hinder the devices ability to send timely PINGREQs.

Use Case

To prevent unexpected keep-alive timeouts (especially in implementations that retain connections when the screen is turned off and entering doze mode), the app developer can prevent timeouts through Alarm scheduling and manually sending the PINGREQ.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

Latest

Environment details (OS name and version, etc.)

Android (All)

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions