microsoft / live-share-sdk

A framework for building collaborative Microsoft Teams and M365 experiences.
Other
93 stars 29 forks source link

Handle android bug by checking types instead of keys #716

Closed huntj88 closed 1 year ago

huntj88 commented 1 year ago

fixes #647.

Keys of ClientInfo objects would change between different android builds due to an issue with obfuscation. Fix for android will be rolled out in a few weeks, but this fixes it in the meantime and provides support for older clients.

To fix, we assume we don't know what keys will contain what data. Every value in ClientInfo has a unique type, so we are able to create a ClientInfo object from the types.