whatsapp-web.js icon indicating copy to clipboard operation
whatsapp-web.js copied to clipboard

Session is not persistent

Open schneiderbruno opened this issue 1 year ago • 1 comments

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

  1. Read qrcode, in electron.
  2. Restart
  3. 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

schneiderbruno avatar May 06 '23 00:05 schneiderbruno

[DUPLICATE] https://github.com/pedroslopez/whatsapp-web.js/issues/2164

andresmv94 avatar May 08 '23 16:05 andresmv94

#2164 STILL NOT WORKING!

XxQuickSilverZz avatar May 24 '23 21:05 XxQuickSilverZz

Duplicate #2164

shirser121 avatar Aug 04 '23 15:08 shirser121