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
@@ -738,15 +738,15 @@ This decorator provides support for letting you customize its behaviour to easil
738
738
// sync with the server, without ever
739
739
// interrupting the end user
740
740
classMyAppextendsComponent {}
741
-
codePush(MyApp);
741
+
MyApp =codePush(MyApp);
742
742
```
743
743
744
744
2. **Silent sync everytime the app resumes**. Same as 1, except we check for updates, or apply an update if one exists every time the app returns to the foreground after being "backgrounded".
3. **Interactive**. When an update is available, prompt the end user for permission before downloading it, and then immediately apply the update. If an update was released using the `mandatory` flag, the end user would still be notified about the update, but they wouldn't have the choice to ignore it.
@@ -756,7 +756,7 @@ This decorator provides support for letting you customize its behaviour to easil
4. **Log/display progress**. While the app is syncing with the server for updates, make use of the `codePushStatusDidChange` and/or `codePushDownloadDidProgress` event hooks to log down the different stages of this process, or even display a progress bar to the user.
@@ -789,7 +789,7 @@ This decorator provides support for letting you customize its behaviour to easil
789
789
console.log(progess.receivedBytes+" of "+progress.totalBytes+" received.");
0 commit comments