T

DCDBundleManagerType

The native BundleUpdaterManager module surface for OTA updates and reloading the bundle.

type DCDBundleManagerType = { … }

Members

Reads the contents of Discord's build override cookie; Discord does not document what it resolves to.

Reports whether the first OTA bundle has been downloaded; Discord does not document what it resolves to.

Reports whether the first OTA update check has run; Discord does not document what it resolves to.

Reads the OTA manifest info; Discord does not document what it resolves to.

Reads the directory OTA bundles are stored in; Discord does not document what it resolves to.

Sets the build override cookie header; Discord does not document its argument or result.

addListener(eventName: string): void

React Native event-emitter hook: tells the native module a listener for eventName was added.

Checks for an OTA bundle update, then reloads the app.

reload(): void

Reloads the JavaScript bundle; reload persists settings first, so prefer it.

removeListeners(count: number): void

React Native event-emitter hook: tells the native module count listeners were removed.