You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UiText sealed class 제거(위의 문서의 getString 함수로 대체 가능)
Toast 와 같이 호출하는 곳에서는 scope.launch 로 감싸면 되지만, 단순 Text 대입 혹은 동등 비교의 경우 전체 함수를 suspend 함수로 변경해야하는 문제가 존재 -> 일단은 @composable 어노테이션을 붙혀 컴포저블 함수로 만들거나, 하드코딩의 방식으로 임시 해결
java.time.format.DateTimeParseException: Text 'com.nexters.bandalart.core.common.extension.LocalDateTime@beb47a...' could not be parsed at index 0
-> toString 함수 오버라이딩 하여 해결, 기본 toString() 구현(Object 의 toString)을 사용하고 있어서, 클래스 이름과 해시코드가 출력되고 있었음 7f4495f
아직 지원하지 않는 Compose API
LocalConfiguration -> BoxWithConstraints 을 통해 화면의 세로, 가로 길이를 구하는 방식으로 대체 bb203e7
LineBreak -> 이건 ㄹㅇ 미지원이긴 한데 적용 안해도 나름 괜찮은듯
isImeVisible -> WindowInsets.ime.getBottom() 으로 대체
Caused by: org.koin.core.error.NoDefinitionFoundException: No definition found for type 'com.nexters.bandalart.feature.splash.SplashViewModel'. Check your Modules configuration and add missing type and/or qualifier! -> composeApp 모듈 SourceSets 내에 viewmodel 의존성 추가 안함(머쓱...)
Can't find env_blacklist file at /Users/yijihun/.konan/kotlin-native-prebuilt-macos-x86_64-2.1.10/tools/env_blacklist.
-> Kotlin Multiplatform Wizard 을 통해 프로젝트를 만들어 빌드 후 누락된 파일이 설치되어 문제를 해결
expect/actual migration 이유 이미지 관련 로직(공유, 갤러리 저장) 정상화(에러 해결)
[externalShareFoBitmap] message: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
-> 55a5ddc
이미지 저장 및 공유시 색이 바래지는 이슈(옅어지는 문제)
-> iOS와 Android Compose의 이미지 색상 데이터 저장 방식 비교 확인 RGBA(Compoise ImageBitmap) vs BGRA(iOS CGBitmapContext)
-> 해결 Image to UiImage in droidkaigi2024
iOS iPhone SE2 환경 반응형 대응(Android 작은 기기에서도 마찬가지 일 것이라 추측)
완료 화면 Lottie 와 Title 이 겹쳐보이는 문제 해결 -> Lottie 라이브러리 변경 이후 크기 지정해줘야 했음
-> composeApp 모듈에는 아직 bom 형태로 라이브러리를 추가할 수 없나봄(각각 버전을 명시하여 추가 -> 해결)
-> 이러한 대안이 있음
scope.lauch { showToast(getString(Res.string.~~) }
getString
함수로 대체 가능)망할놈의context 를 commonMain 에서 어떻게 빼내야할까?(actual 함수에만 주입하는 방법...koin!)-> platform 모듈을 통한 androidApplication or androidContext 주입
-> toString 함수 오버라이딩 하여 해결, 기본 toString() 구현(Object 의 toString)을 사용하고 있어서, 클래스 이름과 해시코드가 출력되고 있었음 7f4495f
-> 아래 코드 composeApp 모듈 build.gradle.kts 에 추가하여 해결
-> Android Studio 에서
./gradlew :composeApp:linkDebugFrameworkIosSimulatorArm64
와 같은 명령어를 통해, iOS 쪽 빌드를 먼저 해주고 Xcode 에서 빌드하도록 하자.-> Kotlin Multiplatform Wizard 을 통해 프로젝트를 만들어 빌드 후 누락된 파일이 설치되어 문제를 해결
-> 55a5ddc
이미지 저장은 FileKit 라이브러리의 도움을 받을수도...?-> iOS와 Android Compose의 이미지 색상 데이터 저장 방식 비교 확인 RGBA(Compoise ImageBitmap) vs BGRA(iOS CGBitmapContext)
-> 해결 Image to UiImage in droidkaigi2024
The text was updated successfully, but these errors were encountered: