I am utilizing react native and I get this ios particular native error.
It is an error I have never been capable of reproduce regionally and I’ve tried loads various things however I did not have any luck.
I do know this error exists as a result of sentry logs the error, the factor is that the error would not specify any file, part or origin so I can not hint the place it is coming from. All I do know is that this occurs a pair seconds after the consumer opens the app. Additionally, this does not occur to all customers, just some of them.
Have you ever ever had an analogous concern? Is there one thing I can do to make react-native present me a extra detailed error? Actually simply any assist or suggestion can be drastically appreciated.
As I perceive this occurs as a result of I am passing null to a daily expression, however that does not make sense as I am not explicitly utilizing utilizing common expression on this app.
My react-native model is 0.64, let me know if I can present extra data.
The entire error is that this:
*** -[NSRegularExpression enumerateMatchesInString:options:range:usingBlock:]: nil argument
(
"4 app_name 0x0000000102d7d77c _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 2672256",
"5 app_name 0x0000000102c248b0 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 1259444",
"6 libc++abi.dylib 0x000000021f5a987c 355DAB54-7C20-30EB-A6BA-D22F6D42537A + 75900",
"7 libc++abi.dylib 0x000000021f5a9820 _ZSt9terminatev + 108",
"8 libdispatch.dylib 0x000000019c7c3fbc 8CE3AFB9-6D84-3446-8FD4-E5F798D98403 + 16316"
)
I am utilizing react-native-exception-handler to catch the native error like this:
setNativeExceptionHandler((error) => {
sentryTrackException(new Error(error));
}, true);