Frequently Asked Questions
This page lists down frequently asked questions. If you want to add a new question or edit an older one, feel free to send us a PR.
Not getting event updates after hot reload/restart
This is caused because platform channel needs to be reinitialized again,hence this is intended behaviour. The solution for this is to re-run the app.
Practices for faster development :
- Perform the intended changes.
- Leave the room.
- Perform hot reload/restart and rejoin the room.
- Verify the changes.
The permanent solution for this is in pipeline, we will update once it's done.
Issues while using with flutter 3.x.x
Flutter 3.x.x has some issues related to Platform View.
So, it is recommended to use 2.10.x flutter versions with hmssdk_flutter
.
Videos are not getting rendered at the correct position or video screen is coming over the buttons
Please check the flutter version this issue is likely happening due to usage of Flutter 3.x.x series. This is due to an ongoing issue in Flutter 3.x.x which causes Native Platform Views to be drawn at incorrect position. Refer: Android Platform View & Platform View bug
Use a version of the 2.x.x series, 2.10.5 or lower. We are actively tracking these issues & once they are released on flutter stable
branch, we'll release a compatible hmssdk_flutter
version.
Do you have any implementation with other state management libraries than provider
Please find the implementations below:
Not able to get room updates after joining the room
To listen to the room updates please attach HMSUpdateListener
as:
hmsSDK.addUpdateListener(updateListener);
You can find more details about HMSUpdateListener here
Can I create room using API?
Yes,please find the link here.
I want to suggest a new feature.
Awesome, we're always on the lookout for new ideas and feature. Please reach out to us over discord.