Description
We have implemented zoom SDK. And now we have a feature request - to rotate the screen with a button. The problem is - Zoom’s ConfActivityNormal we extended from has overridden onConfigurationChanged function. And then we are trying to execute the setRequestedOrientation function - we have no configuration change at all in most cases.
Which Client Mobile SDK version?
v4.6.21666.0429
To Reproduce(If applicable)
Steps to reproduce the behavior:
Add button to zoom sample with setRequestedOrientation call.
Try to change orientation by pressing the button.
Orientation change does not work in most cases.
Smartphone (please complete the following information):
To override the Activity, you should have your class extend the MeetingActivity class. Additionally, you will need to add the following resource to your config.xml file: <string name="zm_config_conf_activity">com.example.basicdemoapp.MyMeetingActivity</string>.
At what point are you calling setRequestedOrientation? If it is called too early, the SDK may reset it, resulting it the appearance of your call having no effect.
Unfortunately latest SDK version have too much UX changes, and have been declined by our QA team. We will be able to do it in future releases. And I will write in this thread after this.
That is absolutely understandable. It appears that this behavior has changed at some point between the version you are using and the most recent version, so it will be significantly easier to handle setting the orientation on newer versions of the SDK. Please let me know if you experience any issues after you are able to upgrade.