@revopush/react-native-code-push 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -47,12 +47,13 @@ In order to ensure that your end users always have a functioning version of your
47
47
 
48
48
  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:
49
49
 
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 |
56
57
 
57
58
 
58
59
  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.
@@ -22,7 +22,7 @@
22
22
  }
23
23
 
24
24
  -keepclassmembers class com.facebook.react.runtime.ReactHostImpl {
25
- private final ** mReactHostDelegate;
25
+ private final ** reactHostDelegate;
26
26
  }
27
27
 
28
28
  -keep interface com.facebook.react.runtime.ReactHostDelegate { *; }
@@ -849,7 +849,7 @@ public class CodePushNativeModule extends BaseJavaModule {
849
849
  public ReactHostDelegate getReactHostDelegate(ReactHostImpl reactHostImpl) {
850
850
  try {
851
851
  Class<?> clazz = reactHostImpl.getClass();
852
- Field field = clazz.getDeclaredField("mReactHostDelegate");
852
+ Field field = clazz.getDeclaredField("reactHostDelegate");
853
853
  field.setAccessible(true);
854
854
 
855
855
  // Get the value of the field for the provided instance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revopush/react-native-code-push",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "React Native plugin for the CodePush service",
5
5
  "main": "CodePush.js",
6
6
  "typings": "typings/react-native-code-push.d.ts",