deepgram-js-sdk
deepgram-js-sdk copied to clipboard
React Native: com.facebook.react.bridge.ReadableNativeMap cannot be cast to java.lang.String
What is the current behavior?
Trying to instantiate client.listen.live immediately results in the above error, no matter the options. This is on Android.
Steps to reproduce
Please see this repo for a simple reproduction https://github.com/HZSamir/deepgran-expo
Expected behavior
For it to not crash the app
Please tell us about your environment
I've tried this in both Expo and bare React-Native environments. Both show the same issue.
- Operating System/Version: Windows 11
- Language: [TypeScript | Javascript]
- Platform: Android
Other information
React Native is not yet supported. I will leave this open in case someone is able to help