2

react-native-code-push을 사용합니다.CodePush - iOS 번들을 출시하면 Android가 중단되고 그 반대의 경우도 마찬가지입니다.

iOS 버전 (code-push release-react ... ios 사용)을 출시 할 때마다 Android 코드 푸시가 중단됩니다. 나는 안드로이드 버전을 출시하면이 오류를 받고, 내 아이폰 OS를 파괴, 그리고

You attempted to set the key isPending with the value true on an object that is meant to be immutable and has been frozen.

: 다음 시간 나는 다음과 같은 오류가 업데이 트를 얻으려고

Update is invalid - A JS bundle file named "main.jsbundle" could not be found within the downloaded contents. Please ensure that your app is syncing with the correct deployment and that you are releasing your CodePush updates using the exact same JS bundle file name that was shipped with your app's binary.

그것은 매우 이상하다하고 이 문서는 두 플랫폼 간의 충돌에 대해서는 언급하지 않았다.

답변

2

당신은 code-push app add [name]-android

code-push app add [name]-ios

내가 platform 인수는 (index.ios를 사용하는 어떤 항목 파일 반응 네이티브 들러를 알려주는 code-push release-react [app-name] [platform] ... 생각 각 플랫폼에 설치에 응용 프로그램이 필요합니다 .js 또는 index.android.js) "ios에만 설치"로 작동하지 않습니다.

관련 문제