使用https://github.com/mokriya-org/react-native-zoom-us-bridge
在安卓系统上,当我点击加入时,应用程序会关闭,只留下一个"正在开会";通知和不允许访问。
许可
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" />
<uses-permission android:name="android.permission.ANSWER_PHONE_CALLS" />
buildscript {
ext {
buildToolsVersion = "29.0.2"
minSdkVersion = 21
compileSdkVersion = 29
targetSdkVersion = 29
}
包括":app',":mobilertc',":commonlib">
React本机版本:Yarn AndroidReact Native 0.6.3
复制步骤Yarn Android加入会议
解决方案是在Android/App/build.grandle 路径中将行添加到build.gradle
实现"androidx.localbroadcastmanager:localbroadcast manager:1.0.0">