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
{{ message }}
This repository was archived by the owner on Jun 13, 2023. It is now read-only.
The Datadog team has released an official version of their SDK. Since they are a team and very close to the APIs and features of the iOS and Android SDKs, it is with a heavy and joyful heart that version 2 of datadog_flutter will be the final release of this community package.
The migration is not exactly one to one. Below is a migration guide, however, as the new SDK has just reached beta, it is impartial (add more in the comments and I'll edit this list as we discover disparity). If you have questions about the new SDK or APIs, please open issues on the new repo. Good luck @fuzzybinary@xgouchet and thanks for your work in releasing this new SDK.
Rename datadog_flutter to datadog_flutter_plugin. The Datadog team has decided to not use the datadog_flutter package name.
The initialization API is extremely similar, however, you cannot pass keys for different platforms. Instead, consider applicationId: Platform.isAndroid ? androidKey : iosKey. For apps that use web/linux/mac/windows too, you'll have to be more creative with your solution.
Use the global logger in DatadogSdk.instance.logs. While you can still use the individual logger architecture, the class isn't publicly exposed (Expose DdLogs publicly DataDog/dd-sdk-flutter#121) as of writing.
Web is not supported by the new SDK yet. Do not migrate if you use Flutter web.
The Datadog team has released an official version of their SDK. Since they are a team and very close to the APIs and features of the iOS and Android SDKs, it is with a heavy and joyful heart that version 2 of
datadog_flutterwill be the final release of this community package.The migration is not exactly one to one. Below is a migration guide, however, as the new SDK has just reached beta, it is impartial (add more in the comments and I'll edit this list as we discover disparity). If you have questions about the new SDK or APIs, please open issues on the new repo. Good luck @fuzzybinary @xgouchet and thanks for your work in releasing this new SDK.
Thank you to everyone for your support and contributions to this plugin, especially @btrautmann @charafau @QuirijnGB.
Migration Guide (WIP)
datadog_fluttertodatadog_flutter_plugin. The Datadog team has decided to not use thedatadog_flutterpackage name.applicationId: Platform.isAndroid ? androidKey : iosKey. For apps that use web/linux/mac/windows too, you'll have to be more creative with your solution.DatadogSdk.instance.logs. While you can still use the individual logger architecture, the class isn't publicly exposed (Expose DdLogs publicly DataDog/dd-sdk-flutter#121) as of writing.DatadogObserveris nowDatadogNavigationObserver