Skip to content

Commit

Permalink
refactor(openfeedback): Update SDK to KMP version.
Browse files Browse the repository at this point in the history
Closes #95
  • Loading branch information
GerardPaligot committed Apr 6, 2024
1 parent 0746d94 commit d5abbb5
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import coil.ImageLoaderFactory
import coil.decode.SvgDecoder
import coil.disk.DiskCache
import coil.memory.MemoryCache
import io.openfeedback.android.viewmodels.OpenFeedbackFirebaseConfig
import io.openfeedback.viewmodels.OpenFeedbackFirebaseConfig
import org.gdglille.devfest.android.di.appModule
import org.koin.android.ext.koin.androidContext
import org.koin.androidx.workmanager.koin.workManagerFactory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal fun configureKotlinAndroid(
compileSdk = 34

defaultConfig {
minSdk = 21
minSdk = 23
}

compileOptions {
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ koin = "3.5.3"
ktlint = "11.5.1"
ktor = "2.3.3"
logback = "1.3.5"
openfeedback = "1.0.0-SNAPSHOT"
openfeedback = "0.2.2"
richtext-commonmark = "0.11.0"
squareup-okio = "3.7.0"
settings = "0.8.1"
Expand Down Expand Up @@ -136,7 +136,7 @@ ktlint-gradlePlugin = { group = "org.jlleitschuh.gradle", name = "ktlint-gradle"

logback = { group = "ch.qos.logback", name = "logback-classic", version.ref = "logback" }

openfeedback-m3 = { group = "io.openfeedback", name = "feedback-android-sdk-m3", version.ref = "openfeedback" }
openfeedback-m3 = { group = "io.openfeedback", name = "openfeedback-m3", version.ref = "openfeedback" }

richtext-commonmark = { group = "com.halilibo.compose-richtext", name = "richtext-commonmark", version.ref = "richtext-commonmark" }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package org.gdglille.devfest.android.theme
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.navigation.NavHostController
import io.openfeedback.android.viewmodels.OpenFeedbackFirebaseConfig
import io.openfeedback.viewmodels.OpenFeedbackFirebaseConfig
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.FlowPreview
import org.gdglille.devfest.android.theme.m3.style.Conferences4HallTheme
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import androidx.navigation.compose.currentBackStackEntryAsState
import androidx.navigation.compose.rememberNavController
import androidx.navigation.navArgument
import androidx.navigation.navDeepLink
import io.openfeedback.android.viewmodels.OpenFeedbackFirebaseConfig
import io.openfeedback.viewmodels.OpenFeedbackFirebaseConfig
import org.gdglille.devfest.android.theme.m3.events.feature.EventListVM
import org.gdglille.devfest.android.theme.m3.infos.feature.InfoCompactVM
import org.gdglille.devfest.android.theme.m3.infos.feature.TicketQrCodeScanner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.compose.ui.Modifier
import io.openfeedback.android.viewmodels.OpenFeedbackFirebaseConfig
import org.gdglille.devfest.android.theme.m3.schedules.screens.ScheduleDetailOrientableScreen
import io.openfeedback.viewmodels.OpenFeedbackFirebaseConfig
import org.gdglille.devfest.android.shared.resources.Resource
import org.gdglille.devfest.android.shared.resources.text_error
import org.gdglille.devfest.android.shared.resources.text_loading
import org.gdglille.devfest.android.theme.m3.schedules.screens.ScheduleDetailOrientableScreen
import org.jetbrains.compose.resources.ExperimentalResourceApi
import org.jetbrains.compose.resources.stringResource
import org.koin.androidx.compose.koinViewModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import io.openfeedback.android.viewmodels.OpenFeedbackFirebaseConfig
import org.gdglille.devfest.android.theme.m3.schedules.ui.schedule.OpenFeedbackSection
import io.openfeedback.viewmodels.OpenFeedbackFirebaseConfig
import org.gdglille.devfest.android.shared.resources.Resource
import org.gdglille.devfest.android.theme.m3.style.SpacingTokens
import org.gdglille.devfest.android.shared.resources.text_feedback_not_configured
import org.gdglille.devfest.android.theme.m3.schedules.ui.schedule.OpenFeedbackSection
import org.gdglille.devfest.android.theme.m3.style.SpacingTokens
import org.gdglille.devfest.android.theme.m3.style.toDp
import org.jetbrains.compose.resources.ExperimentalResourceApi
import org.jetbrains.compose.resources.stringResource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.input.nestedscroll.nestedScroll
import androidx.compose.ui.platform.LocalConfiguration
import io.openfeedback.android.viewmodels.OpenFeedbackFirebaseConfig
import io.openfeedback.viewmodels.OpenFeedbackFirebaseConfig
import kotlinx.collections.immutable.persistentListOf
import org.gdglille.devfest.android.theme.m3.navigation.TopActions
import org.gdglille.devfest.android.shared.resources.Resource
import org.gdglille.devfest.android.theme.m3.style.actions.TopActionsUi
import org.gdglille.devfest.android.theme.m3.style.appbars.TopAppBar
import org.gdglille.devfest.android.shared.resources.input_share_talk
import org.gdglille.devfest.android.shared.resources.screen_schedule_detail
import org.gdglille.devfest.android.theme.m3.navigation.TopActions
import org.gdglille.devfest.android.theme.m3.style.actions.TopActionsUi
import org.gdglille.devfest.android.theme.m3.style.appbars.TopAppBar
import org.gdglille.devfest.models.ui.TalkUi
import org.jetbrains.compose.resources.ExperimentalResourceApi
import org.jetbrains.compose.resources.stringResource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.platform.LocalInspectionMode
import androidx.compose.ui.tooling.preview.Preview
import io.openfeedback.android.viewmodels.OpenFeedbackFirebaseConfig
import io.openfeedback.viewmodels.OpenFeedbackFirebaseConfig
import org.gdglille.devfest.android.theme.m3.schedules.ui.schedule.OpenFeedbackSection
import org.gdglille.devfest.android.theme.m3.schedules.ui.schedule.TalkAbstract
import org.gdglille.devfest.android.theme.m3.schedules.ui.schedule.TalkSection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.unit.dp
import io.openfeedback.android.m3.OpenFeedback
import io.openfeedback.android.viewmodels.OpenFeedbackFirebaseConfig
import io.openfeedback.m3.OpenFeedback
import io.openfeedback.viewmodels.OpenFeedbackFirebaseConfig
import org.gdglille.devfest.android.shared.resources.Resource
import org.gdglille.devfest.android.shared.resources.text_openfeedback_title
import org.jetbrains.compose.resources.ExperimentalResourceApi
Expand Down

0 comments on commit d5abbb5

Please sign in to comment.