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
iPhone iOS Will Not Display Box-Shadow Properly
Downloading Uiimage via Alamofireimage
How Do We Create a Bigger Center Uitabbar Item
Fetching All Contacts in iOS Swift
Storing Authentication Tokens on iOS - Nsuserdefaults VS Keychain
Cropping Image with Swift and Put It on Center Position
How to Detect Whether Custom Keyboard Is Activated from the Keyboard's Container App
iOS Different Font Sizes Within Single Size Class for Different Devices
Programmatically Get a Storyboard Id
Adding Convenience Initializers in Swift Subclass
Mobile Safari Position:Fixed Z-Index Glitch When Scrolling
How to Handle iPhone Screen Sizes/Resolution for Background Images
How to Display the Default iOS 6 Share Action Sheet with Available Share Options
Swift Modal View Controller with Transparent Background
Setneedslayout and Setneedsdisplay