Skip to content

Commit 3872ce6

Browse files
Merge pull request #88 from cuappdev/andrew/remove-google-sign-in-temp
Comment out onboarding feature for Updated Gym Details Release
2 parents 898cb96 + 605457f commit 3872ce6

File tree

156 files changed

+3877
-2128
lines changed

Some content is hidden

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

156 files changed

+3877
-2128
lines changed

.DS_Store

6 KB
Binary file not shown.

.github/pull_request_template.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!-- IF A SECTION IS NOT APPLICABLE TO YOU, PLEASE DELETE IT!! -->
2+
<!-- Your title should be able to summarize what changes you’ve made in one sentence. For example: “Exclude staff from the check for follows”. For stacked PRs, please indicate clearly in the title where in the stack you are. For example: “[Eatery Refactor][4/5] Converted all files to MVP model” -->
3+
## Overview
4+
<!-- Summarize your changes here. -->
5+
## Changes Made
6+
<!-- Include details of what your changes actually are and how it is intended to work. -->
7+
## Test Coverage
8+
<!-- Describe how you tested this feature. Manual testing and/or unit testing. Please include repro steps and/or how to turn the feature on if applicable. -->
9+
## Next Steps (delete if not applicable)
10+
<!-- If this is part of a multi-PR change, please describe what changes you plan on addressing in future PRs. -->
11+
## Related PRs or Issues (delete if not applicable)
12+
<!-- List related PRs against other branches/repositories. -->
13+
## Screenshots (delete if not applicable)
14+
<!-- This could include of screenshots of the new feature / proof that the changes work. -->
15+
<details>
16+
<summary>Screen Shot Name</summary>
17+
<!-- Insert file link here. Newlines above and below your link are necessary for this to work. -->
18+
</details>
19+

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,4 @@ lint/tmp/
8686
# lint/reports/
8787

8888
secrets.properties
89+
google-services.json

.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 78 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,10 @@
33
<p align="center"><img src=https://raw.githubusercontent.com/cuappdev/uplift-ios/master/Uplift/Assets.xcassets/AppIcon.appiconset/ItunesArtwork%402x.png width=210 /></p>
44

