Skip to content

Commit

Permalink
Improve app start integration (#2266)
Browse files Browse the repository at this point in the history
  • Loading branch information
denrase authored Sep 17, 2024
1 parent fe6dcac commit 90a08ea
Show file tree
Hide file tree
Showing 18 changed files with 830 additions and 988 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## Unreleased

### Enhancements

- Improve app start integration ([#2266](https://github.com/getsentry/sentry-dart/pull/2266))
- Fixes ([#2103](https://github.com/getsentry/sentry-dart/issues/2103))
- Fixes ([#2233](https://github.com/getsentry/sentry-dart/issues/2233))

## 8.9.0

### Features
Expand Down
3 changes: 0 additions & 3 deletions flutter/example/integration_test/integration_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:http/http.dart';
import 'package:sentry_flutter/sentry_flutter.dart';
import 'package:sentry_flutter/src/integrations/native_app_start_integration.dart';
import 'package:sentry_flutter_example/main.dart';

void main() {
Expand All @@ -26,8 +25,6 @@ void main() {
// Using fake DSN for testing purposes.
Future<void> setupSentryAndApp(WidgetTester tester,
{String? dsn, BeforeSendCallback? beforeSendCallback}) async {
NativeAppStartIntegration.isIntegrationTest = true;

await setupSentry(
() async {
await tester.pumpWidget(SentryScreenshotWidget(
Expand Down
2 changes: 1 addition & 1 deletion flutter/example/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import UIKit
import Flutter
import Sentry

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
private let _channel = "example.flutter.sentry.io"

Expand Down
2 changes: 1 addition & 1 deletion flutter/example/lib/user_feedback_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class _SentryLogo extends StatelessWidget {
var color = Colors.white;
final brightenss = Theme.of(context).brightness;
if (brightenss == Brightness.light) {
color = const Color(0xff362d59).withOpacity(1.0);
color = const Color(0xff362d59);
}

return FittedBox(
Expand Down
155 changes: 0 additions & 155 deletions flutter/lib/src/event_processor/native_app_start_event_processor.dart

This file was deleted.

Loading

0 comments on commit 90a08ea

Please sign in to comment.