Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Conversation

geof90
Copy link
Contributor

@geof90 geof90 commented Mar 22, 2016

This makes our plugin more compatible with RNPM by making the CodePush class itself implement ReactPackage. That way, users don't have to modify the auto-generated import statement, or keep a reference to the CodePush instance in their MainActivity.

new CodePushReactPackage() // 2. Remove this line
...
new MainReactPackage(),
new CodePush("0dsIDongIcoH0mqAmoR0CYb5FhBZNy1w4Bf-l", this, BuildConfig.DEBUG)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a placeholder, like "your deployment key goes here"?

@geof90 geof90 merged commit 39132b0 into master Mar 24, 2016
@geof90 geof90 deleted the simplify-android-setup branch March 24, 2016 21:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants