react-native-code-push icon indicating copy to clipboard operation
react-native-code-push copied to clipboard

Android plugin configuration README out of date

Open HenryStevens opened this issue 10 years ago • 3 comments

import com.microsoft.codepush.react.CodePush;
....
new CodePush("deployment-key-here", this, BuildConfig.DEBUG)

Should now be:

import com.microsoft.codepush.react.CodePushReactPackage;
....
new CodePushReactPackage("deployment-key-here", this, BuildConfig.DEBUG)

HenryStevens avatar Mar 27 '16 19:03 HenryStevens

Duplicate of #247

HenryStevens avatar Mar 27 '16 20:03 HenryStevens

Which version of the CodePush plugin are you using? We actually just refactored our Java API to be more compatible with RNPM, which is why the docs updated. The CodePushReactPackage class no longer exists as of CodePush v1.10.0-beta.

lostintangent avatar Mar 27 '16 20:03 lostintangent

If you upgrade to v1.10.0-beta of the CodePush plugin, it should be much more compatible with RNPM-based installations, and the README will reflect your setup experience.

lostintangent avatar Mar 27 '16 20:03 lostintangent