Skip to content

Commit de8c2ae

Browse files
committed
docs: add troubleshooting for pnpm workspaces
1 parent bdb8c90 commit de8c2ae

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ See the [corresponding steps](./docs/migrating-to-v10.md).
103103
We try our best to maintain backwards compatibility of our plugin with previous versions of React Native, but due to the nature of the platform, and the existence of breaking changes between releases, it is possible that you need to use a specific version of the CodePush plugin in order to support the exact version of React Native you are using. The following table outlines which CodePush plugin versions officially support the respective React Native versions:
104104

105105
| React Native version(s) | Android | iOS | Old arch | New arch | Supporting CodePush version(s) |
106-
|-------------------------| --------------- | ---- | -------- | -------- | ------------------------------ |
106+
| ----------------------- | --------------- | ---- | -------- | -------- | ------------------------------ |
107107
| <0.59 | - | - ||| **Unsupported** |
108108
| v0.59 | 4.1+ (TLS 1.2+) | 7 ||| v5.7.1 |
109109
| v0.60-v0.61 | 4.1+ (TLS 1.2+) | 7 ||| v6.3.1 |
@@ -303,3 +303,4 @@ Now you'll be able to see CodePush logs in either debug or release mode, on both
303303
| I've released an update for iOS but my Android app also shows an update and it breaks it | Be sure you have different release channels for each platform in order to receive updates correctly |
304304
| I've released new update but changes are not reflected | Be sure that you are running app in modes other than Debug. In Debug mode, React Native app always downloads JS bundle generated by packager, so JS bundle downloaded by CodePush does not apply. |
305305
| Android compilation fails after migrating to AppZung with error "Task :app:checkReleaseAarMetadata FAILED A problem was found with the configuration of task ':app:checkReleaseAarMetadata' (type 'CheckAarMetadataTask')". | In `android/settings.gradle` remove the lines about CodePush. Be sure to read the other [migration steps](./docs/migrating-to-v10.md) carefully to review if you missed any others. |
306+
| `appzung releases deploy-react-native` fails with "SyntaxError: missing ) after argument list" in pnpm workspaces | Use `--react-native-cli-path` flag to specify the path to the RN CLI JS file: `--react-native-cli-path=./node_modules/react-native/cli.js` |

docs/setup-android.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import com.appzung.codepush.react.CodePush
2323

2424
class MainApplication : Application(), ReactApplication {
25-
25+
2626
override val reactHost: ReactHost by lazy {
2727
getDefaultReactHost(
2828
context = applicationContext,

0 commit comments

Comments
 (0)