Skip to content

Commit c53a0c9

Browse files
authored
Merge pull request #26 from revopush/1.5.0
0.81 Android SDK support
2 parents 9caaf62 + 57ecee2 commit c53a0c9

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
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

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@revopush/react-native-code-push",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"description": "React Native plugin for the CodePush service",
55
"main": "CodePush.js",
66
"typings": "typings/react-native-code-push.d.ts",

0 commit comments

Comments
 (0)