Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-parcelize'
apply plugin: 'com.google.devtools.ksp'
apply plugin: 'dagger.hilt.android.plugin'
apply plugin: 'com.google.firebase.crashlytics'
apply plugin: 'com.google.gms.google-services'

Expand Down Expand Up @@ -61,6 +63,10 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.8.0'
implementation 'androidx.core:core-ktx:1.19.0'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.11.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.11.0'
implementation 'androidx.activity:activity-ktx:1.8.0'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: not sure if this rly matters in the end but isn't activity-ktx:1.8.0 older?

implementation "com.google.dagger:hilt-android:$hilt_version"
ksp "com.google.dagger:hilt-compiler:$hilt_version"
implementation 'androidx.constraintlayout:constraintlayout:2.2.2'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.2.0'
testImplementation 'junit:junit:4.13.2'
Expand Down
17 changes: 9 additions & 8 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />

<application
android:name=".CourseGrabApplication"
android:allowBackup="true"
android:fullBackupContent="@xml/backup_descriptor"
android:icon="@mipmap/ic_launcher"
Expand All @@ -12,7 +13,7 @@
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".SplashScreenActivity"
android:name=".ui.splash.SplashScreenActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:exported="true"
android:theme="@style/AppTheme.Fullscreen">
Expand All @@ -23,27 +24,27 @@
</intent-filter>
</activity>
<activity
android:name=".NotificationModal"
android:name=".ui.notification.NotificationModal"
android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
<activity
android:name=".CourseDetailsActivity"
android:name=".ui.details.CourseDetailsActivity"
android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
<activity
android:name=".SearchActivity"
android:name=".ui.search.SearchActivity"
android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
<activity
android:name=".SettingsActivity"
android:name=".ui.settings.SettingsActivity"
android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
<activity
android:name=".LoginActivity"
android:name=".ui.login.LoginActivity"
android:exported="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"></activity>
<activity
android:name=".MainActivity"
android:name=".ui.main.MainActivity"
android:theme="@style/Theme.AppCompat.Light.NoActionBar" />

<service
android:name=".NotificationService"
android:name=".service.NotificationService"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.cornellappdev.coursegrab

import android.app.Application
import dagger.hilt.android.HiltAndroidApp

@HiltAndroidApp
class CourseGrabApplication : Application()
240 changes: 0 additions & 240 deletions app/src/main/java/com/cornellappdev/coursegrab/LoginActivity.kt

This file was deleted.

This file was deleted.

Loading