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
Refactor build configs (build.gradle, Podfile) #305
Refactor build configs (build.gradle, Podfile) #305
Conversation
closes #304 |
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.
훌륭한 PR
감사드립니다.
소소한 리뷰 확인 부탁드립니다 🙏
KakaoLoginExample/ios/Podfile
Outdated
@@ -3,6 +3,8 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ | |||
|
|||
platform :ios, '11.0' | |||
|
|||
# $KakaoSDKVersion = "2.9.0" |
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.
라이브러리 호환성을 위해서 default
로 설정을 해주는게 좋지 않을까요?
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.
테스트를 위한 코맨트가 남아있었군요. kakao-login.podspec의 kakao_sdk_version
을 기본으로 사용하도록 수정되었습니다.
2.9.1에서 별 문제는 없었으나, 만약의 호환성을 위해 sdk버전이 2.9.0로 롤백되었습니다. 감사합니다.
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.
고생하셨습니다 🙏
AS-IS
기존에 쓰고 있는 다른 라이브러리의 kakao sdk나 build tool (ex. gradle tools) 의 버전과 mismatch 되어 빌드에 문제 발생.
Solution
kotlinVersion
,compileSdkVersion
,targetSdkVersion
,gradleVersion
등을 우선적으로 바라보도록build.gradle
수정$KakaoSDKVersion
추가 및package.json
에 지정된 값을 먼저 가져오도록 수정TO-BE
gradle.properties
에 지정된 값을 기본값으로 사용.package.json에 설정된sdkVersions.ios.kakao
의 버전을 기본으로 가져오되,$KakaoSDKVersion
이Podfile
에 지정된 경우 이를 우선 사용 함. ($KakaoSDKVersion
은 호환성을 체크하고 신중히 사용 하셔야 합니다.) -> podfile에kakao_sdk_version
을 사용합니다.kakaoSDKs version: 2.9.0 -> 2.9.1 bump