Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add format
  • Loading branch information
buenaflor committed Dec 18, 2023
commit 8e527ba0f7b7245ce7bb29aa5946f44f3f776e08
4 changes: 3 additions & 1 deletion dart/lib/src/sentry_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,9 @@ class SentryOptions {
/// The Spotlight URL.
/// Defaults to http://10.0.2.2:8969/stream due to Emulator on Android.
/// Otherwise defaults to http://localhost:8969/stream.
String spotlightUrl = Platform.isAndroid ? 'http://10.0.2.2:8969/stream' : 'http://localhost:8969/stream';
String spotlightUrl = Platform.isAndroid
? 'http://10.0.2.2:8969/stream'
: 'http://localhost:8969/stream';

SentryOptions({this.dsn, PlatformChecker? checker}) {
if (checker != null) {
Expand Down