-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Allow setup when apply update like in code push #411
Comments
/bounty 100 |
💎 $100 bounty • CapgoSteps to solve:
Additional notes:ℹ️ If something is not clear ask before working on it, otherwise your chance to rework it is high Thank you for contributing to Cap-go/capacitor-updater! Add a bounty • Share on socials
|
I would like to provide further clarification on the issue we just discussed with @riderx . The current behavior of CapGo for direct update is: Capgo fetches (downloads) the bundle from the server and installs the update in one step. This adds a delay since the round trip time to the servers add up. (avg. time 5s for most cases). The proposed behavior is: allow Capgo to determine if there is an already downloaded bundle (on device, ready to be installed) and use that bundle to install the update next time the app is killed/restarted instead of always applying it on background/foreground action. This solutions eliminates the round-trip to the server. (avg. time to install reduced to 1-2s) The update would be applied on app boot, and much faster. |
Here are some steps and pointers to help you get started on resolving this issue: Steps to Implement the Feature
Relevant Files and Code Snippets
Potential Implications
References
|
wanna work on this issue #411, let assign it me.. |
/attempt #411 Options |
@adilkadivala Have you started working on this? |
@raphjutras i have left due to some reason ,, you can start. good luck... |
Then can you cancel your attempt so that others can take the bounty? Thank-you |
This comment was marked as outdated.
This comment was marked as outdated.
Martin has explained this issue to me. I will be attempting to implement it today |
here the reference of codepush: https://github.com/microsoft/cordova-plugin-code-push#installmode |
Thank you to both of you @riderx and @WcaleNieWolny |
Hello, I just created a PR with an IOS implementation. I will work on android right away |
So after much research, it seems multi-play is doing what is requested, but was broken on Android. |
It should be available in a setting like updateKind.
The goal here is to change the moment where update is applied, not when downloaded
The text was updated successfully, but these errors were encountered: