diff --git a/app/build.gradle b/app/build.gradle index a777ba42b9..f35a3cfa72 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,7 +11,7 @@ android { defaultConfig { applicationId "com.example.issu_tracker" - minSdk 23 + minSdk 21 targetSdk 32 versionCode 1 versionName "1.0" @@ -38,14 +38,6 @@ android { } dependencies { - //Room - implementation "androidx.room:room-ktx:2.4.2" - kapt "androidx.room:room-compiler:2.4.2" - implementation "androidx.room:room-runtime:2.4.2" - annotationProcessor "androidx.room:room-compiler:2.4.2" - // Glide - implementation 'com.github.bumptech.glide:glide:4.13.0' - annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0' implementation "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.6.1" // hilt @@ -68,13 +60,12 @@ dependencies { //cloud fireStore implementation 'com.google.firebase:firebase-firestore-ktx' + //firebase for Google and Github Oauth login implementation platform('com.google.firebase:firebase-bom:30.0.1') implementation 'com.google.firebase:firebase-analytics-ktx' implementation 'com.google.firebase:firebase-auth-ktx' implementation 'com.google.android.gms:play-services-auth:20.2.0' - // Declare the dependency for the Cloud Storage library - implementation 'com.google.firebase:firebase-storage-ktx' // Testing testImplementation "androidx.arch.core:core-testing:2.1.0" @@ -83,8 +74,4 @@ dependencies { testImplementation 'androidx.test.ext:junit:1.1.2' testImplementation "org.robolectric:robolectric:4.4" - // Markwon (display markdown) - implementation "io.noties.markwon:core:$markwon_version" - implementation "io.noties.markwon:editor:$markwon_version" - implementation "io.noties.markwon:image:$markwon_version" } \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index f193da52c6..48e22f66c4 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -3,7 +3,6 @@ package="com.example.issu_tracker"> - - + android:exported="true"> + + + diff --git a/app/src/main/java/com/example/issu_tracker/data/Comment.kt b/app/src/main/java/com/example/issu_tracker/data/Comment.kt index d00c740758..06a4b195ea 100644 --- a/app/src/main/java/com/example/issu_tracker/data/Comment.kt +++ b/app/src/main/java/com/example/issu_tracker/data/Comment.kt @@ -1,9 +1,6 @@ package com.example.issu_tracker.data -import java.io.Serializable - data class Comment( - val commentUser: User? = null, - val content: String = "", - val time: String = "" -) : Serializable \ No newline at end of file + val commentUser: User?=null, val content: String="", + val time: String="" +) \ No newline at end of file diff --git a/app/src/main/java/com/example/issu_tracker/data/Issue.kt b/app/src/main/java/com/example/issu_tracker/data/Issue.kt index 1fb340e84b..26087e03eb 100644 --- a/app/src/main/java/com/example/issu_tracker/data/Issue.kt +++ b/app/src/main/java/com/example/issu_tracker/data/Issue.kt @@ -1,10 +1,12 @@ package com.example.issu_tracker.data -import java.io.Serializable +import com.google.gson.annotations.SerializedName + import java.lang.Exception +data class Label(val color: String = "", val content: String = "") + data class IssueDto( - var id: String = "", val commets: List = listOf(), val description: String = "", val label: List