Skip to content
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

PhotoCloud won't start on boot on certain devices/Androids #176

Open
mvysny opened this issue Jun 22, 2022 · 2 comments
Open

PhotoCloud won't start on boot on certain devices/Androids #176

mvysny opened this issue Jun 22, 2022 · 2 comments
Assignees
Labels

Comments

@mvysny
Copy link
Owner

mvysny commented Jun 22, 2022

There is a discussion that PhotoCloud won't start on certain devices/Androids: https://groups.google.com/g/photocloud-frame/c/hBCkF9MTpuA . I'm re-posting here, to keep track of the discussion.

The original message is as follows:

Hi i have trouble with running Photocloud in autostart mode
i have lenovo Lenovo TB-X505F on the wall and there is feature in firmware for scheduled on and off, so i wanted to have this tablet as Photoframe, i added photos from my smb share and switch Autostart but nothing happens after reboot

@mvysny mvysny self-assigned this Jun 22, 2022
@mvysny mvysny added the bug label Jun 22, 2022
@mvysny
Copy link
Owner Author

mvysny commented Jun 22, 2022

Hi Mike,

this is really strange. Which Android version are you running on the
device, perhaps Android 11?

In fact, noticed the same thing after I upgraded my phone to Android 12;
however I noticed that not only PhotoCloud won't start, but none of
the apps I use starts on boot anymore: especially the "MyTherapy" pill
reminder doesn't start which could be really dangerous.

Android changed the boot-related policy quite a couple of times already,
but it used to work until now. The thread at
https://stackoverflow.com/a/46294732/377320 suggests that you need to
run the app at least once in order for the BOOT_COMPLETED intent to be
broadcasted. Could it be a bug in Android (that you need to run the app at least once even after the app upgrades)?

Not sure... Also
https://www.androidbugfix.com/2022/01/receiver-on-bootcompleted-not-fired.html
suggests that it's a "feature" of the Android OS instead of a bug in the
app...

PhotoCloud exports all appropriate bits for Android, and the
configuration is correct since it works on older Androids... Sounds like
Android 11+ changed something which caught all apps off-guard. Sounds
like it's broken for all apps, not just PhotoCloud, which once again
suggests a bug (or a security feature) in Android OS itself.

I will definitely be on a lookout for a workaround.

@mvysny
Copy link
Owner Author

mvysny commented Jun 22, 2022

The documentation on how to configure PhotoCloud to start at boot time can be found here: https://www.android-photo-frame.eu/faq.html "Launching PhotoCloud at boot-up time".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant