Currently, the plugin does not provide any information after the app starts or a reload, whether the update installation was successful or if a rollback had to be performed.
The plugin should provide information about the success of an update after installation.
Example:
export interface ReadyResult {
/**
* The identifier of the previous bundle used.
*
* If `null`, the default bundle was used.
*/
previousBundleId: string | null;
/**
* The identifier of the current bundle used.
*
* If `null`, the default bundle is being used.
*/
currentBundleId: string | null;
/**
* Whether or not the app was reset to the default bundle.
*/
rollback: boolean;
}
As a workaround, a flag (e.g., in the Local Storage) can be saved after a sync has been performed. If this flag exists after an app start or a reload, then an update has been installed and the flag can be deleted.
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too