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

fix(mobile): Flutter doc improvements #18513

Merged
merged 6 commits into from
Sep 6, 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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Flutter web app monitoring integration
title: Monitor your Flutter web application
tags:
- New Relic integrations
metaDescription: Use New Relic browser monitoring to get a dashboard with metrics from your Flutter web application.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ isTutorial: true
freshnessValidatedDate: 2024-08-26
---


Our New Relic Flutter agent monitors your Flutter mobile app and provides deep insights into your app's performance, errors, and user experience. Once you install and configure the Flutter agent, you'll be able to:

* <DNT>**Capture Dart errors:**</DNT> Identify and fix problems quickly.
Expand All @@ -30,7 +31,16 @@ Our New Relic Flutter agent monitors your Flutter mobile app and provides deep i

## (Recommended) Guided installation [#guided-install]

To install the Flutter agent, follow our [guided install](https://onenr.io/0qQagg4AGR1), located directly in the UI.
To install the Flutter agent, follow the guided install:
1. Go to <DNT>**[one.newrelic.com](https://one.newrelic.com/) > Integrations & Agents**</DNT>.
2. Search for "Flutter" and click one of the tiles:
ally-sassman marked this conversation as resolved.
Show resolved Hide resolved
* Flutter: For mobile apps deployed to both Android and iOS
* Flutter iOS: For mobile apps deployed only to the iOS platform
* Flutter Android: For mobile apps deployed to the Android platform
<Callout variant="tip">
Looking to monitor your web app? Check out [this page](/docs/browser/browser-integrations/flutter-web-integration).
</Callout>
3. Follow the instructions in the UI to complete installation.

## Manual installation [#manual-install]

Expand Down Expand Up @@ -144,7 +154,7 @@ If you need to install the agent manually, follow these steps:

1. Add the following changes to apply the Gradle plugin:

If your project is using Plugins DSL (Flutter 3.16 or Later), make the following changes:
If your project is using plugin DSL (Flutter 3.16 or higher), make the following changes:

1. In `android/settings.gradle`:

Expand All @@ -168,7 +178,7 @@ If you need to install the agent manually, follow these steps:
}
```

* Or, if your project is using the traditional way to apply the plugin:
* Or, if your project is older, you can use the legacy `newrelic` plugin ID by adding this snippet:

```groovy
buildscript {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ If you need to install the agent manually, follow these steps:

1. [Install the New Relic native Android agent](/docs/mobile-monitoring/new-relic-mobile-android/install-configure/install-android-apps-gradle-android-studio).

2. Add the following changes to apply the Gradle Pplugin:
2. Add the following changes to apply the Gradle plugin:

If your project is using Plugins DSL, add this snippet:
If your project is using plugin DSL, add this snippet:

In `android/app/build.gradle`:
```groovy
Expand All @@ -138,7 +138,7 @@ If you need to install the agent manually, follow these steps:
}
```

Or, if your project is using the traditional way to apply the plugin, add this snippet:
Or, if your project is older, you can use the legacy `newrelic` plugin ID by adding this snippet:
```groovy
buildscript {
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ If you need to install the agent manually, follow these steps:
}
```

If your project is using Plugins DSL, make the following changes (and skip step 3):
If your project is using plugin DSL, make the following changes (and skip step 3):

In android/app/build.gradle:
```groovy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ If you need to install the agent manually, follow these steps:
1. [Install the New Relic native Android agent](/docs/mobile-monitoring/new-relic-mobile-android/install-configure/install-android-apps-gradle-android-studio).
2. Add the following changes to apply the Gradle plugin:

If your project is using Plugins DSL, make the following changes:

If your project is using plugin DSL, make the following changes:

In android/app/build.gradle:
```groovy
Expand All @@ -150,7 +151,7 @@ If you need to install the agent manually, follow these steps:
}
```

Or, if your project is using the traditional way to apply the plugin:
Or, if your project is older, you can use the legacy `newrelic` plugin ID by adding this snippet:
```groovy
buildscript {
...
Expand Down
Loading