All you need is the sentry-dart. The sentry
package doesn't depend on the Flutter SDK.
All you need is the sentry-flutter and sentry-dart
as stated above.
The SDK currently supports Android, iOS, and Web. We build the example app for these targets on 3 platforms: Windows, macOS, and Linux. This is to make sure you'd be able to contribute to this project if you're using any of these operating systems.
We also run CI against the Flutter stable
and beta
channels, so you should be able to build it if you're in one of those.
The Flutter SDK has our Native SDKs embedded if you wish to learn more about them, they sit at:
sentry-java for the Android integration. sentry-cocoa for the Apple integration. sentry-native for the Android NDK integration.
- The Dart SDK (if you want to change
sentry-dart
) - The Flutter SDK (if you want to change
sentry-dart
orsentry-flutter
) - Android: Android SDK (
sentry-java
) with NDK (sentry-native
): The example project includes C++. - iOS: Cocoa SDK (
sentry-cocoa
), you'll need a Mac with Xcode installed. - Web: No additional dependencies.
- Dart/Flutter
- Execute
./tool/presubmit.sh
within thedart
andflutter
folders
- Execute
- Swift/CocoaPods
- Use
swiftlint
andpod lib lint
- Use
- Kotlin
- Use
ktlint
anddetekt
- Use