-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Whatsapp PUSH notifications #1010
Comments
This is not an error, Whatsapp itself works that way. |
and this is not how not to fix it? |
When you connect to whatsapp web through a window it automatically stops sending notifications to the phone. As far as I know it's not possible. |
As far as I know, you can disable this feature using google chrome |
identificado que o comportamento normal da própria whatsapp e não da aplicação wppconnect. |
--disable-notifications |
Check this link out for various Chrome related Commands |
can we do something like this? |
You can do it, but you stop receiving important notifications. |
I reopened the issue to include the function of setting the online status as false here on the server, using the setOnlinePresence from the library, so that you can do that. |
Important notification like what? |
Ubuntu 20.04
Node 16
WhatsApp 2.22.23.77(the same error was on previous versions)
iOS 16.0 (the same error was on previous versions)
Wppconnect 1.7.3
after connecting whatsapp to wppconnect
push notifications stop coming to the phone, as soon as I disconnect from wppconnect, everything starts working (notifications come)
config.json
{ "secretKey": "THISISMYSECURETOKEN", "host": "http://localhost", "port": "21465", "deviceName": "WppConnect", "poweredBy": "WPPConnect-Server", "startAllSession": true, "tokenStoreType": "file", "maxListeners": 15, "customUserDataDir": "./userDataDir/", "webhook": { "url": null, "autoDownload": true, "uploadS3": false, "readMessage": false, "allUnreadOnStart": false, "listenAcks": true, "onPresenceChanged": true, "onParticipantsChanged": true, "onReactionMessage": true }, "archive": { "enable": false, "waitTime": 10, "daysToArchive": 45 }, "log": { "level": "error", "logger": ["console", "file"] }, "createOptions": { "browserArgs": [ "--disable-web-security", "--no-sandbox", "--disable-web-security", "--aggressive-cache-discard", "--disable-cache", "--disable-application-cache", "--disable-offline-load-stale-cache", "--disk-cache-size=0", "--disable-background-networking", "--disable-default-apps", "--disable-extensions", "--disable-sync", "--disable-translate", "--hide-scrollbars", "--metrics-recording-only", "--mute-audio", "--no-first-run", "--safebrowsing-disable-auto-update", "--ignore-certificate-errors", "--ignore-ssl-errors", "--ignore-certificate-errors-spki-list" ] }, "mapper": { "enable": false, "prefix": "tagone-" }, "db": { "mongodbDatabase": "tokens", "mongodbCollection": "", "mongodbUser": "", "mongodbPassword": "", "mongodbHost": "", "mongoIsRemote": true, "mongoURLRemote": "", "mongodbPort": 27017, "redisHost": "localhost", "redisPort": 6379, "redisPassword": "", "redisDb": 0, "redisPrefix": "docker" } }
The text was updated successfully, but these errors were encountered: