Skip to content
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

chore: update ios agent version in podspec #120

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 1.1.4

## Updates
- Updated the underlying native iOS agent to version 7.5.2 for improved performance and compatibility.

### 1.1.3

## Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Install NewRelic plugin into your dart project by adding it to dependecies in yo
```yaml

dependencies:
newrelic_mobile: 1.1.3
newrelic_mobile: 1.1.4

```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class NewrelicMobilePlugin : FlutterPlugin, MethodCallHandler {
"crashCollectorAddress"
) as String);
NewRelic.withApplicationToken(applicationToken)
.withApplicationFramework(ApplicationFramework.Flutter, "1.1.3")
.withApplicationFramework(ApplicationFramework.Flutter, "1.1.4")
.withLoggingEnabled(loggingEnabled!!)
.withLogLevel(LogLevel.valueOf(logLevel!!).ordinal)
.usingCollectorAddress(collectorAddress)
Expand All @@ -141,7 +141,7 @@ class NewrelicMobilePlugin : FlutterPlugin, MethodCallHandler {

}
NewRelic.setAttribute("DartVersion", dartVersion)
StatsEngine.get().inc("Supportability/Mobile/Android/Flutter/Agent/1.1.3")
StatsEngine.get().inc("Supportability/Mobile/Android/Flutter/Agent/1.1.4")
result.success("Agent Started")
}

Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/SwiftNewrelicMobilePlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public class SwiftNewrelicMobilePlugin: NSObject, FlutterPlugin {

NewRelic.setPlatform(NRMAApplicationPlatform.platform_Flutter)
let selector = NSSelectorFromString("setPlatformVersion:")
NewRelic.perform(selector, with:"1.1.3")
NewRelic.perform(selector, with:"1.1.4")

if collectorAddress == nil && crashCollectorAddress == nil {
NewRelic.start(withApplicationToken: applicationToken!)
Expand Down
2 changes: 1 addition & 1 deletion ios/newrelic_mobile.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Flutter plugin for NewRelic Mobile.
s.dependency 'Flutter'
s.platform = :ios, '9.0'

s.dependency 'NewRelicAgent', '~>7.5.1'
s.dependency 'NewRelicAgent', '~>7.5.2'

# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
Expand Down
3 changes: 1 addition & 2 deletions lib/newrelic_mobile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class NewrelicMobile {
await NewrelicMobile.instance.startAgent(config);
runApp();
await NewrelicMobile.instance
.setAttribute("Flutter Agent Version", "1.1.3");
.setAttribute("Flutter Agent Version", "1.1.4");
}, (Object error, StackTrace stackTrace) {
NewrelicMobile.instance.recordError(error, stackTrace);
FlutterError.presentError(
Expand Down Expand Up @@ -95,7 +95,6 @@ class NewrelicMobile {

final Map<String, dynamic> eventParams = Map<String, dynamic>.from(params);
if (attributes != null) {

for (final String key in attributes.keys) {
if (key == 'attributes') {
continue;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: newrelic_mobile
description: Flutter plugin for NewRelic Mobile. This plugin allows you to instrument Flutter apps with help of native New Relic Android and iOS agents.
version: 1.1.3
version: 1.1.4

homepage: https://github.com/newrelic/newrelic-flutter-agent

Expand Down
2 changes: 1 addition & 1 deletion test/newrelic_mobile_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void main() {
const megaBytes = 100;
const maxBufferTime = 300;
const metricUnitBytes = "bytes";
const agentVersion = "1.1.3";
const agentVersion = "1.1.4";
const traceData = {
"id": "1",
"guid": "2",
Expand Down
Loading