Skip to content

Commit

Permalink
Merge branch 'main' into feat/use-app-launched-in-foreground-to-deter…
Browse files Browse the repository at this point in the history
…minate-invalid-app-start-data-on-android
  • Loading branch information
martinhaintz committed Sep 17, 2024
2 parents fad381e + 90a08ea commit 1510a65
Show file tree
Hide file tree
Showing 18 changed files with 829 additions and 989 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@

### Features

- Blocking app starts if "appLaunchedInForeground" is false. ([#2291](https://github.com/getsentry/sentry-dart/pull/2291)
- Blocking app starts if "appLaunchedInForeground" is false. (Android only) ([#2291](https://github.com/getsentry/sentry-dart/pull/2291)

### 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

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 1510a65

Please sign in to comment.