The change in #2762 is great, but it underscores an important limitation: The SDK cannot provide E2E encryption support in a runtime that lacks a WebCrypto implementation, e.g. React Native.
This SDK is amazing and I totally appreciate all the hard work that goes into it by the Matrix team. I did, however, need to do a bit of creative work to shim in at least some sort of crypto module to get my RN project building, due to the new src/crypto/crypto.ts being evaluated at build-time.
I wonder if it's possible to somehow tighten this up to bail out of loading any Crypto functionality if it's unsupported by the runtime?