Skip to content

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

@TDSSSzero

Description

@TDSSSzero

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions