OpenHarmonyUtilCode library is a ETS Library that supports common utility functions like Clean Utility(Cleaning the Cache, files and application data), Location utility services (Commonly used location based services), Etc.
npm install https://github.com/Applib-OpenHarmony/OpenHarmonyUtilCode
npm install
Clean Utils is Open Harmony ETS Library that performs cleaning operations of an application and its data. Clean Utils can perform the following:
- Cleaning the Internal Cache
- Cleaning all the files of the application
- Cleaning the custom directory of an application
- Cleaning all databases of an application
- Cleaning a custom database
- Cleaning the Shared Preferences
import { CleanUtils } from '@ohos/utilcode';
Supports OpenHarmony API Version 8