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

Commit 41177a0

Browse files
author
Geoffrey Goh
committed
update readme to reflect CodePushModule -> CodePushReactPackage
1 parent 15c7259 commit 41177a0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ using CodePush.ReactNative;
315315
class AppReactPage : ReactPage
316316
{
317317
// 2. Declare a private instance variable for the CodePushModule instance.
318-
private CodePushModule codePushModule;
318+
private CodePushReactPackage codePushReactPackage;
319319

320320
// 3. Update the JavaScriptBundleFile property to initalize the CodePush runtime,
321321
// specifying the right deployment key, then use it to return the bundle URL from
@@ -325,12 +325,12 @@ class AppReactPage : ReactPage
325325
{
326326
get
327327
{
328-
codePushModule = new CodePushModule("deployment-key-here", this);
329-
return codePushModule.GetJavaScriptBundleFile();
328+
codePushReactPackage = new CodePushReactPackage("deployment-key-here", this);
329+
return codePushReactPackage.GetJavaScriptBundleFile();
330330
}
331331
}
332332

333-
// 4. Add the codePushModule instance to the list of existing packages.
333+
// 4. Add the codePushReactPackage instance to the list of existing packages.
334334
public override List<IReactPackage> Packages
335335
{
336336
get
@@ -339,7 +339,7 @@ class AppReactPage : ReactPage
339339
{
340340
new MainReactPackage(),
341341
...
342-
codePushModule
342+
codePushReactPackage
343343
};
344344
}
345345
}

0 commit comments

Comments
 (0)