File tree Expand file tree Collapse file tree 3 files changed +47
-2
lines changed
Expand file tree Collapse file tree 3 files changed +47
-2
lines changed Original file line number Diff line number Diff line change 11# a11y_assessments
22
3- An application to conduct accessibility assessments.
3+ This app is used for internal testing.
4+
5+ ## Release a new version for Android
6+
7+ pre-requisite: This can and should only be done by a googler and you must also
8+ be in the flutter.dev play console account.
9+
10+ 1 . Follow https://docs.flutter.dev/deployment/android to create a keystore file if you don't already
11+ have one.
12+
13+ 2 . Bump the pubspec.yaml version
14+
15+ 3 . Create a key.properties file in ` android/ ` directory following this format.
16+ ```
17+ storePassword=<password>
18+ keyPassword=<password>
19+ keyAlias=upload
20+ storeFile=<keystore path>
21+ ```
22+
23+ 4 . Run ` flutter build appbundle ` and upload the artifact to play console
24+
25+ ## Release a new version for iOS
26+
27+ pre-requisite: This can and should only be done by a googler and you must also
28+ be in the FLUTTER.IO LLC developer account with iOS distribution permission.
29+
30+ 1 . Bump the pubspec.yaml version
31+ 2 . Run ` flutter build ipa ` and upload the artifact to app store using transporter or other tools.
32+ For more information, see https://docs.flutter.dev/deployment/ios .
33+ 3 . Once the app is in TestFlight, add appropriate testers to the app so they can start testing.
Original file line number Diff line number Diff line change @@ -26,6 +26,12 @@ if (flutterVersionName == null) {
2626 flutterVersionName = ' 1.0'
2727}
2828
29+ def keystoreProperties = new Properties ()
30+ def keystorePropertiesFile = rootProject. file(' key.properties' )
31+ if (keystorePropertiesFile. exists()) {
32+ keystoreProperties. load(new FileInputStream (keystorePropertiesFile))
33+ }
34+
2935android {
3036 namespace " com.example.a11y_assessments"
3137 compileSdk flutter. compileSdkVersion
@@ -54,12 +60,20 @@ android {
5460 versionCode flutterVersionCode. toInteger()
5561 versionName flutterVersionName
5662 }
63+ signingConfigs {
64+ release {
65+ keyAlias keystoreProperties[' keyAlias' ]
66+ keyPassword keystoreProperties[' keyPassword' ]
67+ storeFile keystoreProperties[' storeFile' ] ? file(keystoreProperties[' storeFile' ]) : null
68+ storePassword keystoreProperties[' storePassword' ]
69+ }
70+ }
5771
5872 buildTypes {
5973 release {
6074 // TODO: Add your own signing config for the release build.
6175 // Signing with the debug keys for now, so `flutter run --release` works.
62- signingConfig signingConfigs. debug
76+ signingConfig signingConfigs. release
6377 }
6478 }
6579}
Original file line number Diff line number Diff line change 11name : a11y_assessments
22description : A new Flutter project
3+ version : 5.0.0+5
34
45environment :
56 sdk : ' >=3.2.0-22.0.dev <4.0.0'
You can’t perform that action at this time.
0 commit comments