Skip to content

Commit

Permalink
Flutter GA release Version 0.0.1 (#24)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
ndesai-newrelic and Nisarg Desai committed Mar 21, 2023
1 parent 0857b64 commit b90eaa2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.1

This is GA Release.

## 0.0.1-dev.11

This is Pre GA Release.
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ This agent allows you to instrument Flutter apps with help of native New Relic A
agents. The New Relic SDKs collect crashes, network traffic, and other information for hybrid apps
using native components.

**NOTE:** This agent SDK is not yet officially supported. If you’re interested in participating in
our Limited Preview, contact Support or your account representative.

## Features

Expand Down Expand Up @@ -41,7 +39,7 @@ Install NewRelic plugin into your dart project by adding it to dependecies in yo
```yaml

dependencies:
newrelic_mobile: 0.0.1-dev.11
newrelic_mobile: 0.0.1

```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class NewrelicMobilePlugin : FlutterPlugin, MethodCallHandler {
.withLogLevel(5)
.withApplicationFramework(ApplicationFramework.Flutter, "3.0.0").start(context)
NewRelic.setAttribute("DartVersion", dartVersion)
StatsEngine.get().inc("Supportability/Mobile/Android/Flutter/Agent/0.0.1-dev.11");
StatsEngine.get().inc("Supportability/Mobile/Android/Flutter/Agent/0.0.1");
result.success("Agent Started")
}
"setUserId" -> {
Expand Down
2 changes: 1 addition & 1 deletion lib/newrelic_mobile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class NewrelicMobile {
await NewrelicMobile.instance.startAgent(config);
runApp();
await NewrelicMobile.instance
.setAttribute("Flutter Agent Version", "0.0.1-dev.11");
.setAttribute("Flutter Agent Version", "0.0.1");
}, (Object error, StackTrace stackTrace) {
NewrelicMobile.instance.recordError(error, stackTrace);
FlutterError.presentError(
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: 0.0.1-dev.11
version: 0.0.1
homepage: https://github.com/newrelic/newrelic-flutter-agent

environment:
Expand Down
4 changes: 2 additions & 2 deletions test/newrelic_mobile_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ void main() {

final Map<String, dynamic> attributeParams = <String, dynamic>{
'name': 'Flutter Agent Version',
'value': '0.0.1-dev.11',
'value': '0.0.1',
};

expect(methodCalLogs, <Matcher>[
Expand Down Expand Up @@ -684,7 +684,7 @@ void main() {

final Map<String, dynamic> attributeParams = <String, dynamic>{
'name': 'Flutter Agent Version',
'value': '0.0.1-dev.11',
'value': '0.0.1',
};

expect(methodCalLogs, <Matcher>[
Expand Down

0 comments on commit b90eaa2

Please sign in to comment.