Giter Site home page Giter Site logo

Comments (4)

lostintangent avatar lostintangent commented on May 12, 2024

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.

from cordova-plugin-code-push.

ryanlin1986 avatar ryanlin1986 commented on May 12, 2024

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.

from cordova-plugin-code-push.

lostintangent avatar lostintangent commented on May 12, 2024

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

from cordova-plugin-code-push.

dlebu avatar dlebu commented on May 12, 2024

@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.

from cordova-plugin-code-push.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.