Is it possible to check if the night mode is activated on the device? I want my app to be able to check if the night mode is open on the device to automatically know whether to enable the night mode (in the app) or not
Its not possible Automatically.
But you can create Manually
by store color value in tinydb.
And use Any Components option.
I want to be able to check if the night mode is working.
Create a project and check what you want.
Actually, @Point wants to get the value of Night Mode as on or off by reading Android settings. (on or off)
You can use Shell component to execute terminal commands, it is possible to get system values, info by executing some commands, however I don’t remember the commands exactly, a simple Google search can help you.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.