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
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,9 @@ Then you have to set it inside the settings file located at `Aptabase/Reosources
18
18
19
19
Based on the key, your `Host` will be selected. In the case of self-hosted versions a new `SelfHostURL` field will appear for input.
20
20
21
-
App Version is automatically detected, but you will need to provide a `BuildNumber` as it may vary across different platforms. This allows you to specify a platform-specific build number to ensure accurate version tracking and compatibility.
21
+
App Version is automatically detected, but you can override it with the `AppVersion` field. You may want to provide an `AppBuildNumber` as it may vary across different platforms. This allows you to specify a platform-specific build number to ensure accurate version tracking and compatibility.
22
+
23
+
Events are batched and sent every 60 seconds in production and 2 seconds in development by default. You can override these values with the `FlushInterval` field by inputting desired time in milliseconds.
22
24
23
25
## Usage
24
26
@@ -31,6 +33,11 @@ Aptabase.TrackEvent("app_started", new Dictionary<string, object>
31
33
});
32
34
```
33
35
36
+
If you want to manually flush the event queue you can use
37
+
```csharp
38
+
Aptabase.Flush();
39
+
```
40
+
34
41
A few important notes:
35
42
36
43
1. The SDK will automatically enhance the event with some useful information, like the OS, the app version, and other things.
0 commit comments