My app is required to send the cart items(Local DB) to the user’s whatsapp as a purchase bill. How to do that? I’m having trouble with adding all items together and create the bill automatically
WhatsApp allows two method of communication; the free way using the URL (Share on WhatsApp).
The other way is to create an account in Facebook and use the WhatsApp business to communicate and even run scripts to auto respond but this is chargeable.
You can join all text togheter with the join block and then share the text through the sharing component.
Remember that you have a maximum number of characters of 256 (this is wrong. It should be 2048). If the detailed bill is over this number of characters then this will not work.
I didn’t know that.
Is it for all strings?
Or only for a Bill?
I was wrong. It is 2048 characters.
This is the maximum although the new version of Chrome allows up to 2MB of string.
Oh it’s for sharing now i get it.