-
Jetpack Compose Navigation으로 URL 보낼때 오류Navigation destination that matches request NavDeepLinkRequestAndroid📱/삽질 기록... 2022. 10. 11. 17:08
Navigation argument로 URL을 보내고 WebView로 띄우는 과정에서
Navigation destination that matches request NavDeepLinkRequest{ uri=android-app://androidx.navigation/ } cannot be found in the navigation graph NavGraph(0x0) startDestination={Destination(0x442b361f) route=home}
라는 메시지가 뜨면서 앱이 죽음
원인 URL을 Encode해야된다
Navigation destination that matches request NavDeepLinkRequest cannot be found in the navigation graph Jetpack Compose
My nav graph composable(route = Screen.HomeScreen.route){ navigateToProfileScreen = { userId: String, userName: String, userAddress: String, userPhone: String, userProfileImage: String -> ...
stackoverflow.com
URLEncoder.encode(YOUR_URL, StandardCharsets.UTF_8.toString())
Enconde한 URL을 넘겨 주니 해결!'Android📱 > 삽질 기록...' 카테고리의 다른 글
Gson, Retrofit2 - Enum Class 쓰는 법 (Kotlin, Android) (0) 2023.03.10 Retrofit DELETE Body 추가하기 (0) 2023.03.02 dateFormat으로 날짜를 파싱할때 에러! (0) 2022.10.03 [Android] 팀 프로젝트 Splash Activity 버그 개선기 feat. ViewTreeObserver (0) 2022.09.27 [android] 자잘한 삽질 기록...Conflicting overloads 에러 (0) 2022.05.14