-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
flutter app crashes after setting desktop wallpaper on android 14 phone #148286
Comments
@chenxiuhui318 |
I have tested Android 11-13 without problems, only on two Android 14 should crash, see the phenomenon is the application restart |
This is the dart code: Stream progressString = imageDownloadProgress(url ?? '');
} |
This is Android native code: @OverRide
|
If this occurs only on Android 14, then it could be related to the changes made by Android and may not be specific to Flutter. See a related / similar issue with underlying comments from team and check if it helps in your case or not. |
But the same native Android code, in the pure native Android project to set the wallpaper is no problem |
@chenxiuhui318 |
Steps to reproduce
1.Online picture download
2.flutter calls native Settings wallpaper
Expected results
The wallpaper is set successfully and the application does not crash
Actual results
Setting the wallpaper succeeded, but the application crashed
Code sample
dart:
android native:
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Flutter Doctor output
The text was updated successfully, but these errors were encountered: