You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched and made sure there are no existing issues for the issue I am filing
I have searched the existing issues
Description
When the application is started while the device is not active, specifically the screen has turned off and the phone has locked, some features of the application will not work properly.
This particular case happens, for example, when the application is launched (from a Mac device) through the command:
ti build -p android --target device --device-id all
and the phone connected through the USB cable has entered idle mode due to inactivity.
In detail:
Unbunded services do not start (especially on Android API 34).
Some webviews using chart.js may return an error in the JS.
Probably due to other errors in the code, the main app window sometimes does not open, and the application gets stuck on the splash screen.
Also HTTPClient could rise some error:
[ERROR] failed to connect to [Server URL] (port 443) from [/YOUR IP] (port 56645) after 5000ms [-1] (0 - null)
[ERROR] Unable to resolve host [Server URL]: No address associated with hostname [-1] (0 - null)
I am unable to provide more specific information at this time.
Expected Behavior
Works normally.
Actual behavior
Unbundled services do not start (especially on Android API 34).
Some webviews using chart.js may return an error in the JS.
Probably due to other errors in the code, the main app window sometimes does not open, and the application gets stuck on the splash screen.
Also HTTPClient could rise some error:
[ERROR] failed to connect to [Server URL] (port 443) from [/YOUR IP] (port 56645) after 5000ms [-1] (0 - null)
[ERROR] Unable to resolve host [Server URL]: No address associated with hostname [-1] (0 - null)
Reproducible sample
X
Steps to reproduce
X
Platform
Android
SDK version you are using
12.4.0.GA
Alloy version you are using
No response
The text was updated successfully, but these errors were encountered:
Informate
changed the title
Android: application startup problems when the phone is in sleep mode (Display off)
Android: application startup problems while the phone is in sleep mode (Display off)
Aug 28, 2024
I guess that is not a high priority issue as it just happens when you launch the app with adb/build commands and the phone is in sleep mode. That is nothing that would happen with the actual app later on, right.
I quickly tested it with one bigger app I have here and I didn't see any issues starting a build while the phone is in sleep mode. I can see the logs and it even made API requests. When I wake up the phone and unlock it it will show the app and starts downloading images. I'm sure some stuff won't work that relies on focus or other events that might not fire when the phone is locked. But I wouldn't know how to debug that without waking up the phone :)
I have searched and made sure there are no existing issues for the issue I am filing
Description
When the application is started while the device is not active, specifically the screen has turned off and the phone has locked, some features of the application will not work properly.
This particular case happens, for example, when the application is launched (from a Mac device) through the command:
and the phone connected through the USB cable has entered idle mode due to inactivity.
In detail:
[ERROR] failed to connect to [Server URL] (port 443) from [/YOUR IP] (port 56645) after 5000ms [-1] (0 - null)
[ERROR] Unable to resolve host [Server URL]: No address associated with hostname [-1] (0 - null)
I am unable to provide more specific information at this time.
Expected Behavior
Works normally.
Actual behavior
[ERROR] failed to connect to [Server URL] (port 443) from [/YOUR IP] (port 56645) after 5000ms [-1] (0 - null)
[ERROR] Unable to resolve host [Server URL]: No address associated with hostname [-1] (0 - null)
Reproducible sample
X
Steps to reproduce
X
Platform
Android
SDK version you are using
12.4.0.GA
Alloy version you are using
No response
The text was updated successfully, but these errors were encountered: