whatsapp-web.js
whatsapp-web.js copied to clipboard
Session is not persistent
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
hey guys
great job, great library.
Used within electron. I'm using "new LocalAuth()" authentication
But it works sometimes and sometimes when I close and open whatsapp it doesn't..
Does anyone know what could be causing the session to sometimes persist and sometimes not connect?
Expected behavior
persist the session, when closing the application and opening it again, staying logged in without having to read the qrcode again
Steps to Reproduce the Bug or Issue
- Read qrcode, in electron.
- Restart
- See session is ok, and connected to whatsapp
Relevant Code
No response
Browser Type
Other (please write in Additional Context)
WhatsApp Account Type
WhatsApp Business
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
Windows 10 Used in electron
Additional context
No response
[DUPLICATE] https://github.com/pedroslopez/whatsapp-web.js/issues/2164
#2164 STILL NOT WORKING!
Duplicate #2164