File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7676
7777 # Build
7878 - name : Build APK
79- run : flutter build apk --dart-define=SENTRY_DSN=${SENTRY_DSN}
79+ run : flutter build apk --flavor production --target lib/main_production.dart -- dart-define=SENTRY_DSN=${SENTRY_DSN}
Original file line number Diff line number Diff line change @@ -57,6 +57,26 @@ android {
5757 signingConfig signingConfigs. debug
5858 }
5959 }
60+
61+ // TODO: Remove when below fix is available in stable channel.
62+ // https://github.com/flutter/flutter/pull/82309
63+ lintOptions {
64+ checkReleaseBuilds false
65+ }
66+
67+ flavorDimensions " default"
68+ productFlavors {
69+ production {
70+ dimension " default"
71+ applicationIdSuffix " "
72+ manifestPlaceholders = [appName : " Codephile" ]
73+ }
74+ development {
75+ dimension " default"
76+ applicationIdSuffix " "
77+ manifestPlaceholders = [appName : " [DEV] Codephile" ]
78+ }
79+ }
6080}
6181
6282flutter {
You can’t perform that action at this time.
0 commit comments