Git Product home page Git Product logo

react-native-channel-io's People

Contributors

channel-kou avatar intoxicated avatar jam0128 avatar onebone avatar shimika avatar vagabond95 avatar zoyi-jin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-channel-io's Issues

pod install시 compatible versions for pod "ChannelIOSDK"

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)
  • RN: 0.71.12
  • "react-native-channel-plugin": "0.7.11"

자답 합니다.

pod 'ChannelIOSDK', podspec: 'https://mobile-static.channel.io/ios/10.3.1/xcframework.podspec'
을 위와 같이 lastest 대신 10.3.1 버전을 명시하여 해결했습니다.

Undefined symbol: _OBJC_CLASS_$_RCTAppDelegate

m1 max 맥북 build 시 나오는 에러 입니다.
멀쩡하다가 채널톡 추가하니까 이 에러가 뜨네요

가이드 대로 pod 파일 추가 등 모두 진행한 상태입니다

스크린샷 2023-03-26 오후 2 29 19

React native 안드로이드 production 빌드에서만 ChannelIO.boot() 오류

React native iOS에서는 문제가 없고, 안드로이드 debug 빌드에서도 문제가 없습니다.
안드로이드 production 빌드에서 ChannelIO.boot()를 호출하면 "Unknown Error" 라는 오류를 받고, boot()가 되지 않습니다.
설치 가이드대로 모두 설치했는데, 뭐가 문제일까요?

pod install 실행시 오류

[!] 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 13.x Alert.alert() 닫은 이후 Alert창 재호출할 시 Alert 표시 오류

안녕하세요, iOS 16 등의 실 디바이스에 빌드 후 react-native-channel-plugin 테스트할 때는 문제가 전혀 없었으나,
현재 제 iOS 13.6 실 디바이스에서 React Native 개발자 문서에 나와있는 모든 설정을 한 이후,

  1. ChannelIO.boot 하기
  2. react-native의 Alert 모듈의 Alert.alert() 호출 -> 첫 호출 시 Alert창 잘 나옴
    1. 의 Alert창 닫음(hide)
  3. react-native Alert.alert() 호출 ->그 이후의 모든 재 호출 시, Alert 창이 좌측 상단에 지속적으로 이상하게 표시되는 문제를 발견했습니다..

해당 오류가 지속된다면, iOS13.X 버전에서는 react-native-channel-plugin 사용이 아예 불가능할 것 같은데요, 혹시 확인해주실 수 있으실까요?

IMG_7440

제가 네이티브 쪽 개발은 잘 모르는데, 뭔가 아래 사항들과 관련이 있을 것 같다고 추측(?)이 되는데요, 확인해주시면 감사하겠습니다.

facebook/react-native#32833
facebook/react-native#30740
facebook/react-native#32304

Build-tool 31.0.0 is missing DX

처음에 도입했다가 뭔가 업그레이드 하면서 해결되어서 삭제 했다가 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()
    }
}

React Native 0.7x 버전 지원 및 가이드 필요합니다.

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'

Could we have types for TypeScript?

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.

0.7.6 버전업 이후 android 빌드 문제 - Could not find com.facebook.react:react-native:.

안녕하세요. 이번에 채널톡 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 남겨놓았습니다.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.