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
I'm encountering an issue with the flipCamera() function in my React Native Twilio Video project. The function works fine when CallScreenActivity is navigated to, but it fails to work when registered directly through AppRegistry.
Problem
When registering CallScreenActivity through AppRegistry using the following code:
the flipCamera() function does not work as expected. Upon invoking flipCamera(), the camera does not flip, and there's no change in the camera view.
Background:
I'm using the react-native-twilio-video-webrtc package for Twilio Video functionality. The camera permission is properly set, and the flipCamera() function works as expected when CallScreenActivity is navigated to directly.
Verified Things
Checked camera permissions, which are properly set.
Ensured that Twilio Video setup is consistent between direct navigation and registration.
Reviewed activity lifecycle and ensured flipCamera() is called after full initialization.
Tested on multiple devices to verify consistency.
Expected behaviour
The flipCamera() function should work properly when CallScreenActivity is registered through AppRegistry, just like it does when navigated to directly.
Environment
Node.js version: 16
React Native version: 0.63.5
React Native platform + platform version: Android 13, Vivo y21A
react-native-twilio-video-webrtc
Version: 3.2.0
The text was updated successfully, but these errors were encountered:
I'm encountering an issue with the flipCamera() function in my React Native Twilio Video project. The function works fine when CallScreenActivity is navigated to, but it fails to work when registered directly through AppRegistry.
Problem
When registering CallScreenActivity through AppRegistry using the following code:
AppRegistry.registerComponent('full_screen', () => CallScreenActivity);
the flipCamera() function does not work as expected. Upon invoking flipCamera(), the camera does not flip, and there's no change in the camera view.
Background:
I'm using the react-native-twilio-video-webrtc package for Twilio Video functionality. The camera permission is properly set, and the flipCamera() function works as expected when CallScreenActivity is navigated to directly.
Verified Things
Expected behaviour
The flipCamera() function should work properly when CallScreenActivity is registered through AppRegistry, just like it does when navigated to directly.
Environment
react-native-twilio-video-webrtc
Version: 3.2.0
The text was updated successfully, but these errors were encountered: