Skip to content

Conversation

@deminearchiver
Copy link

@deminearchiver deminearchiver commented Nov 1, 2025

Closes #690.

This PR is in a very raw, "prototype" stage. Do not expect everything to work properly.

The hardest part of the work is identifying which Flutter platform features are required to be implemented in order for the app to even work properly.

I suppose data passing could be achieved via communication with the main activity.

It was required to bump minSdk to 24 (was 23).

@deminearchiver
Copy link
Author

Testing on an emulator isn't a valid option: every time I click anywhere the screen saver closes despite having set isInteractive to true in the DreamService implementation.

Testing on a real device, it seems everything works fine when "previewing" the screen saver. When the screen turns off during charging, the screen saver appears as well!

Here's a screenshot of the empty Flutter app running as a screen saver on my Pixel 7 Pro. As you can see, the status bar as well as the navigation bar are absent

dream_1_p7p

@deminearchiver
Copy link
Author

The FlutterView does not seem to be receiving pointer events (the app is not interactive). I am investigating the issue.

@deminearchiver
Copy link
Author

The FlutterView does not seem to be receiving pointer events (the app is not interactive). I am investigating the issue.

My stupidity is beyond comprehension, I merely forgot to write a crucial line of code. Now, everything seems to work a little better. At least the app is receiving pointer events.

@PranshulGG
Copy link
Owner

@deminearchiver Thanks for the implementation! I tested it a bit, it seems to work fine on most devices running Android 12 and up. I tried hooking up the weather, but it didn’t work. So yeah, it’s kinda hard to get that working in flutter

@yoyo406
Copy link

yoyo406 commented Nov 27, 2025

omg sorry but what's a pullrequests ??

@deminearchiver
Copy link
Author

omg sorry but what's a pullrequests ??

A pull request is a term used among developers. It's essentially a formal way to propose changes to a project's codebase and ask for those changes to be reviewed and approved before being added.

If you are a normal user and not a developer, I'm afraid there is nothing here of your interest.

@yoyo406
Copy link

yoyo406 commented Nov 27, 2025

Thank you for your help, but no, I'm a small developer. I develop a few games.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Add as an Android screen saver

3 participants