-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
친구 탭 React Native 베이스 브랜치 #182
Conversation
61c54de
to
6e0b629
Compare
999e99a
to
3e558c6
Compare
val isDarkMode = if (userViewModel.themeMode.value == ThemeMode.AUTO) { | ||
isSystemDarkMode(applicationContext) | ||
} else { | ||
userViewModel.themeMode.value == ThemeMode.DARK | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
다크모드 여부 구하는 로직
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그거 나도 좀 고민했는데 걍 대응안해도 되지않을까
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아니다 걍 대응해야겠다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PendingIntent.FLAG_ONE_SHOT, | ||
PendingIntent.FLAG_ONE_SHOT or PendingIntent.FLAG_IMMUTABLE, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
버전 올리고 컴파일 막혀서 수정
MyFirebaseMessegingServie 안쓰긴 하는데, 지우긴 좀 아까워서 냅둠
override fun getReactNativeHost(): ReactNativeHost { | ||
return object : ReactNativeHost(this) { | ||
override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG | ||
|
||
override fun getPackages(): List<ReactPackage> = listOf( | ||
MainReactPackage(), | ||
RNScreensPackage(), | ||
RNGestureHandlerPackage(), | ||
RNCPickerPackage(), | ||
SafeAreaContextPackage(), | ||
ReanimatedPackage(), | ||
SvgPackage(), | ||
) | ||
|
||
override fun getJSMainModuleName(): String = "friends" | ||
|
||
override fun getJavaScriptExecutorFactory(): JavaScriptExecutorFactory { | ||
return HermesExecutorFactory() | ||
} | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ReactApplication 상속 구현부
init { | ||
CoroutineScope(Dispatchers.IO).launch { | ||
remoteConfig.waitForFetchConfig() | ||
token.filter { it.isNotEmpty() }.collectLatest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이렇게 하면 로그아웃 했다가 로그인 했을 때 ReactView랑 ReactInstanceManager를 새로 설정하게 된다.
if (BuildConfig.DEBUG && FlipperUtils.shouldEnableFlipper(this)) { | ||
val client = AndroidFlipperClient.getInstance(this) | ||
client.addPlugin(InspectorFlipperPlugin(this, DescriptorMapping.withDefaults())) | ||
client.start() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flipper 설정
This reverts commit 1bcb4c8.
This reverts commit 0de2035.
commit e3f5ca2d1e08bf9afb56477290a86cac24b90e1d Author: 양주현 <didwngus01@naver.com> Date: Thu Sep 7 21:20:09 2023 +0900 prod 빌드 되게 하기 test 17 고쳐야 하는 것 aab 체크 abi false 버전 롤백 뭐가 문제지 live도 17 Revert "17" This reverts commit 1a5171f. Revert "live도" This reverts commit 14114f2. Revert "뭐가 문제지" This reverts commit 0b07a3b. Revert "버전 롤백" This reverts commit 223b137. Revert "abi false" This reverts commit 668523b. Revert "aab 체크" This reverts commit 7d7b025. revert 후 cd만 셋팅 aab 받아보기 경로 수정
플로우
번들 파일이 없거나 손상됐으면 다운로드