This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ using CodePush.ReactNative;
315
315
class AppReactPage : ReactPage
316
316
{
317
317
// 2. Declare a private instance variable for the CodePushModule instance.
318
- private CodePushModule codePushModule ;
318
+ private CodePushReactPackage codePushReactPackage ;
319
319
320
320
// 3. Update the JavaScriptBundleFile property to initalize the CodePush runtime,
321
321
// specifying the right deployment key, then use it to return the bundle URL from
@@ -325,12 +325,12 @@ class AppReactPage : ReactPage
325
325
{
326
326
get
327
327
{
328
- codePushModule = new CodePushModule (" deployment-key-here" , this );
329
- return codePushModule .GetJavaScriptBundleFile ();
328
+ codePushReactPackage = new CodePushReactPackage (" deployment-key-here" , this );
329
+ return codePushReactPackage .GetJavaScriptBundleFile ();
330
330
}
331
331
}
332
332
333
- // 4. Add the codePushModule instance to the list of existing packages.
333
+ // 4. Add the codePushReactPackage instance to the list of existing packages.
334
334
public override List <IReactPackage > Packages
335
335
{
336
336
get
@@ -339,7 +339,7 @@ class AppReactPage : ReactPage
339
339
{
340
340
new MainReactPackage (),
341
341
.. .
342
- codePushModule
342
+ codePushReactPackage
343
343
};
344
344
}
345
345
}
You can’t perform that action at this time.
0 commit comments