Skip to content
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

feat: Added Contact manager functions #2610

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

icleitoncosta
Copy link
Contributor

@icleitoncosta icleitoncosta commented Dec 23, 2024

All the features are functional; however, I couldn't test the synchronization with my phone's calendar because I don't have any devices with that feature enabled.
I leave it here so that anyone with a compatible device can test it.

Todas as funções estão funcionais, porém, eu não pude testar a sincronização com a agenda do meu celular, pois, não tenho nenhum dispositivo que esteja ativo a função.
Deixo a mesma aqui, para quem tenha o dispositivo habilitado, possa-a testar.

Unzip file for test and paste in your browser
wppconnect-wa.zip

await WPP.contact.save('[putNumberHere]@c.us', 'John', { surname: 'Doe', syncAdressBook: true, });

await WPP.contact.remove('[putNumberHere]@c.us');

@bracketsApps007
Copy link

bracketsApps007 commented Dec 24, 2024

With given above zip file!

WPP.contact.save is not a function

image

@bracketsApps007
Copy link

bracketsApps007 commented Dec 24, 2024

tried with this branch

WPP.contact.save and WPP.contact.remove both are only working for browser, it does not affecting on Mobile device even after refreshing contacts 3 to 4 times

@icleitoncosta
Copy link
Contributor Author

tried with this branch

WPP.contact.save and WPP.contact.remove both are only working for browser, it does not affecting on Mobile device even after refreshing contacts 3 to 4 times

Is the option to sync contacts enabled on your device (iOS or iPhone)? Go to Settings > Privacy > Contacts.

@bracketsApps007
Copy link

tried with this branch
WPP.contact.save and WPP.contact.remove both are only working for browser, it does not affecting on Mobile device even after refreshing contacts 3 to 4 times

Is the option to sync contacts enabled on your device (iOS or iPhone)? Go to Settings > Privacy > Contacts.

yes bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants