channel-io / channel-io/react-native-channel-io
0.7.6 버전업 이후 android 빌드 문제 - Could not find com.facebook.react:react-native:.
- Dominant language
- Java
- Stars
- 13
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
안녕하세요. 이번에 채널톡 sdk를 사용하려고 하던 중에, 안드로이드에서 발견한 문제입니다.
결론부터 말씀드리면 채널톡의 문제보단 릴리즈에서도 말씀하신 [Android build failures](https://github.com/facebook/react-native/issues/35210) 문제에서 파생한 문제였습니다.
react native 0.68.1 버전을 사용중인데 android로 실행할 시, 아래와 같은 에러가 발생하였습니다.

이후, react-native-channel-plugin의 dependencies를 확인해보니
```
dependencies {
implementation 'com.facebook.react:react-native'
api 'io.channel:plugin-android:10.0.7'
}
```
'com.facebook.react:react-native:+'가 아닌 'com.facebook.react:react-native'로 되어 있어 ':+'를 붙여서 돌려보니 정상적으로 진행된 것을 확인하였습니다.
이후 채널톡 버전을 살펴보니 0.7.6버전에서 해당 부분을 변경하셨고 위의 링크를 들어가서 보니,

위처럼 RN 버전별로 최신 버전으로 업데이트하면 정상적으로 처리 된다고 하여 해결하였습니다.
혹시나 저와 같은 분이 있을까봐 issue 남겨놓았습니다.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by checking the react-native-channel-plugin Android dependencies declaration and reproduce the failure with React Native 0.68.1. Compare resolution of com.facebook.react:react-native with and without the version marker, then verify that an Android build succeeds for the affected setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100