codenameakshay / codenameakshay/async_wallpaper
setLiveWallpaper doesn't work on xiaomi 10 miui 14
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 26
- Forks
- 43
- Avg merge
- 18m
- Merged PRs (30d)
- 12
Description
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
Screenshots
Flutter:
- version 3.7.11
Dart:
- version 2.19.6
Additional context
phone: xiaomi 10
android version Android 13
MIUI 14.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing setLiveWallpaper on the Xiaomi 10 running Android 13 and MIUI 14 with Flutter 3.7.11 and Dart 2.19.6, comparing it with static wallpaper behavior and the reported Samsung or Huawei results. Trace the Android-side live-wallpaper handling and determine whether the failure can be detected; done means the live wallpaper is applied successfully or the failure is surfaced clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, dart, flutter, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100