Skip to content

Feature Request: Allow to skip connectivity check #21

@romainreignier

Description

@romainreignier

Hi,

I am trying to run ImmichFrame Android on an old Android 6.0 tablet.
I would like the tablet to boot directly into ImmchFrame, without any human interaction except the power button press.
The ImmichFrame server is ran off-site, available through a Wireguard VPN tunnel.
I have tried to run ImmichFrame as a Launcher to start automatically on boot but once booted, it is stuck on a black screen with the "Waiting for network..." showed a few times. I have to go to the settings, open the URL dialog, save and close the settings to get the slideshow.
I think that this is due to the VPN tunnel that takes at least 1 minute to be opened on start.
I have tried to use the Automation App to wait for 2 minutes before starting ImmichFrame and this time, I get the "Waiting for network..." on black screen in loop. While going to the URL editor and back allows to start the slideshow.
I have checked the source code and I think that this line:


does not behave correctly with my VPN setup.
I have tried the version 42 of the app (the version before this check was added) and with the delayed start, it works properly.
When using it as a Launcher, I get a browser error-page: err net::ERR_ADDRESS_UNREACHABLE but after several minutes, the page is reloaded and the slideshow starts.

So I was wondering if we could add a setting to disable the connectivity check? Or modify it to try to ping the ImmichFrame server instead of using the Android Internet connectivity check that is not always relevant in the use-case of this app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions