Launching Viber App via Url Scheme on iOS

Launching Viber app via URL scheme on iOS

I sent a mail to the Viber support and they told me that this kind of URL (opening Viber call/chat with a phone number) are no more supported. When typing Viber version is 5.6.

Look at their answer:

support@viber.com:

"Thank you for contacting us.
Unfortunately, there isn’t such option in Viber."


The only thing I've found is an url to forward a message: https://www.viber.com/en/developers/share_on_viber
you can specify the text but not the recipient

Example:

viber://forward?text=foo

How to access viber and whatsapp programmatically in ios?

Custom URL Scheme for whatsapp is whatsapp://

    NSURL *whatsappURL = [NSURL URLWithString:@"whatsapp://send?text=Vignesh%2C%20Kumar!"];
if ([[UIApplication sharedApplication] canOpenURL: whatsappURL]) {
[[UIApplication sharedApplication] openURL: whatsappURL];
}

refer : https://www.whatsapp.com/faq/en/iphone/23559013

Viber

Launching Viber app via URL scheme on iOS

ViberApp is existing in IONIC IOS

i fixed it by check if these is exist

viber = "https://itunes.apple.com/ph/app/viber-messenger-chats-calls/id382617920?mt=8"

and

use app-availability

this.appAvailability.check(viber)

Create a link that will open Viber and WhatsApp and will send a message to me

What you need is called deep-linking, some examples for viber and whatsapp are:

Viber:

<a href="viber://pa?chatURI=[public account URI]&text=[message text]"> some text </a>

WhatsApp:

<a href="whatsapp://send?abid=[users name]&text=[message text]"> some text </a>

While not a deep link, you can also use the following url (don't use + on phone) for WhatsApp:

<a href="https://api.whatsapp.com/send?phone=0000000">Contact Me</a>

Sources:

http://origamiengine.com/deep-linking

https://support.viber.com/customer/en/portal/articles/2872423-deep-links

Programmatically making viber whatsapp call in swift 3

No. Whatsapp does not have a URLScheme for direct calling. They only have URL schemes for chat.

May be in the future they might add it. Keep checking the WhatsApp FAQ section.



Related Topics



Leave a reply



Submit