Skip to content

Commit

Permalink
Merge pull request #1 from sandor11/fix-record-event
Browse files Browse the repository at this point in the history
Compatibility with latest NewRelic Agent API
  • Loading branch information
sandor11 authored Mar 29, 2019
2 parents 8d1441d + 2af62a5 commit 505e49d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/RNNewRelic/RNNewRelic.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ @implementation RNNewRelic
RCT_EXPORT_MODULE();

RCT_EXPORT_METHOD(send: (NSString*)name :(NSDictionary*)args){
[NewRelicAgent recordEvent:name attributes:args];
[NewRelicAgent recordCustomEvent:name attributes:args];
}


Expand Down

0 comments on commit 505e49d

Please sign in to comment.