Skip to content

Commit 57ecee2

Browse files
author
Revopush
committed
Merge remote-tracking branch 'origin/1.5.0' into 1.5.0
2 parents e377127 + 7e3f2d5 commit 57ecee2

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,13 @@ In order to ensure that your end users always have a functioning version of your
4747

4848
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:
4949

50-
| React Native version(s) | Supporting CodePush version(s) |
51-
|-------------------------|---------------------------------------------------------------------------------------------|
52-
| <v0.76 | Use [microsoft/code-push-react-native](https://github.com/microsoft/react-native-code-push) |
53-
| 0.76, 0.77, 0.78, 0.79 | v1.0+ *(Support both New and Old Architectures)* |
54-
| v0.80 | v1.2 |
55-
| Expo sdk 52 | v1.3 |
50+
| React Native version(s) | Supporting CodePush version(s) |
51+
|-------------------------|------------------------------------------------------------------------------------------------------|
52+
| <v0.76 | Use original [microsoft/code-push-react-native](https://github.com/microsoft/react-native-code-push) |
53+
| 0.76, 0.77, 0.78, 0.79 | v1.0+ *(Support both New and Old Architectures)* |
54+
| v0.80 | v1.2 |
55+
| Expo sdk 52 | v1.3 |
56+
| v0.81 | v1.5 |
5657

5758

5859
We work hard to respond to new RN releases, but they do occasionally break us. We will update this chart with each RN release, so that users can check to see what our "official" support is.

android/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ public void removeListeners(Integer count) {
849849
public ReactHostDelegate getReactHostDelegate(ReactHostImpl reactHostImpl) {
850850
try {
851851
Class<?> clazz = reactHostImpl.getClass();
852-
Field field = clazz.getDeclaredField("mReactHostDelegate");
852+
Field field = clazz.getDeclaredField("reactHostDelegate");
853853
field.setAccessible(true);
854854

855855
// Get the value of the field for the provided instance

0 commit comments

Comments
 (0)