You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,25 @@ Telemetrydecksdk.stop()
91
91
92
92
In order to restart sending events, you will need to call the `start` method again.
93
93
94
+
## Navigation signals
95
+
96
+
A navigation signal is a regular TelemetryDeck signal of type `TelemetryDeck.Navigation.pathChanged`. Automatic navigation tracking is available using the `navigate` and `navigateToDestination` methods:
Both methods allow for a custom `clientUser` to be passed as an optional parameter:
105
+
106
+
```dart
107
+
Telemetrydecksdk.navigate("screen1", "screen2",
108
+
clientUser: "custom_user");
109
+
```
110
+
111
+
For more information, please check [this post](https://telemetrydeck.com/docs/articles/navigation-signals/).
112
+
94
113
## Test mode
95
114
96
115
If your app's build configuration is set to "Debug", all signals sent will be marked as testing signals. In the Telemetry Viewer app, activate **Test Mode** to see those.
This section refers to the process of maintaining, upgrading and publishing the current library.
4
+
5
+
## Releasing a new version
6
+
7
+
1. Create a PR to update the CHANGELOG in order to mention the changes made in the new version. This is optional, if this step is skipped, the `setupversion.sh` will create a generic entry.
8
+
9
+
2. Merge all changes into `main`.
10
+
11
+
3. Navigate to the [Set package version](https://github.com/TelemetryDeck/FlutterSDK/actions/workflows/set-version.yml) action and run it by setting the next `version`. Please note: this must be the same if you manually created a release entry in CHANGELOG.md.
12
+
13
+
🏁
14
+
15
+
## Adopting newer versions of the native SDKs
16
+
17
+
The Flutter SDK depends on the latest major version of the native SDKs. This is defined in the following locations:
18
+
19
+
On Android, the dependency is configured in `android/build.gradle`:
On iOS, the dependency is configured in `ios/telemetrydecksdk.podspec` using the podspect Dependency format `s.dependency 'TelemetryClient', '~> 2.0'`.
0 commit comments