I am trying to deploy NRAgent on IOS react-native app but the app crashes

Here is the debug logs
flipper: FlipperClient::addPlugin Inspector

flipper: FlipperClient::addPlugin Preferences

flipper: FlipperClient::addPlugin React

flipper: FlipperClient::addPlugin Network

2020-09-23 02:17:37.457214+0530 Avetta[1074:198766] NewRelic(6.14.0,0x283182780): SessionAttributeManager.cxx:372 removeSessionAttribute

Unable to remove session attribute “upgradeFrom”; attribute not found.

2020-09-23 02:17:37.457580+0530 Avetta[1074:198766] NewRelic(6.14.0,0x283182780): SessionAttributeManager.cxx:372 removeSessionAttribute

Unable to remove session attribute “com.newrelic.SecureUDID.returnedNil”; attribute not found.

2020-09-23 02:17:37.458062+0530 Avetta[1074:198766] NewRelic(6.14.0,0x283182780): SessionAttributeManager.cxx:372 removeSessionAttribute

Unable to remove session attribute “nr.deviceDidChange”; attribute not found.

2020-09-23 02:17:37.458444+0530 Avetta[1074:198766] NewRelic(6.14.0,0x283182780): SessionAttributeManager.cxx:372 removeSessionAttribute

Unable to remove session attribute “install”; attribute not found.

2020-09-23 02:17:37.458779+0530 Avetta[1074:198766] NewRelic(6.14.0,0x283182780): SessionAttributeManager.cxx:372 removeSessionAttribute

Unable to remove session attribute “sessionDuration”; attribute not found.

2020-09-23 02:17:37.474428+0530 Avetta[1074:198876] [si_destination_compare] send failed: Invalid argument

2020-09-23 02:17:37.475257+0530 Avetta[1074:198876] [si_destination_compare] send failed: Undefined error: 0

2020-09-23 02:17:37.475350+0530 Avetta[1074:198876] [si_destination_compare] send failed: Invalid argument

2020-09-23 02:17:37.501576+0530 Avetta[1074:198876] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 “Permission denied”, descriptor: <CTServiceDescriptor 0x2824b8b20, domain=1, instance=1>

2020-09-23 02:17:37.631862+0530 Avetta[1074:198766] [native] Running application Avetta ({

initialProps = {

};

rootTag = 1;

})

2020-09-23 02:17:37.720126+0530 Avetta[1074:198766] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 “Permission denied”, descriptor: <CTServiceDescriptor 0x2824a0ca0, domain=1, instance=1>

2020-09-23 02:17:39.238480+0530 Avetta[1074:198766] [native]

New relic works if you disable the flipper instantiation on IOS react-native.

How does New Relic work on Android with flipper enabled on react-native but not work on IOS ?

The iOS and Android agents don’t support React Native monitoring, and I’m not sure why the Android agent is more successful with Flipper.

If you are still having issues with either agent, just announced: Experimental React Native Support