Agora-Chat-API-Examples icon indicating copy to clipboard operation
Agora-Chat-API-Examples copied to clipboard

React native chat SDK is failing with latest react native package

Open mlalitthapa opened this issue 1 year ago • 1 comments

Hi there, I have a project started with latest expo 52 and react native 0.76.5. But my builds and development clients are failing with the following error in android. I am using the latest version of react-native-agora-chat: 1.3.1.

Error: Exception in HostObject::get for prop 'ExtSdkApiRN': com.facebook.react.internal.turbomodule.core.TurboModuleInteropUtils$ParsingException: Unable to parse @ReactMethod annotation from native module method: ExtSdkApiRN.listeners(). Details: Unable to parse JNI signature. Detected unsupported return class: java.lang.Object[]

It works fine for IOS. I found the similar issue in this stackoverflow question and the solution provided works.

I can use the solution for the local development but it will not work while building the production app.

mlalitthapa avatar Jan 08 '25 13:01 mlalitthapa

Thank you for your feedback. It will fixed and released in beta version 1.3.2-beta.0.


During my test, I found that when I created a project with npx create-expo-app@latest test_chatsdk_expo52 and compiled and ran the Android version, an error occurred. For details, see: com.github.Dimezis:BlurView:version-2.0.3.

AsteriskZuo avatar Jan 15 '25 08:01 AsteriskZuo