Open panchal-krunal opened 2 months ago
I had the same error with "newrelic-react-native-agent": "1.3.7",
I solved with setting the value of interactionTracingEnabled to false, interactionTracingEnabled: false
https://forum.newrelic.com/s/hubtopic/aAXPh0000000sA5OAI/application-crash-on-ios https://knowledge.newrelic.com/s/article/Fatal-Exception-NSInvalidArgumentException
I hope it helps you!
Same here, any news?
@LcsGrz can you check this? https://knowledge.newrelic.com/s/article/Fatal-Exception-NSInvalidArgumentException
@ndesai-newrelic is there a way to fix this? reanimated is a package that is core to most parts of the app, including navigation and animations, removing reanimated is not an option for my app.
@Samykills can you add this in agent configuration when you start the agent interactionTracingEnabled: false ?
@Samykills can you add this in agent configuration when you start the agent interactionTracingEnabled: false ?
even when i do add this on JS, the initialisation of the reanimated lib takes place natively at app start since its not turbo modules yet, thus as soon as we start the agent, we get the same error, however i figured, if i disable this natively before agent start func is run then it works fine.
[NewRelic disableFeatures:NRFeatureFlag_InteractionTracing];
[NewRelic startWithApplicationToken: @"appkey"];
@ndesai-newrelic this should remain, open till u guys fix it, the workaround i found is not the recommended one, as it will bypass the values being set by JS methods
@Samykills we will look into it.
I have installed
newrelic-react-native-agent
(1.3.7) in my project and started getting run time error as below -New Relic detected an unrecognized selector, 'reanimated_viewDidLayoutSubviews', sent to 'UIViewController'. It's possible _cmd was renamed by an unsafe method_exchangeImplementations().'
I am not at all sure what package is causing this issue, seems to be react-native-reanimated with the error, but not sure if it is only causing the issue. I tried with older versions of
newrelic-react-native-agent
but doesn't work.I have below packages installed in my project -