Skip to content

A capacitor plugin for setting wallpapers in android devices.

Notifications You must be signed in to change notification settings

KonstantinosPetrakis/capacitor-wallpaper

Repository files navigation

wallpaper

A capacitor plugin for setting base64 images as wallpapers in android devices.

Install

npm install wallpaper (not published but can be installed locally.)
npx cap sync

API

setWallpaper(...)

setWallpaper(options: WallpaperOptions) => Promise<void>

Sets the device wallpaper to a specific image.

Param Type Description
options WallpaperOptions the options containing the image details.

Interfaces

WallpaperOptions

Prop Type Description
base64 string The base64 data of the image.
type 'home' | 'lock' | 'both' In which parts the wallpaper will be set.

About

A capacitor plugin for setting wallpapers in android devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published