Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/getsentry/sentry-mobile-release-health-app
Sentry Mobile App
https://github.com/getsentry/sentry-mobile-release-health-app
android ios sentry tag-production
Last synced: 3 months ago
JSON representation
Sentry Mobile App
- Host: GitHub
- URL: https://github.com/getsentry/sentry-mobile-release-health-app
- Owner: getsentry
- License: other
- Created: 2020-08-02T19:20:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T11:57:30.000Z (over 1 year ago)
- Last Synced: 2024-04-17T00:00:12.099Z (7 months ago)
- Topics: android, ios, sentry, tag-production
- Language: Dart
- Homepage:
- Size: 2.87 MB
- Stars: 42
- Watchers: 6
- Forks: 5
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starts - getsentry/sentry-mobile - Sentry Mobile App (Dart)
README
# Release Health [![build](https://github.com/getsentry/sentry-mobile/workflows/build/badge.svg?branch=main)](https://github.com/getsentry/sentry-mobile/actions?query=branch%3Amain)
> Note: Please be aware that this project is currently not actively maintained. PRs will not be merged.
A flutter application with the focus on [Release Health](https://docs.sentry.io/product/releases/health/setup/).
# Run source generators
`flutter pub run build_runner build`
# Getting started
1. Install Flutter
https://flutter.dev/docs/get-started/install
2. Run to see what you should do:
```
flutter doctor
```3. Install dependencies
```
flutter pub get
```4. Use your editor of choice (recommendation Android Studio with Flutter plugin)
https://flutter.dev/docs/get-started/editor
5. Generate Transient Files
Files used for JSON decoding are generated using [`build_runner`](https://dart.dev/tools/build_runner). When run with [`watch`](https://pub.dev/packages/build_runner#built-in-commands) option, rebuilds are done automatically when files change.
```
flutter pub run build_runner build
```6. Run the App
You can start it from Android Studio in an Simulator, even iOS Simulator.
or run
```
flutter run
```# Build iOS and Upload to TestFlight
- Provide environment variables needed for fastlane. For example by updating your `~/.bash_profile` or `~/.zshrc`, depending on which shell you are using.
- Make sure you have your distribution certificate and the provisioning profile installed on your machine.
- Create an app specific password for your apple developer account: https://appleid.apple.com/account/manage```
export FASTLANE_USER="[email protected]" # Your apple developer account
export FASTLANE_ITC_TEAM_ID="12345678" # The identifier of the iTunes Connect (AppStore Connect) team
export FASTLANE_PROVISIONING_PROFILE_NAME="Profile For Appstore" # The name of the provisioning profile
export SENTRY_AUTH_TOKEN="Sentry AuthToken" # Used for iOS dsym and debug info upload
export FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD="app-specific-pass-word" # Created from your apple developer account
```Restart terminal after entering.
- You need to install the fastlane plugin https://github.com/getsentry/sentry-fastlane-plugin.
- Change working directory to 'ios' and run 'fastlane build_ios_and_upload'.
- The build number from the current TestFlight build will be read and incremented by one.
- After successfully IPA upload, the lane will also upload local DSYM files and other debug info to Sentry.```
cd ios
fastlane build_ios_and_upload
```# Build Android and Upload to Google Play Internal
Add keystore files `upload-keystore.jks`, `upload-keystore.properties` and JSON key file `upload-key.json` to the android folder. These files are excluded from version control.
Change working directory to 'android' and run 'fastlane build_android_and_upload_aab'.
The current build number from `pubspec.yaml` will be used. So if you ran the iOS upload before, they will match each other.
```
cd android
fastlane build_android_and_upload_aab
```This will also read the current build number from TestFlight and increment it in `pubspec.yaml`