wppconnect
wppconnect copied to clipboard
Sending button not working on ios device
I am tryting to send button with url-actions using following code, which not working in ios device:
// Simple message
client.sendText('
// With buttons
client.sendText('
Same here
android or ios?
The templete buttons are only working on android for now
use buttons simple is working on android and iphones
client.sendText('@c.us', 'WPPConnect message with buttons', { buttons: [ { id: 'your custom id 1', text: 'Some text1' }, { id: 'another id 2', text: 'Another text2' }, { id: 'another id 3', text: 'Another text3' } ], title: 'Title text' // Optional footer: 'Footer text' // Optional });
I solved mine by set useTemplateButtons: false
But useTemplateButtons: false does not work with urls buttons, right?
Yes, url and phone is not working
Any update?
useTemplateButtons: false works in android properly. On ios, sometimes it does not send the message.
There has been some advance in this matter in the following project.
https://github.com/adiwajshing/Baileys/issues/2006
The Whatsapp made some changes to block "template buttons", that is used when useTemplateButtons
is true.
When useTemplateButtons
is false, "reply buttons" are used, but there are nothing to do at moment with IOS
hi anyone have issue with IOS and how to fix it?
There are nothing to do at moment
it's working again with latest ios app version
Templatebuttons still not showing up with app closed or in background but does work with the app open.