capacitor-updater icon indicating copy to clipboard operation
capacitor-updater copied to clipboard

feat: Allow directUpdate only after first download or native update

Open riderx opened this issue 11 months ago • 1 comments

this will ensure user are always latest at critical time but not the rest of the time

riderx avatar Feb 06 '25 01:02 riderx

This would be amazing, as we're currently having this exact problem: Our users download the AppStore version, and we've rolled out some critical hardware-related changes via CapGo. Now we have to tell our users: Download, open the app, wait for 30 seconds, background the app, wait for 1-2 minutes, then re-open the app, then check the version number.

A forced update straight from first AppStore install right off the first launch would be amazing!

mittermayr avatar Jun 10 '25 18:06 mittermayr

Is this now fixed with the new directUpdate param?

https://github.com/Cap-go/capacitor-updater/blob/e1b57501acb975621e9e596f18d3569c2f7a1e16/src/definitions.ts#L136

If so, amazing! We're going to try this out right away. Thanks!!

mittermayr avatar Jun 30 '25 14:06 mittermayr

it should !

riderx avatar Jun 30 '25 19:06 riderx