diff --git a/README.md b/README.md index 83326fec6..e3fa7c564 100644 --- a/README.md +++ b/README.md @@ -47,12 +47,13 @@ In order to ensure that your end users always have a functioning version of your 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: -| React Native version(s) | Supporting CodePush version(s) | -|-------------------------|---------------------------------------------------------------------------------------------| -| clazz = reactHostImpl.getClass(); - Field field = clazz.getDeclaredField("mReactHostDelegate"); + Field field = clazz.getDeclaredField("reactHostDelegate"); field.setAccessible(true); // Get the value of the field for the provided instance diff --git a/package-lock.json b/package-lock.json index 717e5314b..f8ea60921 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@revopush/react-native-code-push", - "version": "1.4.0", + "version": "1.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@revopush/react-native-code-push", - "version": "1.4.0", + "version": "1.5.0", "license": "MIT", "dependencies": { "code-push": "4.2.3", diff --git a/package.json b/package.json index 96bfd96b1..455e861c5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@revopush/react-native-code-push", - "version": "1.4.0", + "version": "1.5.0", "description": "React Native plugin for the CodePush service", "main": "CodePush.js", "typings": "typings/react-native-code-push.d.ts",