Skip to content
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

Add new function CapacitorUpdater.GetFailedUpdate() #542

Open
co-dax opened this issue Feb 25, 2025 · 0 comments
Open

Add new function CapacitorUpdater.GetFailedUpdate() #542

co-dax opened this issue Feb 25, 2025 · 0 comments

Comments

@co-dax
Copy link

co-dax commented Feb 25, 2025

Add a function to get the last failed update.

There is alerady a related functionality implemented with the event addListener('updateFailed', ...) but the limitation we are having with it is that we need to get the failed update info at a specific line of code to determine if we the last update has been successful and bootstrap the application based on that info and this is not possible using the even addListener('updateFailed', ...) as it will fire at whatever point in time during the application start.

Here is the list fo this functionality implemented using the event https://github.com/Cap-go/capacitor-updater?tab=readme-ov-file#addlistenerupdatefailed-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant