Namespace: Data

WonderPushSDK. Data

Methods


clearAll()

Remove any local storage and ask the WonderPush servers to delete any data associated with the all local installations and related users.

Returns:
Type
Promise

clearEventsHistory()

Ask the WonderPush servers to delete any event associated with the all local installations.

Returns:

Promise


clearPreferences()

Ask the WonderPush servers to delete any custom data associated with the all local installations and related users.

Returns:
Type
Promise

downloadExport()

Initiates the download of the result of calling WonderPushSDK.Data.exportAsBlob().

Returns:
Type
Promise

exportAsBlob()

Returns an in-memory blob containing all user remote and local data.

Returns:
Type
Promise.<Blob>