codenameakshay / codenameakshay/async_wallpaper

setLiveWallpaper doesn't work on xiaomi 10 miui 14

Open
#25 3 comments 0 reactions 0 assignees View on GitHub

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
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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.