# Zoom SDK native integration with Flutter

**URL:** <https://devforum.zoom.us/t/zoom-sdk-native-integration-with-flutter/53336>\
**Category:** Android\
**Created:** [June 29, 2021, 3:25pm UTC](https://devforum.zoom.us/t/zoom-sdk-native-integration-with-flutter/53336 "2021-06-29T15:25:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohitbhargava](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rohitbhargava/32/28721_2.png) [@rohitbhargava](https://devforum.zoom.us/u/rohitbhargava)\
**Post date:** [June 29, 2021, 3:25pm UTC](https://devforum.zoom.us/t/zoom-sdk-native-integration-with-flutter/53336/1 "2021-06-29T15:25:32Z")

</div>

**Description**  
What could be the reason behind app getting crashed while running app after natively integrating Zoom SDK in Flutter application for Android.

**Which Android Client SDK version?**  
zoom-sdk-android-5.5.1.1319

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:  
NA

**Screenshots**

 ![download_20210628_110030](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/8/c87755a3834e878a0f0de26ec11da516259dbf81.jpeg)

**Smartphone (please complete the following information):**

- Device: Redmi Note 7 Pro
- OS: Android 9

**Additional context**  
We are trying to add Zoom SDK natively in our Flutter app for Android.  
We have included the required “commonlib” and “mobilertc” folders from extracted SDK and after completing the integration steps from the Zoom SDK website, when we run our app, the app crashes with an exception log (see attachment(s)). The app works perfectly with Zoom SDK while running in “debug” mode, but for the “release” mode version, the app gets crashed.

We have also included ProGuard configurations (found as a suggestion step on the Zoom developer forum), but still, the same issue persists.

Below are the tools used while working with Zoom SDK for Android:

1. Zoom SDK (latest) - zoom-sdk-android-5.5.1.1319
2. Android Studio IDE 4.2.1

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [June 29, 2021, 8:35pm UTC](https://devforum.zoom.us/t/zoom-sdk-native-integration-with-flutter/53336/2 "2021-06-29T20:35:36Z")

</div>

Hi @rohitbhargava, thanks for using our SDK.

Unfortunately we do not currently support Flutter, so I am limited in how I can help with build-related issues. If you are able to reproduce this in a native Android app, I would be able to better assist. Usually if there are issues coming up only in release but not debug variants, it is likely that proguard rules must be added, but I can see that you have already tried this. Can you post the rules you have added for the SDK so I can confirm that everything you need has been added?

Thanks!

---

<div class="post-metadata">

**Author:** ![rohitbhargava](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rohitbhargava/32/28721_2.png) [@rohitbhargava](https://devforum.zoom.us/u/rohitbhargava)\
**Post date:** [June 30, 2021, 6:22am UTC](https://devforum.zoom.us/t/zoom-sdk-native-integration-with-flutter/53336/3 "2021-06-30T06:22:00Z")

</div>

Hi @jon.zoom  
Thanks for your response.

Following rules were added in ProGuard file:

```auto
-keep class us.zoom.** { *; }
-keep class com.zipow.** { *; }
-keep class us.zipow.** { *; }
-keep class org.webrtc.** { *; }
-keep class us.google.protobuf.** { *; }
-keep class com.google.crypto.tink.** { *; }
-keep class androidx.security.crypto.** { *; }

```

_We have tried testing with earlier ZoomSDK versions,but still the same exception is occurred._

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [June 30, 2021, 5:11pm UTC](https://devforum.zoom.us/t/zoom-sdk-native-integration-with-flutter/53336/4 "2021-06-30T17:11:05Z")

</div>

Hi @rohitbhargava,

The content of your proguard file looks correct. Are you certain that this is being properly applied to your project?

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 31, 2021, 3:11am UTC](https://devforum.zoom.us/t/zoom-sdk-native-integration-with-flutter/53336/5 "2021-07-31T03:11:30Z")

</div>

Closed on July 31, 2021, 3:11am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
