-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Multi-device Branch #889
Multi-device Branch #889
Conversation
I tested it here and it worked perfectly. Thanks |
Hello AUTHENTICATED undefined |
I believe that the error reported does not occur in the library, on the line: "whatsapp-web.js\src\Client.js:167:14" the event "Events.AUTHENTICATED" is launched and that calls something that was written by you in "C:\newtec\waw\wanx.js:32:8" |
ok |
Now you no longer need to enter the "session" parameter, the session data is saved in the folder informed in the "dataPath" attribute, if this attribute is omitted it will create a "WWebJS" folder in the project root saving the puppeteer session data. You can also enter a "clienteId" parameter to separate it into several distinct sessions. Line 28 in 5b923cc
|
You can't save the session, if you have more than one session you can pass in the |
Update
Multidevice support is now released on v1.16+. Please install the latest version of the library through
npm
and you should be good to go. Checkout the 1.16 release notes at https://github.com/pedroslopez/whatsapp-web.js/releases/tag/v1.16.0 for more information.Previous content
To do:
Updated PR.
How to use / permanent changes:
Install via
npm i github:pedroslopez/whatsapp-web.js#multidevice
becomes like this:
Meaning, there is no longer a session JSON that is given on auth nor is there change battery info. (also no longer phone info (ClientInfo.phone))