react-native-wallpaper-manage
v0.1.3
Published
react native wallpaper manager
Downloads
20
Maintainers
Readme
React Native Wallpaper Manager 🚀
Installation
npm install react-native-wallpaper-manage
# OR
yarn install react-native-wallpaper-manage
Usage
import WallpaperManager, {TYPE} from "react-native-wallpaper-manage";
// ...
const result = WallpaperManager.setWallpaper(URL, TYPE.FLAG_LOCK)
Properties
Basic
| Prop | Default | Type | Description |
| :------------- | :-------------: | :------: | :---------------------------------------------------------------------------------------------------------- |
| TYPE | FLAG_SYSTEM | enum
| FLAG_LOCK
: the lock-screen-specific wallpaper. FLAG_SYSTEM
: the system wallpaper. |
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT