You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to develop a calling application on Android, besides using the Azure Communication Calling Android SDK, you can also use Azure Communication Calling Web SDK on Android WebView.
18
-
In this quickstart, you'll learn how to run webapps developed with the Azure Communication Calling Web SDK in an Android WebView environment.
17
+
Webview technology is an enbedable browser that can be integrated directly into a native mobile application. If you want to develop an ACS calling application directly a native Android application, besides using the Azure Communication Calling Android SDK, you can also use Azure Communication Calling Web SDK on Android WebView. In this quickstart, you'll learn how to run webapps developed with the Azure Communication Calling Web SDK in an Android WebView environment.
19
18
20
19
## Prerequisites
21
20
@@ -44,7 +43,6 @@ Make sure you have the following permissions added to the application manifest:
44
43
```
45
44
46
45
## Request permissions at run time
47
-
48
46
Adding permissions to the application manifest isn't enough. You must also [request the dangerous permissions at runtime](https://developer.android.com/training/permissions/requesting) to access camera and microphone.
49
47
50
48
You have to call `requestPermissions()` and override `onRequestPermissionsResult`.
@@ -54,7 +52,6 @@ The [WebViewQuickstart sample app](https://github.com/Azure-Samples/communicatio
54
52
also shows how to handle permission requests from browser and request app permissions at runtime.
55
53
56
54
## WebView configuration
57
-
58
55
Azure Communication Calling Web SDK requires JavaScript enabled.
59
56
In some cases, we saw `play() can only be initiated by a user gesture` error message in Android WebView environment, and users aren't able to hear incoming audio.
60
57
Therefore, we recommend setting `MediaPlaybackRequiresUserGesture` to false.
0 commit comments