Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setLiveWallpaper doesn't work on xiaomi 10 miui 14 #25

Open
TDSSSzero opened this issue Jul 10, 2023 · 1 comment
Open

setLiveWallpaper doesn't work on xiaomi 10 miui 14 #25

TDSSSzero opened this issue Jul 10, 2023 · 1 comment

Comments

@TDSSSzero
Copy link

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.

@naeem-shah
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants