Countly/countly-sdk-react-native

Incorrect call arguments for enabling crash reporting

Closed this issue · 2 comments

Looking at this line

RCT_EXPORT_METHOD(enableCrashReporting:(NSArray*)arguments)

the native bridge expects an array to be passed when enabling crash reporting. The call in Countly.js does not match this signature:

CountlyReactNative.enableCrashReporting();

So either the call or the function signature should be adjusted for it to work.

@richeterre @gorkem-cetin

This issue is pointing to old sdk.

As per new sdk we don't have crash report support yet.

We will be implementing that soon.

Not supported in recent js version.