Skip to content

Commit

Permalink
Metrics failed bug ios (#41)
Browse files Browse the repository at this point in the history
* Shutdown feature nd (#26)

* Flutter GA release Version 0.0.1 (#24)

* Flutter GA release Version 0.0.1

* Flutter GA release Version 0.0.1

Signed-off-by: ndesai-newrelic <89222514+ndesai-newrelic@users.noreply.github.com>

---------

Signed-off-by: ndesai-newrelic <89222514+ndesai-newrelic@users.noreply.github.com>
Co-authored-by: Nisarg Desai <ndesai@@newrelic.com>

* Updated READ.me with Secure apache URL

* added shutdown,record metric,currentsessionId,Incremnet Attribute static Method

Signed-off-by: ndesai-newrelic <89222514+ndesai-newrelic@users.noreply.github.com>

---------

Signed-off-by: ndesai-newrelic <89222514+ndesai-newrelic@users.noreply.github.com>
Co-authored-by: Nisarg Desai <ndesai@@newrelic.com>

* [BUG] Record custom metric failed. Invalid name: Mobile/iOS/Flutter/Agent/1.0.0 #40

[Fix] Removed the metric from ios side.

---------

Signed-off-by: ndesai-newrelic <89222514+ndesai-newrelic@users.noreply.github.com>
Co-authored-by: Nisarg Desai <ndesai@@newrelic.com>
  • Loading branch information
ndesai-newrelic and Nisarg Desai committed Aug 4, 2023
1 parent 3088624 commit dd59e4a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ios/Classes/SwiftNewrelicMobilePlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ public class SwiftNewrelicMobilePlugin: NSObject, FlutterPlugin {
NewRelic.setPlatform(NRMAApplicationPlatform.platform_Flutter)
NewRelic.start(withApplicationToken:applicationToken!)
NewRelic.setAttribute("DartVersion", value:dartVersion!)
NewRelic.recordMetric(withName: "Mobile/iOS/Flutter/Agent/1.0.0", category: "Supportability", value: 1)


result("Agent Started")
case "getPlatformVersion":
Expand Down

0 comments on commit dd59e4a

Please sign in to comment.