New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onRemovedFromRoom throwing error - unhandled Exception: type '_InternalLinkedHashMap<Object?, Object?>' is not a subtype of type 'HMSPeer' in type cast #207
Comments
@abbas2501 Ensure that you are using the latest version of both the Flutter & underlying Android SDK. |
The issue still exists on flutter 0.4.0 as I can see currently. Have updated to 2.1.8 android also now. |
@abbas2501 you are facing the issue only on android or iOS as well? |
Have tested only on android, but this clearly is a flutter issue, isn't it ? We are basically trying type casting a map to an object of type HMSPeer |
Please look for this code snippet in the sdk. I have fixed it for myself and using it as a local sdk. Just informed here so it can be fixed for everyone. |
Sure |
@abbas2501 We have resolved the issue & will release it soon |
Resolved in version 0.5.0 |
This issue lies in the 3rd line in following code snippet, map value needs to be passed thru the factory method fromMap in order to type cast properly
The text was updated successfully, but these errors were encountered: