1 - How to make SnapCall work in a mobile webview

If you're here, this probably means you have already connected your LiveChat, Zendesk, Intercom, or Kustomer account to SnapCall and are ready to try calling one of your customers. 🚀  

 So let's go and see how to make SnapCall work on a mobile webview! 📱 

 

👉 If you haven't connected to SnapCall yet, here's how to do it.

 

❗IMPORTANT: Make sure you've already done a call on the laptop/desktop browser version prior to trying to do it on the mobile app. 

 

In order to be working properly, SnapCall needs to have access to the microphone (audio call) of the customer device, and to the camera (video call).

On the laptop/desktop browser version, as well as on the mobile browser, the authorization popup automatically appears when it's required by the system. Then the customer clicks on it, and the call is initiated. 

However, on a mobile app embedded webview, as everything is "hosted" by the application, it's not automatic. 

This explains why you have to use the Android and/or iOS manifest in order to allow the system to present the authorization popup to the final user. 

 

For iOS, you can find it here: 

https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/requesting_authorization_for_media_capture_on_ios

 

For Android, you can find it here: 

https://developer.android.com/reference/android/Manifest.permission_group

 

Once you've updated your mobile application using those elements, your customers will be able to call you from the app using SnapCall.

 

Do you have any questions? Want to share some feedback? We're more than happy to discuss this with you. Drop us a message via support@snapcall.io and we'll get back to you soon! 💌