Skip to content

Commit a7fd047

Browse files
removed duplicate consts
1 parent 47bd46d commit a7fd047

File tree

2 files changed

+7
-15
lines changed

2 files changed

+7
-15
lines changed

.env.example

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Example .env file for empower_flutter
2+
# Copy this file to .env and fill in your actual values
3+
4+
SENTRY_AUTH_TOKEN=your_auth_token
5+
SENTRY_DSN=your_dsn
6+
SENTRY_RELEASE=your_release_version_or_git_sha
7+
SENTRY_ENVIRONMENT=your_environment

lib/sentry_setup.dart

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,6 @@ import 'package:logging/logging.dart';
1111
import 'se_config.dart';
1212
import 'dart:io';
1313

14-
// Sentry constants
15-
// ignore: constant_identifier_names
16-
const SENTRY_RELEASE = String.fromEnvironment(
17-
"SENTRY_RELEASE",
18-
defaultValue: '614997d2cf7b57dfa7daba24a2fc739f4eb5b7bf',
19-
);
20-
// ignore: constant_identifier_names
21-
const SENTRY_ENVIRONMENT = String.fromEnvironment(
22-
"SENTRY_ENVIRONMENT",
23-
defaultValue: 'staging',
24-
);
25-
// ignore: constant_identifier_names
26-
const DSN =
27-
'https://[email protected]/6453502';
28-
2914
final GlobalKey<NavigatorState> navigatorKey = GlobalKey<NavigatorState>();
3015

3116
FutureOr<SentryEvent?> beforeSend(SentryEvent event, Hint? hint) async {

0 commit comments

Comments
 (0)