Error after react-native update (Android)
After updating from React Native 0.75.1 to 0.76.3, everything broke. Below are the exact versions and the error details:
"react-native": "0.76.3", "countly-sdk-react-native-bridge": "^24.4.0", After npm run android: Log: (NOBRIDGE) LOG Bridgeless mode is enabled (NOBRIDGE) ERROR Error: Exception in HostObject::get for prop 'CountlyReactNative': com.facebook.react.internal.turbomodule.core.TurboModuleInteropUtils$ParsingException: Unable to parse @ReactMethod annotation from native module method: CountlyReactNative.onNotification(). Details: Unable to parse JNI signature. Detected unsupported parameter class: java.util.Map
Hi @andreydos , we do not support new architecture so you would need to disable it (gradle.properties, newArchEnabled should be set to false)
Are there any plans to support it in the future?
Are there any plans to support it in the future?
Will see. Many well-known libraries have already announced that their future versions will only support the new architecture, meaning that most apps in the React Native community will have to update to the new versions of React Native and adopt the new architecture. If Countly does not support this transition, it’s clear that React Native developers will leave the Countly platform.
Hi @j-q-in-berlin, yes we have plans to begin transition within this year.
Also interested in new architecture support.
Perhaps this may provide some guidance: https://github.com/gre/react-native-view-shot/pull/543
And official instructions here: https://github.com/reactwg/react-native-new-architecture/blob/main/README.md
Added new architecture support and everything working on our end, please let me know you find an issue.