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
@@ -42,17 +46,18 @@ Set the `com.apple.security.network.client` entitlement to `true` in the `macos/
42
46
Send a signal using the following method:
43
47
44
48
```dart
45
-
TelemetryManager.send("signal_type")
49
+
Telemetrydecksdk.send("signal_type")
46
50
```
47
51
48
52
## Signals with additional attributes
49
53
50
54
Append any number of custom attributes to a signal:
51
55
52
56
```dart
53
-
TelemetryManager.send("signal_type",
54
-
additionalPayload: {"attributeName": "value"});
55
-
}
57
+
Telemetrydecksdk.send(
58
+
"signal_type",
59
+
additionalPayload: {"attributeName": "value"},
60
+
);
56
61
```
57
62
58
63
The Flutter SDK uses the native SDKs for Android and iOS which offer a number of built-in attributes which are submitted with every signal. You can overwrite these attributes by providing a custom value with the same key. For more information on how each value is calcualted, check the corresponding platform library:
@@ -81,7 +86,7 @@ The Flutter SDK uses the native SDKs for Android and iOS which offer a number of
81
86
Prevent signals from being sent using the stop method:
82
87
83
88
```dart
84
-
TelemetryManager.stop()
89
+
Telemetrydecksdk.stop()
85
90
```
86
91
87
92
In order to restart sending events, you will need to call the `start` method again.
@@ -92,10 +97,13 @@ If your app's build configuration is set to "Debug", all signals sent will be ma
92
97
93
98
If you want to manually control whether test mode is active, you can set the `testMode` field:
A very small subset of our customers will want to use a custom signal ingestion server or a custom proxy server. To do so, you can pass the URL of the custom server to the `TelemetryManagerConfiguration`:
0 commit comments