T

NativePlatformAndroidInstaller

Installs another patched Discord build over this one, upgrade or downgrade, downloading only the splits that differ.

type NativePlatformAndroidInstaller = { … }

Members

cancel(): boolean

Stops a running download or abandons the install session.

install(splits: readonly NativeAndroidInstallSplit[]): boolean

Starts installing a build in the background; false when an install is already running. Poll progress.

installedSplits(): Promise<Record<string, string | null>>

SHA-256 of each installed split APK, null where it cannot be read.

Reads how far the running install is.

Opens the system's "Install unknown apps" screen for Discord.

Reads whether in-app installs work and which Discord is installed.