flutter_share_me icon indicating copy to clipboard operation
flutter_share_me copied to clipboard

Phone number feature business WhatsApp

Open vaartatechnologies opened this issue 3 years ago • 5 comments
trafficstars

Hi, is sending message to business WhatsApp by passing phone number argument already available in plugin? Or is it just me who couldn't find it.

As we can do with personal WhatsApp:

final FlutterShareMe flutterShareMe = FlutterShareMe(); await flutterShareMe.shareWhatsAppPersonalMessage(message: 'Test Message', phoneNumber: '+919999999999');

Can we also do same with business whats app. If not would you be kind enough to implement that please?

vaartatechnologies avatar Mar 30 '22 12:03 vaartatechnologies

Hey @vaartatechnologies Thanks for opening an issue.

You already have the WhatsAppBusiness feature but that only supports Android. Take look at the readme IOS SDK doesn't provide API for WhatsApp business.

jigarfumakiya avatar Mar 30 '22 12:03 jigarfumakiya

Thanks for quick reply. Yes I only need it for Android, not for IOS.

But when I try:

await flutterShareMe.shareToWhatsApp4Biz(msg: 'Testing', phoneNumber: '+919999999999');

It shows error: The named parameter 'phoneNumber' isn't defined. P.S. I want message to specific contact pragmatically in business whats app.

Please help.

vaartatechnologies avatar Mar 30 '22 12:03 vaartatechnologies

Respected, lets ignore ios for now but can you guys plz add that feature for android? because actually thats very important feature for invoice sharing kind of where customer are using whatsapp buisness

vishalpatel1327 avatar Jul 21 '22 09:07 vishalpatel1327

@jigarfumakiya is that any possibility to make it for android only ?

vishalpatel1327 avatar Sep 02 '22 07:09 vishalpatel1327

@vaartatechnologies have you found any solution? or any alternative

HeyRonak avatar Dec 15 '22 07:12 HeyRonak