55
Uplift is one of the latest apps by [Cornell AppDev](http://cornellappdev.com), an engineering project team at Cornell University focused on mobile app development. Uplift aims to be the go-to fitness and wellness tool that provides information and class times for gym resources at Cornell.
6+
7+
## Getting Started
8+
1. Clone the repository.
9+
2. Add a file called secrets.properties into your root level directory with the variables which you can find pinned in `#uplift-android`.
10+
3. Go to the Firebase console for Uplift (you may need to contact a lead for access), and navigate to Project Settings -> Android, then add your SHA1 fingerprint, which you can find with the following command `./gradlew signingReport`.
11+
4. Download the google-services.json file which you can find pinned on `#uplift-android` and add it to the app directory.
12+
5. Build the project, and you should be good to go!

app/.DS_Store

6 KB
Binary file not shown.

app/build.gradle

Lines changed: 50 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
plugins {
22
id 'com.android.application'
33
id 'org.jetbrains.kotlin.android'
4-
id "com.apollographql.apollo3" version "3.8.2"
4+
id("com.apollographql.apollo") version "4.1.1"
5+
id 'com.google.gms.google-services'
6+
id 'kotlin-kapt'
7+
id("com.google.devtools.ksp") // Use KSP instead of kapt for now to avoid kapt stub build error
8+
id("com.google.dagger.hilt.android")
9+
id 'org.jetbrains.kotlin.plugin.serialization' version '2.0.20'
10+
id("org.jetbrains.kotlin.plugin.compose") version "2.0.10"
511
}
6-
712
def secretsPropertiesFile = rootProject.file('secrets.properties')
813
def secretsProperties = new Properties()
914
secretsProperties.load(new FileInputStream(secretsPropertiesFile))
@@ -16,24 +21,31 @@ android {
1621
applicationId "com.cornellappdev.uplift"
1722
minSdk 28
1823
targetSdk 35
19-
versionCode 13
20-
versionName "1.4-backend-fix"
21-
24+
versionCode 14
25+
versionName "1.5-updated-gym-details"
2226
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2327
vectorDrawables {
2428
useSupportLibrary true
2529
}
30+
31+
2632
}
2733

2834
buildTypes {
29-
debug {
30-
buildConfigField("String", "BACKEND_URL", secretsProperties['DEV_ENDPOINT'])
31-
}
3235
release {
3336
minifyEnabled false
3437
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
38+
buildConfigField("String", "GOOGLE_AUTH_CLIENT_ID", secretsProperties["GOOGLE_AUTH_CLIENT_ID"])
3539
buildConfigField("String", "BACKEND_URL", secretsProperties['PROD_ENDPOINT'])
3640
}
41+
debug {
42+
buildConfigField("String", "BACKEND_URL", secretsProperties['DEV_ENDPOINT'])
43+
buildConfigField(
44+
"String",
45+
"GOOGLE_AUTH_CLIENT_ID", secretsProperties["GOOGLE_AUTH_CLIENT_ID"]
46+
)
47+
signingConfig signingConfigs.debug
48+
}
3749
}
3850
compileOptions {
3951
sourceCompatibility JavaVersion.VERSION_17
@@ -45,10 +57,10 @@ android {
4557
}
4658
buildFeatures {
4759
compose true
48-
buildConfig true
60+
buildConfig = true
4961
}
5062
composeOptions {
51-
kotlinCompilerExtensionVersion '1.5.3'
63+
kotlinCompilerExtensionVersion '1.5.14'
5264
}
5365
packagingOptions {
5466
resources {
@@ -58,31 +70,43 @@ android {
5870
}
5971

6072
dependencies {
61-
implementation 'androidx.datastore:datastore-preferences:1.0.0-alpha08'
62-
implementation 'androidx.core:core-ktx:1.7.0'
63-
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1'
64-
implementation 'androidx.activity:activity-compose:1.3.1'
73+
implementation 'androidx.activity:activity-compose:1.10.1'
74+
implementation "androidx.compose.ui:ui:$compose_ui_version"
75+
implementation "androidx.compose.ui:ui-tooling-preview:$compose_ui_version"
76+
implementation 'androidx.core:core-ktx:1.15.0'
77+
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.8.7'
78+
implementation 'androidx.activity:activity-compose:1.10.1'
6579
implementation "androidx.compose.ui:ui:$compose_ui_version"
6680
implementation "androidx.compose.ui:ui-tooling-preview:$compose_ui_version"
67-
implementation 'androidx.compose.material:material:1.7.3'
68-
implementation 'androidx.compose.material3:material3-android:1.3.0'
69-
implementation 'androidx.core:core-ktx:+'
70-
implementation 'androidx.compose.material3:material3-android:1.3.0'
81+
implementation 'androidx.compose.material:material:1.7.8'
82+
implementation('androidx.compose.material3:material3-android:1.3.1')
7183
testImplementation 'junit:junit:4.13.2'
72-
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
73-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
84+
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
85+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
7486
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_ui_version"
7587
debugImplementation "androidx.compose.ui:ui-tooling:$compose_ui_version"
76-
debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_ui_version"
88+
debugImplementation "androidx.compose.ui:ui-test-manifest:1.7.8"
7789
implementation "io.coil-kt:coil-compose:2.2.2"
78-
def nav_version = "2.5.3"
79-
implementation "androidx.navigation:navigation-compose:$nav_version"
90+
implementation "androidx.navigation:navigation-compose:2.8.8"
8091
implementation "com.google.accompanist:accompanist-systemuicontroller:0.28.0"
81-
implementation "com.google.accompanist:accompanist-permissions:0.28.0"
82-
implementation "com.apollographql.apollo3:apollo-runtime:3.8.2"
92+
implementation "com.google.accompanist:accompanist-permissions:0.34.0"
93+
implementation("com.apollographql.apollo:apollo-runtime:4.1.1")
8394
implementation 'com.valentinilk.shimmer:compose-shimmer:1.0.5'
84-
implementation 'com.google.android.gms:play-services-location:21.0.1'
95+
implementation 'com.google.android.gms:play-services-location:21.3.0'
8596
implementation 'androidx.core:core-splashscreen:1.0.1'
97+
implementation 'androidx.datastore:datastore-preferences:1.1.3'
98+
// Dagger Hilt
99+
implementation("com.google.dagger:hilt-android:2.51.1")
100+
ksp("com.google.dagger:hilt-compiler:2.51.1")
101+
implementation("androidx.hilt:hilt-navigation-compose:1.2.0")
102+
// Serialization
103+
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3"
104+
// Authentication + Firebase
105+
implementation "androidx.credentials:credentials:<latest version>"
106+
implementation "androidx.credentials:credentials-play-services-auth:<latest version>"
107+
implementation "com.google.android.libraries.identity.googleid:googleid:<latest version>"
108+
implementation 'com.google.android.gms:play-services-auth:21.3.0'
109+
implementation 'com.google.firebase:firebase-auth-ktx:23.2.0'
86110
}
87111

88112
apollo {

0 commit comments

Comments
 (0)