Comments (4)
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.
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.
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.
@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)
- Can this plugin pass the Google market audit
- Cannot install code push cordova plugin
- Does the ` appcenter codepush release-cordova ...` work on Windows for iOS Apps? HOT 2
- Slow down support
- Application is stuck while getting update from appcenter codepush
- `CODE_PUSH_APK_BUILD_TIME` slows down builds recompiling resources unecessarily.
- [Feature] Support Capacitor for AppCenter CodePush (Solved)
- Google Play Console reports security error: Zip Path Traversal Error due to cordova-plugin-zip dependency HOT 1
- Error: An error has occurred while performing the operation
- This plugin is compatible with capacitor and UIWebView reference free ? HOT 1
- [CodePush] Could not access local package. Stage:undefinedError code: undefined HOT 2
- [ERROR] could not get binary hash.Error: Could not get binary hash. HOT 1
- cordova-plugin-code-push dependency overrides AFNetworking files
- [CodePush] Update is rolling back after app relaunch HOT 1
- How to change url when startloading files?
- Make an official version for CapacitorJS HOT 2
- Support for cordova-android>=10.0.0 WebViewAssetLoader default HOT 1
- net::ERR_ACCESS_DENIED on codepush install after changing Android API target to 30 HOT 1
- Could not get binary hash.Error: Could not get binary hash.
- A Code Push Alternative - Ionic Appflow HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-code-push.