clearStorageSync()

Requires:
BaseKit≥2.0.1@ray-js/ray≥0.3.23
Platforms:
iOSAndroid

Description

Clear local data cache

Parameters

None

Return Value

None

Examples

import { clearStorage } from '@ray-js/ray'

// Clear local data cache
clearStorage({
  success: () => console.log("Local cache cleared"),
  fail: error => console.error(error),
});