It turns out the issue is that JavaScriptValue cannot be used in an AsyncFunction. From the documentation: "Note that using JavaScript-specific types is restricted to synchronous functions" (https://docs.expo.dev/modules/module-api/). Instead, a Record should be used.