Skip to content

Commit 90a08ea

Browse files
authored
Improve app start integration (#2266)
1 parent fe6dcac commit 90a08ea

18 files changed

+830
-988
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Enhancements
6+
7+
- Improve app start integration ([#2266](https://github.com/getsentry/sentry-dart/pull/2266))
8+
- Fixes ([#2103](https://github.com/getsentry/sentry-dart/issues/2103))
9+
- Fixes ([#2233](https://github.com/getsentry/sentry-dart/issues/2233))
10+
311
## 8.9.0
412

513
### Features

flutter/example/integration_test/integration_test.dart

-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import 'package:flutter/widgets.dart';
88
import 'package:flutter_test/flutter_test.dart';
99
import 'package:http/http.dart';
1010
import 'package:sentry_flutter/sentry_flutter.dart';
11-
import 'package:sentry_flutter/src/integrations/native_app_start_integration.dart';
1211
import 'package:sentry_flutter_example/main.dart';
1312

1413
void main() {
@@ -26,8 +25,6 @@ void main() {
2625
// Using fake DSN for testing purposes.
2726
Future<void> setupSentryAndApp(WidgetTester tester,
2827
{String? dsn, BeforeSendCallback? beforeSendCallback}) async {
29-
NativeAppStartIntegration.isIntegrationTest = true;
30-
3128
await setupSentry(
3229
() async {
3330
await tester.pumpWidget(SentryScreenshotWidget(

flutter/example/ios/Runner/AppDelegate.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import UIKit
22
import Flutter
33
import Sentry
44

5-
@UIApplicationMain
5+
@main
66
@objc class AppDelegate: FlutterAppDelegate {
77
private let _channel = "example.flutter.sentry.io"
88

flutter/example/lib/user_feedback_dialog.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class _SentryLogo extends StatelessWidget {
143143
var color = Colors.white;
144144
final brightenss = Theme.of(context).brightness;
145145
if (brightenss == Brightness.light) {
146-
color = const Color(0xff362d59).withOpacity(1.0);
146+
color = const Color(0xff362d59);
147147
}
148148

149149
return FittedBox(

flutter/lib/src/event_processor/native_app_start_event_processor.dart

-155
This file was deleted.

0 commit comments

Comments
 (0)