You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+28-28Lines changed: 28 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -242,36 +242,36 @@ And that's it for installation using RNPM! Continue below to the [Plugin Configu
242
242
243
243
After installing the plugin and syncing your AndroidStudio project with Gradle, you need to configure your app to consult CodePushfor the location of your JS bundle, since it will "take control" of managing the current and all future versions. Todo this, update the `MainActivity.java` file to use CodePush via the following changes:
244
244
245
-
```java
246
-
...
247
-
// 1. Import the plugin class (if you used RNPM to install the plugin, this
248
-
// should already be done for you automatically so you can skip this step).
249
-
import com.microsoft.codepush.react.CodePush;
250
-
251
-
public class MainActivity extends ReactActivity {
252
-
// 2. Override the getJSBundleFile method in order to let
253
-
// the CodePush runtime determine where to get the JS
0 commit comments