1

How can I make whatsapp and viber call within my app? I used viber://callsand whatsapp://app urls within my app. but they are just opening the application.

James Z
  • 12,104
  • 10
  • 27
  • 43
user1960169
  • 3,363
  • 10
  • 37
  • 56
  • No you can't make a call by Custom URL Scheme WhatsApp only allow to open WhatsApp Messenger application, New chat composer, and open WhatsApp with pre-filled into message text input field on a conversation screen. https://faq.whatsapp.com/en/iphone/23559013 – Nikhlesh Bagdiya Jul 11 '17 at 06:11
  • @NikhleshBagdiya thanks. How about viber calls? This viber url also just opens the app's recent call view. Can't we make a call for a given number once we tap a button within our application? – user1960169 Jul 11 '17 at 08:20
  • For viber you can follow https://stackoverflow.com/questions/30541805/launching-viber-app-via-url-scheme-on-ios – Nikhlesh Bagdiya Jul 11 '17 at 09:12

1 Answers1

1

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.

BHAVIK
  • 900
  • 7
  • 35