Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(web): prevent unsupported operation error in isPhysicalDevice() o…
…n web Added a check for kIsWeb in the DeviceInfoService to bypass the isPhysicalDevice() check on web platforms, since the app doesn't support QR code scanning on web. Now the method will return false when running on web, avoiding the unsupported operation error that occurs when trying to run device checks. - Imported 'kIsWeb' to detect web platform. - Updated isPhysicalDevice() to return false for web platform. - Ensured backward compatibility with iOS and Android platforms.
- Loading branch information