Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Reconnect and Session Handling in WPP4Delphi #103

Open
aytwissi opened this issue Jan 12, 2025 · 0 comments
Open

Auto Reconnect and Session Handling in WPP4Delphi #103

aytwissi opened this issue Jan 12, 2025 · 0 comments

Comments

@aytwissi
Copy link

aytwissi commented Jan 12, 2025

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant