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

[docs] Add information about how to configure CodePush for applications using ReactInstanceManager.builder() to initialize RN #1098

Merged
merged 2 commits into from
Dec 6, 2017

Conversation

ruslan-bikkinin
Copy link
Contributor

RN beginners who is coming from here couldn't find information how to configure CodePush for existing android apps. This PR intends to fix this.
Also this PR relates to #970 (comment)

Add information about how to configure CodePush for applications using ReactInstanceManager.builder() to initialize RN
@@ -107,6 +109,40 @@ protected String getJSMainModuleName() {
}
```

If you are integrating React Native into existing application please do the following:

Update `MyReactActivity.java` (it could be named differently in you app) file to use CodePush via the following changes:
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: mistype, differently in your app

@@ -66,6 +66,8 @@ After installing the plugin and syncing your Android Studio project with Gradle,

**For React Native >= v0.29**

If you are using React Native for the whole application please do the following:
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if the word whole application fits good here. Probably we could rephrase like If you are integrating Code Push into React Native application please do the following steps:

@@ -107,6 +109,40 @@ protected String getJSMainModuleName() {
}
```

If you are integrating React Native into existing application please do the following:
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd prefer to say here If you are integrating React Native into existing native application please do the following steps:

@ruslan-bikkinin ruslan-bikkinin merged commit 0d6f0b4 into master Dec 6, 2017
@ruslan-bikkinin ruslan-bikkinin deleted the ruslan-bikkinin-patch-1 branch December 6, 2017 07:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants