Note: The player may be prompted to grant permission the first time this method is used. This prompt appears only once. Future updates will not require additional approval. Depending on the device manufacturer and model, additional popups may appear during the installation process.
Installation process and callbacks
Once permission is granted, the following callbacks occur in sequence:OnDownloadStarted: Triggered when the download of the new app version begins.OnProgress: Triggered continuously as new data is downloaded.OnDownloadEnded: Triggered when the download is complete.OnInstallationReady: Triggered when the file is ready to install.
Error handling
The following errors may occur during installation:- If the player cancels or interrupts the installation, the
OnErrorcallback is triggered with the relevant error code. - If the player declines the installation permission,
OnErrorcallback is triggered with the error code3000.
