plugin -> SDK

This commit is contained in:
goenning 2023-04-03 15:21:52 +01:00
parent 38d9da8d72
commit 617edf8250

View file

@ -47,8 +47,8 @@ trackEvent("play_music", { name: "Here comes the sun" }); // An event with a cus
A few important notes: A few important notes:
1. The plugin will automatically enhance the event with some useful information, like the OS, the app version, and other things. 1. The SDK will automatically enhance the event with some useful information, like the OS, the app version, and other things.
2. You're in control of what gets sent to Aptabase. This plugin does not automatically track any events, you need to call `trackEvent` manually. 2. You're in control of what gets sent to Aptabase. This SDK does not automatically track any events, you need to call `trackEvent` manually.
- Because of this, it's generally recommended to at least track an event at startup - Because of this, it's generally recommended to at least track an event at startup
3. You do not need to await the `trackEvent` function, it'll run in the background. 3. You do not need to await the `trackEvent` function, it'll run in the background.
4. Only strings and numbers values are allowed on custom properties 4. Only strings and numbers values are allowed on custom properties