Skip to content

Latest commit

 

History

History
74 lines (54 loc) · 2.67 KB

TROUBLESHOOTING.md

File metadata and controls

74 lines (54 loc) · 2.67 KB

exoplayer version conflict

If you see error like this:

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/exoplayer2/drm/DefaultDrmSessionEventListener

You can experience it with react-native-video:5.1.1.

You can solve it in 2 ways:

  1. Disable exoplayer for this lib:
implementation (project(':react-native-zoom-us')) {
    exclude group: 'com.google.android.exoplayer'
}
  1. Use newer version of react-native-video:5.2.0 or higher. If lib still not published: yarn add https://github.com/react-native-video/react-native-video#724b8629f6c7f222c08e60e6948d06fa45a6f4f2

Note: it can be also with other libs which uses exoplayer

Note: Solution can be different for newer versions.

android:networkSecurityConfig

ZoomSDK declares android:networkSecurityConfig. If you use your custom android:networkSecurityConfig make sure to include the following domains in your xml file:

<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
  <domain-config cleartextTrafficPermitted="true">
    <domain includeSubdomains="true">ocsp.digicert.com</domain>
    <domain includeSubdomains="true">crl3.digicert.com</domain>
    <domain includeSubdomains="true">crl4.digicert.com</domain>
    <domain includeSubdomains="true">crl.godaddy.com</domain>
    <domain includeSubdomains="true">certificates.godaddy.com</domain>
    <domain includeSubdomains="true">crl.starfieldtech.com</domain>
    <domain includeSubdomains="true">certificates.starfieldtech.com</domain>
    <domain includeSubdomains="true">ocsp.godaddy.com</domain>
    <domain includeSubdomains="true">ocsp.starfieldtech.com</domain>
  </domain-config>
</network-security-config>

Source: https://8xmdmkir8ctlkfj8dttx.noticeable.news/publications/android-meeting-sdk-v5-9-0.

reac-native < 0.60

If you have react-native < 0.60, check Full Linking Guide

conflicts with libc++_shared.so

In older version of react-native-zoom-us and react-native you might see conflicts with libc++_shared.so. You can find full guide for fixing this issues in https://developers.zoom.us/docs/meeting-sdk/android/get-started/integration/. Essentially you should be able to fix it by setting pickFirst rules in android/app/build.gradle:

android {
    packagingOptions {
        pickFirst 'lib/arm64-v8a/libc++_shared.so'
        pickFirst 'lib/x86/libc++_shared.so'
        pickFirst 'lib/x86_64/libc++_shared.so'
        pickFirst 'lib/armeabi-v7a/libc++_shared.so'
    }
}

ENABLE_BITCODE

In older version of react-native you may need to set up manually ENABLE_BITCODE = NO; for both Debug and Release because bitcode is not supported by Zoom iOS SDK.