Closed dg76 closed 2 days ago
To fix https://github.com/Baseflow/flutter-permission-handler/issues/1409 I have changed the way how "mediaDevices" is loaded to make it compatible with WASM. Basically I am just using the same method now that was used for "permissions" a few lines below. It still seems to work fine for me regarding the bug https://github.com/Baseflow/flutter-permission-handler/issues/1386 .
To fix https://github.com/Baseflow/flutter-permission-handler/issues/1409 I have changed the way how "mediaDevices" is loaded to make it compatible with WASM. Basically I am just using the same method now that was used for "permissions" a few lines below. It still seems to work fine for me regarding the bug https://github.com/Baseflow/flutter-permission-handler/issues/1386 .