Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Need improve the user experience #45

Closed
ryanlin1986 opened this issue Dec 2, 2015 · 4 comments
Closed

Need improve the user experience #45

ryanlin1986 opened this issue Dec 2, 2015 · 4 comments

Comments

@ryanlin1986
Copy link

1, User need to know what's updated
2, Provide the API to show user the package download progress dialog(user should be able to cancel download it if not a mandatory update)

@lostintangent
Copy link
Member

For #1, there's actually an option you can specify to sync called "appendReleaseDescription" that will add the value of the description property you specified when calling the "release" command from the CLI. Let me know if that is what you had in mind.

If you're referring to showing a "What's New?" dialog after an update is applied, as opposed to explaining what an update contains before installing it, you could use the "codePush.getCurrentPackage()" method to retrieve the metadata about the running update, which will include the description as well as a property called "isFirstRun" which indicates whether this is the first time the app has run since installing the update. The later is valuable since you obviously wouldn't want to show the dialogue on any app run but the first after the update.

Do either of those options work for you? Could we make it simpler or improved in any way? Any feedback here would be great!

Regarding the second comment, we're actually about to release support for download progress very soon. The APi won't automatically display a dialog, but it will provide the hooks for the app to listen for progress events and update its own dialog.

@ryanlin1986
Copy link
Author

Thanks for the reply, for #1, great to hear the option appendReleaseDescription is already there.
And even greater is what's upcoming regarding the #2, even better than what I thought.

@lostintangent
Copy link
Member

That's great to hear, thanks for following up. Stay tuned for the second update, it should be sometime in the next couple days.

@dlebu
Copy link
Contributor

dlebu commented Dec 8, 2015

@ryanlin1986 We released 1.3.0-beta on Friday. This brings the download progress callback API and other features. If you are using sync, make sure you account for the fact that starting with this update, it is being called more than once, because we introduced intermediate statuses. Please keep the feedback coming.

vially pushed a commit to areo/capacitor-codepush that referenced this issue Oct 19, 2022
…E.md

Signed-off-by: Clovis Durand <cd.clovel19@gmail.com>
vially pushed a commit to areo/capacitor-codepush that referenced this issue Oct 19, 2022
…ersion

[Closes microsoft#45] Clarified supported Capacitor versions in README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants