Skip to content

Commit

Permalink
fix: use correct plugin version string on ios
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenny committed Jun 9, 2023
1 parent 3e56cb5 commit 049fd9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/NewRelicCordovaPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ - (void)pluginInitialize
NSString* crashCollectorAddress = config[@"crash_collector_address"];

[NewRelic setPlatform:NRMAPlatform_Cordova];
[NewRelic setPlatformVersion:config[@"platform_version"]];
[NewRelic setPlatformVersion:config[@"plugin_version"]];

if ([self isEmptyConfigParameter:collectorAddress] && [self isEmptyConfigParameter:crashCollectorAddress]) {
[NewRelic startWithApplicationToken:applicationToken];
Expand Down

0 comments on commit 049fd9c

Please sign in to comment.