Hello, I am trying to run the @cerbos/embedded pac...
# help
d
Hello, I am trying to run the @cerbos/embedded package in my react-native app with Expo and I'm getting the following error when running it
LoadError: Failed to load embedded policy decision point bundle: Property 'WebAssembly' doesn't exist.
Any idea why this is happening? Thanks
a
Hi! I don't think React Native has a WebAssembly runtime out of the box. I think you could use something like https://github.com/cawfree/react-native-webassembly to provide one - you'd just need to set the global
WebAssembly
object to the one provided by that package.
d
Thank you