Skip to content

Commit 5f5d2bb

Browse files
committed
release: 1.1.1
1 parent 1680fa9 commit 5f5d2bb

File tree

233 files changed

+566
-5044
lines changed

Some content is hidden

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

233 files changed

+566
-5044
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,6 @@ app.*.map.json
4444
/android/app/debug
4545
/android/app/profile
4646
/android/app/release
47+
48+
# iOS build
49+
/ios/build

README.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,51 @@
1-
![The Well App](https://gitlab.com/chroline/well_app/-/raw/main/thumbnail.png)
1+
![The Well App](thumbnail.png)
2+
3+
<p align='center'>
4+
5+
<a href='https://github.com/chroline/well_app/releases'>
6+
7+
<img src='https://img.shields.io/github/v/release/chroline/well_app?color=%23FDD835&label=version&style=for-the-badge'>
8+
9+
</a>
10+
11+
</p>
12+
13+
<br />
14+
15+
---
16+
17+
<h3 align='center'>
18+
Quick Links
19+
</h3>
20+
21+
<p align='center'>
22+
23+
<a href='https://projects.colegaw.in/well-app'>
24+
25+
<img src='https://img.shields.io/badge/HOMEPAGE-gray?style=for-the-badge'>
26+
27+
</a>
28+
29+
<a href='https://projects.colegaw.in/well-app/research'>
30+
31+
<img src='https://img.shields.io/badge/RESEARCH-blue?style=for-the-badge'>
32+
33+
</a>
34+
35+
<a href='https://projects.colegaw.in/well-app/case-study'>
36+
37+
<img src='https://img.shields.io/badge/CASE STUDY-green?style=for-the-badge'>
38+
39+
</a>
40+
41+
</p>
42+
43+
---
44+
45+
### The Well app is available for download!
46+
47+
- iOS: Search for "well: reboot your mindset" on the [iOS app store](https://apps.apple.com/us/app/well-reboot-your-mindset/id1573357406).
48+
- Web: Visit [https://well-app.netlify.app](https://well-app.netlify.app). Install as a PWA for native-like functionality!
49+
- Android: coming soon 👀
50+
51+
---

android/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ GeneratedPluginRegistrant.java
99
# Remember to never publicly share your keystore.
1010
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
1111
key.properties
12+
**/*.keystore
13+
**/*.jks

android/app/build.gradle

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,60 @@ if (flutterRoot == null) {
1313

1414
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
1515
if (flutterVersionCode == null) {
16-
flutterVersionCode = '1'
16+
throw new GradleException("versionCode not found. Define flutter.versionCode in the local.properties file.")
1717
}
1818

1919
def flutterVersionName = localProperties.getProperty('flutter.versionName')
2020
if (flutterVersionName == null) {
21-
flutterVersionName = '1.0'
21+
throw new GradleException("versionName not found. Define flutter.versionName in the local.properties file.")
2222
}
2323

2424
apply plugin: 'com.android.application'
2525
apply plugin: 'kotlin-android'
2626
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2727

28+
def keystoreProperties = new Properties()
29+
def keystorePropertiesFile = rootProject.file('key.properties')
30+
if (keystorePropertiesFile.exists()) {
31+
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
32+
}
33+
2834
android {
2935
compileSdkVersion 30
3036

37+
compileOptions {
38+
sourceCompatibility JavaVersion.VERSION_1_8
39+
targetCompatibility JavaVersion.VERSION_1_8
40+
}
41+
42+
kotlinOptions {
43+
jvmTarget = '1.8'
44+
}
45+
3146
sourceSets {
3247
main.java.srcDirs += 'src/main/kotlin'
3348
}
3449

3550
defaultConfig {
3651
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
37-
applicationId "com.colegawin.mentalhealth.well_app"
52+
applicationId "com.colegawin.mental_health_app"
3853
minSdkVersion 16
3954
targetSdkVersion 30
4055
versionCode flutterVersionCode.toInteger()
4156
versionName flutterVersionName
4257
}
4358

59+
signingConfigs {
60+
release {
61+
keyAlias keystoreProperties['keyAlias']
62+
keyPassword keystoreProperties['keyPassword']
63+
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
64+
storePassword keystoreProperties['storePassword']
65+
}
66+
}
4467
buildTypes {
4568
release {
46-
// TODO: Add your own signing config for the release build.
47-
// Signing with the debug keys for now, so `flutter run --release` works.
48-
signingConfig signingConfigs.debug
69+
signingConfig signingConfigs.release
4970
}
5071
}
5172
}

android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.colegawin.mentalhealth.well_app">
2+
package="com.colegawin.mental_health_app">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.colegawin.mentalhealth.well_app">
3-
<application
4-
android:label="Well"
5-
android:icon="@mipmap/ic_launcher">
2+
package="com.colegawin.mental_health_app">
3+
<application
4+
android:label="mental_health_app"
5+
android:icon="@mipmap/ic_launcher">
66
<activity
7-
android:name=".MainActivity"
8-
android:launchMode="singleTop"
9-
android:theme="@style/LaunchTheme"
10-
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
11-
android:hardwareAccelerated="true"
12-
android:windowSoftInputMode="adjustResize">
7+
android:name=".MainActivity"
8+
android:launchMode="singleTop"
9+
android:theme="@style/LaunchTheme"
10+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
11+
android:hardwareAccelerated="true"
12+
android:windowSoftInputMode="adjustResize">
1313
<!-- Specifies an Android theme to apply to this Activity as soon as
1414
the Android process has started. This theme is visible to the user
1515
while the Flutter UI initializes. After that, this theme continues
1616
to determine the Window background behind the Flutter UI. -->
1717
<meta-data
18-
android:name="io.flutter.embedding.android.NormalTheme"
19-
android:resource="@style/NormalTheme"
20-
/>
18+
android:name="io.flutter.embedding.android.NormalTheme"
19+
android:resource="@style/NormalTheme"
20+
/>
2121
<!-- Displays an Android View that continues showing the launch screen
2222
Drawable until Flutter paints its first frame, then this splash
2323
screen fades out. A splash screen is useful to avoid any visual
2424
gap between the end of Android's launch screen and the painting of
2525
Flutter's first frame. -->
2626
<meta-data
27-
android:name="io.flutter.embedding.android.SplashScreenDrawable"
28-
android:resource="@drawable/launch_background"
29-
/>
27+
android:name="io.flutter.embedding.android.SplashScreenDrawable"
28+
android:resource="@drawable/launch_background"
29+
/>
3030
<intent-filter>
3131
<action android:name="android.intent.action.MAIN"/>
3232
<category android:name="android.intent.category.LAUNCHER"/>
@@ -35,7 +35,7 @@
3535
<!-- Don't delete the meta-data below.
3636
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
3737
<meta-data
38-
android:name="flutterEmbedding"
39-
android:value="2"/>
38+
android:name="flutterEmbedding"
39+
android:value="2" />
4040
</application>
4141
</manifest>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package com.colegawin.mental_health_app
2+
3+
import io.flutter.embedding.android.FlutterActivity
4+
5+
class MainActivity: FlutterActivity() {
6+
}

android/app/src/main/kotlin/com/colegawin/mentalhealth/mental_health_app/MainActivity.kt

Lines changed: 0 additions & 6 deletions
This file was deleted.

android/app/src/profile/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.colegawin.mentalhealth.well_app">
2+
package="com.colegawin.mental_health_app">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

android/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ buildscript {
22
ext.kotlin_version = '1.3.50'
33
repositories {
44
google()
5-
jcenter()
5+
mavenCentral()
66
}
77

88
dependencies {
@@ -14,15 +14,13 @@ buildscript {
1414
allprojects {
1515
repositories {
1616
google()
17-
jcenter()
17+
mavenCentral()
1818
}
1919
}
2020

2121
rootProject.buildDir = '../build'
2222
subprojects {
2323
project.buildDir = "${rootProject.buildDir}/${project.name}"
24-
}
25-
subprojects {
2624
project.evaluationDependsOn(':app')
2725
}
2826

ios/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Flutter/App.framework
1818
Flutter/Flutter.framework
1919
Flutter/Flutter.podspec
2020
Flutter/Generated.xcconfig
21+
Flutter/ephemeral/
2122
Flutter/app.flx
2223
Flutter/app.zip
2324
Flutter/flutter_assets/

ios/Podfile.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ PODS:
44
- Flutter
55
- flutter_native_timezone (0.0.1):
66
- Flutter
7+
- in_app_review (0.2.0):
8+
- Flutter
79
- package_info_plus (0.4.5):
810
- Flutter
911
- path_provider (0.0.1):
@@ -15,6 +17,7 @@ DEPENDENCIES:
1517
- Flutter (from `Flutter`)
1618
- flutter_local_notifications (from `.symlinks/plugins/flutter_local_notifications/ios`)
1719
- flutter_native_timezone (from `.symlinks/plugins/flutter_native_timezone/ios`)
20+
- in_app_review (from `.symlinks/plugins/in_app_review/ios`)
1821
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
1922
- path_provider (from `.symlinks/plugins/path_provider/ios`)
2023
- url_launcher (from `.symlinks/plugins/url_launcher/ios`)
@@ -26,6 +29,8 @@ EXTERNAL SOURCES:
2629
:path: ".symlinks/plugins/flutter_local_notifications/ios"
2730
flutter_native_timezone:
2831
:path: ".symlinks/plugins/flutter_native_timezone/ios"
32+
in_app_review:
33+
:path: ".symlinks/plugins/in_app_review/ios"
2934
package_info_plus:
3035
:path: ".symlinks/plugins/package_info_plus/ios"
3136
path_provider:
@@ -37,6 +42,7 @@ SPEC CHECKSUMS:
3742
Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c
3843
flutter_local_notifications: 0c0b1ae97e741e1521e4c1629a459d04b9aec743
3944
flutter_native_timezone: 5f05b2de06c9776b4cc70e1839f03de178394d22
45+
in_app_review: 4a97249f7a2f539a0f294c2d9196b7fe35e49541
4046
package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e
4147
path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c
4248
url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef

0 commit comments

Comments
 (0)