$ react-native install react-native-channel-plugin
or
$ npm install react-native-channel-plugin --save
$ react-native link react-native-channel-plugin
Please check our developer site -> link.
License: Other
$ react-native install react-native-channel-plugin
or
$ npm install react-native-channel-plugin --save
$ react-native link react-native-channel-plugin
Please check our developer site -> link.
[!] Unable to find a specification for `ChannelIOSDK` depended upon by `RNChannelIO`
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
version
rn 0.66.1
rn-channel-plugin 0.6.5
pod repo update
실행후에 pod install
해도 똑같은 오류. Likning이 필요없어보이지만 Linking을 해도 똑같음
안녕하세요, iOS 16 등의 실 디바이스에 빌드 후 react-native-channel-plugin 테스트할 때는 문제가 전혀 없었으나,
현재 제 iOS 13.6 실 디바이스에서 React Native 개발자 문서에 나와있는 모든 설정을 한 이후,
해당 오류가 지속된다면, iOS13.X 버전에서는 react-native-channel-plugin 사용이 아예 불가능할 것 같은데요, 혹시 확인해주실 수 있으실까요?
제가 네이티브 쪽 개발은 잘 모르는데, 뭔가 아래 사항들과 관련이 있을 것 같다고 추측(?)이 되는데요, 확인해주시면 감사하겠습니다.
facebook/react-native#32833
facebook/react-native#30740
facebook/react-native#32304
안녕하세요. 이번에 채널톡 sdk를 사용하려고 하던 중에, 안드로이드에서 발견한 문제입니다.
결론부터 말씀드리면 채널톡의 문제보단 릴리즈에서도 말씀하신 Android build failures 문제에서 파생한 문제였습니다.
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 남겨놓았습니다.
React native iOS에서는 문제가 없고, 안드로이드 debug 빌드에서도 문제가 없습니다.
안드로이드 production 빌드에서 ChannelIO.boot()를 호출하면 "Unknown Error" 라는 오류를 받고, boot()가 되지 않습니다.
설치 가이드대로 모두 설치했는데, 뭐가 문제일까요?
Thanks guys for your work.
I can see you already have JSDoc so maybe you could add some config to make it work with TypeScript. That would greatly improve DX of this library.
처음에 도입했다가 뭔가 업그레이드 하면서 해결되어서 삭제 했다가 SDK33으로 올리니까 다시 발생해서 추가
윈도우에서는 안돌아가는 커맨드라 OS 구분
dx가 없고 d8이 있는데 dx를 찾으려고 해서 link 파일을 만들어주는 것이다
app/build.gradle
def migrateToDx() {
def buildToolPath = "${android.sdkDirectory.path}/build-tools/${buildToolsVersion}"
println "BuildToolPath: ${buildToolPath}"
def d8Path = "${buildToolPath}/d8"
def dXPath = "${buildToolPath}/dx"
def command = "ln -sf ${d8Path} ${dXPath}"
exec {
commandLine command.split()
}
println "dx to d8 link Created: ${dXPath}"
def d8JarPath = "${buildToolPath}/lib/d8.jar"
def dXJarPath = "${buildToolPath}/lib/dx.jar"
command = "ln -sf ${d8JarPath} ${dXJarPath}"
exec {
commandLine command.split()
}
println "dx.jar to d8.jar link Created: ${dXJarPath}"
}
android {
...
if (System.getProperty('os.name').toLowerCase().contains('linux')) {
migrateToDx()
}
}
ReactNative 0.7x 버전으로 새로시작하는 프로젝트에서 ChannelIO 플러그인을 사용할 수가 없습니다.
Install 부터 안되네요.
> react-native install react-native-channel-plugin
error: unknown command 'install'
> react-native link react-native-channel-plugin
error: unknown command 'link'
In Podfile:
ChannelIOSDK (from https://mobile-static.channel.io/ios/latest/xcframework.podspec
)
RNChannelIO (from `../node_modules/react-native-channel-plugin`) was resolved to 0.1.1, which depends on
ChannelIOSDK (~> 10)
자답 합니다.
pod 'ChannelIOSDK', podspec: 'https://mobile-static.channel.io/ios/10.3.1/xcframework.podspec'
을 위와 같이 lastest 대신 10.3.1 버전을 명시하여 해결했습니다.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.