deepgram-js-sdk icon indicating copy to clipboard operation
deepgram-js-sdk copied to clipboard

React Native: com.facebook.react.bridge.ReadableNativeMap cannot be cast to java.lang.String

Open HZSamir opened this issue 1 year ago • 1 comments

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

image

HZSamir avatar Aug 31 '24 10:08 HZSamir

React Native is not yet supported. I will leave this open in case someone is able to help

lukeocodes avatar Aug 31 '24 16:08 lukeocodes