voxeet / voxeet-uxkit-reactnative

https://www.npmjs.com/package/@voxeet/react-native-voxeet-conferencekit
MIT License
11 stars 12 forks source link

[Android] ConferenceUserUtil.toMap fails if user.getStatus() is null #8

Closed AlexanderPodlesniyQs closed 4 years ago

AlexanderPodlesniyQs commented 4 years ago

ConferenceUserUtil.toMap fails if user.getStatus() is null

In ConferenceUserUtil class toMap function throws exception if user status is null. This line produces it:

map.putString("conferenceStatus", user.getStatus().name());

Expected Behaviour

Handle user status is null

After fixes for this issue VoxeetSDK.join promise always fails because of this problem.

Specifications Plugin version: 0.1.26 Device: [Android Emulator Pixel 3XL] OS: [Android 10 API 29]

codlab commented 4 years ago

The last commit 1bb81f9 will fix the issue. A fix is scheduled for the SDK to send the proper non null expected value