-
Notifications
You must be signed in to change notification settings - Fork 31
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
Not working from Android 6.0 to downward #6
Comments
some problem ! |
Issue continues |
@huzaifasaeed @refoxdev @edex96 Hey! Although I haven't been able to debug this on my end, I have received a PR that (probably) solves this issue. I have just pushed an update to pub.dev. Can someone please confirm if this issue still persists on v1.0.8? (latest as of today) |
@AdityaMulgundkar ok bro let me see! |
@AdityaMulgundkar Hi, I have tried in Android 5.0 and it doesn't works there also. |
@Mihan786Chistie Thanks for the quick reply. I looked into it & am solving the issue right now. Will post an update here once I have a solution. |
@AdityaMulgundkar Oh Great, Thanks Bro!! |
@AdityaMulgundkar Bro error is still continuous. Not setting wallpaper on Android 6.0 to downward. Kindly update the repository please. |
@AdityaMulgundkar I also had the same problem for version 1.0.8. The problem is that you cannot set an image as wallpaper for android 6.0 and below. |
@AdityaMulgundkar Please leave a reply about setting wallpaper on Android 6.0 and downward. |
Hey guys @huzaifasaeed @refoxdev @edex96 @Mihan786Chistie @wahab4222 @Arie290698 I just spent some time on the issue & have pushed a working solution. Since I did not check the previous solution added in #11, I manually tested this out on an emulator & it works just about fine. To try the new version of wallpaper_manager, simply switch to v1.0.10 in your pubspec.yaml: Note: Android only has support for setting the lock screen wallpaper & for setting the cropping zones since API 24 (Android 6.0 is API 23). So lock screen & cropping functions are directly defaulted to their base values (i.e. directly sets home screen wallpaper in all cases < API 24 & assumes no cropping zones on all cases < API 24) on older devices by this plug-in now. If in case there's an error & you still face problems in v1.0.10, please feel free to re-open another issue, or drop me a message here. |
v1.0.10 works with Android 6.0 (23). And thanks for continous updation of this plugin. |
Error: Cannot run with sound null safety, because the following dependencies
For solutions, see https://dart.dev/go/unsound-null-safety FAILURE: Build failed with an exception.
BUILD FAILED in 57s // now i am run command this flutter run --no-sound-null-safety then Parameter format not correct - FAILURE: Build failed with an exception.
BUILD FAILED in 20s what is it soution ??????????? |
No error display...
I used this code but Android 6 to downward its not set wallpaper
await WallpaperManager.setWallpaperFromFile( file.path, WallpaperManager.HOME_SCREEN);
The text was updated successfully, but these errors were encountered: