async_wallpaper icon indicating copy to clipboard operation
async_wallpaper copied to clipboard

setLiveWallpaper doesn't work on xiaomi 10 miui 14

Open TDSSSzero opened this issue 2 years ago • 1 comments

Describe the bug Everything works fine when I set up static images(jpg/png) on MIUI14,but when i use liveWallpaper ,both the lock screen and home screen changed back to the default wallpaper, and show toast successfully. This may be a problem with MIUI itself, as I am still testing on Samsung and Huawei phones, and they are normal. I want to know if there is a way to catch this exception and handle it. sorry,my english not good,thank you watch this.

code image

Screenshots Screenshot_2023-07-10-11-13-01-545_tdsss save sav Screenshot_2023-07-10-11-16-16-841_com miui home

Flutter:

  • version 3.7.11

Dart:

  • version 2.19.6

Additional context phone: xiaomi 10 android version Android 13 MIUI 14.

TDSSSzero avatar Jul 10 '23 03:07 TDSSSzero

I have fix this issue and created a pull request modify your pubspec.yaml

async_wallpaper:
  git:
    url: https://github.com/codenameakshay/async_wallpaper.git
    ref: 10ae084c26d644a8c653aa0e63265d41a5603c8c

naeem-shah avatar Jul 26 '24 04:07 naeem-shah