Skip to content

Commit bf5873a

Browse files
Merge pull request #19 from sentry-demos/feature/comprehensive-sentry-integration
Feature/comprehensive sentry integration
2 parents a259880 + f608033 commit bf5873a

File tree

109 files changed

+4639
-643
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+4639
-643
lines changed

.env.example

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,35 @@
11
# Example .env file for empower_flutter
22
# Copy this file to .env and fill in your actual values
33

4+
# ========================================
5+
# Sentry Core Configuration
6+
# ========================================
47
SENTRY_AUTH_TOKEN=your_auth_token
58
SENTRY_DSN=your_dsn
6-
SENTRY_RELEASE=your_release_version_or_git_sha
9+
SENTRY_RELEASE=empower_flutter@9.14.0+1 # Format: appname@version+build
710
SENTRY_ENVIRONMENT=your_environment
11+
12+
# ========================================
13+
# Sentry Organization & Project
14+
# ========================================
15+
SENTRY_ORG=your-org-slug
16+
SENTRY_PROJECT=your-project-slug
17+
18+
# ========================================
19+
# Optional: Size Analysis
20+
# ========================================
21+
# Enable automatic build size analysis uploads during release builds
22+
# When enabled, APK/AAB files are automatically uploaded to Sentry
23+
# for size tracking and optimization insights
24+
# Requires sentry-cli to be installed (brew install sentry-cli)
25+
# Set to 'false' or comment out to disable (useful for faster local builds)
26+
SENTRY_SIZE_ANALYSIS_ENABLED=true
27+
28+
# ========================================
29+
# Optional: CI/CD Metadata
30+
# ========================================
31+
# These are typically auto-detected in CI environments
32+
# CI_COMMIT_SHA=abc123
33+
# CI_MERGE_REQUEST_DIFF_BASE_SHA=def456
34+
# CI_COMMIT_REF_NAME=feature-branch
35+
# GITHUB_PR_NUMBER=42

0 commit comments

Comments
 (0)