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

WhatsAppPayload updated with the last click to chat feature and link … #322

Closed
wants to merge 1 commit into from

Conversation

NeyerOlmos
Copy link

@NeyerOlmos NeyerOlmos commented Sep 9, 2021

Summary

This PR fixes/implements the following bugs/features:

  • Bug 1: The WhatsApp Payload generates QR but it do not redirect to the WhatsApp App

What existing problem does the pull request solve?
1.- The WhatsApp Payload generates QR with link that have the old link structure to send automatically messages, in this pull request i updated the link generation structure and now it generate a QR correctly and when click open WhatsApp to send the message automatically

Copy link
Owner

@codebude codebude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like to make QRCoder as user-friendly/easy to use as possible. The parameter comment, pointing out the exact number format is a good thing.
Nevertheless I would love to see some additional logic to remove illegal/wrong symbols in the number.

Do you mind adding in addition a Regex string replace that replaces all invalid chars from the number string? You could use the follow regex for example: https://regex101.com/r/wcshJu/1
(Replace everything the regex matches with an empty string.)

@codebude
Copy link
Owner

codebude commented Nov 1, 2021

I'm closing this, since I merge your changes via an additional branch. See #332

@codebude codebude closed this Nov 1, 2021
@NeyerOlmos NeyerOlmos deleted the WhatsAppPayloadUpdate branch May 27, 2022 13:43
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