Skip to content

Auto Reconnect and Session Handling in WPP4Delphi #103

@aytwissi

Description

@aytwissi

Hello,

I am using the WPP4Delphi library and I am trying to implement an auto-reconnect feature when the WhatsApp connection is lost or when the user logs out. I want the session to be saved and restored automatically without the need for scanning the QR code again.

I tried using the SaveSession and GetSession functions, but I am facing issues where these functions are not declared or available in the source code. Can someone guide me on how to properly implement auto-reconnect and session management? Specifically, I would like to know:

How to save and load the session in the WPP4Delphi library.
How to automatically log back in when the connection is lost or when the user logs ou t(restored automatically without the need for scanning the QR code again.).
Any help or references to relevant documentation would be greatly appreciated.

Thank you!

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