-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS - NewRelic extension trying to call missing function "recordEven:attributes" from SDK. #23
Comments
It looks like the library hasn't updated that file to reflect the changes in the New Relic SDK version 5.12.0 which deprecated RecordEvent and replaced it with RecordCustomEvent. |
any consideration on this? |
As @SparkleFaerieCoder mentioned above, I've changed recordEvent as below. Hope this works :) |
Addressing Issue wix-incubator#23 facebook/react-native#21498 If you follow the guidance given wix-incubator#23 (comment) then you can get this working. But if you need to build your app in a CI/CD environment, then no way to edit your node modules. This change brings this bridge in line with the current NewRelic agent.
hello guys, i have another problem on iOS, when my app is starting i had this error: undefined is not and object (evaluating 'RNNewRelic.setAttribute') any of you solved this before that can help me? |
official newrelic react native agent is available https://docs.newrelic.com/docs/mobile-monitoring/new-relic-monitoring-react-native/monitor-your-react-native-application/ |
When following installation instructions, the app fails to compile for iOS.
The SDK is missing the class method NewRelicAgent record:attributes
Do the installation steps need to be updated? Does a specific node module version need to match a specific NewRelicAgent pod version?
Line where build fails:
Entire source file:
The text was updated successfully, but these errors were encountered: