[FREE] Device 💻 - Get device info!

Create extension to check:
isAutomaticDateTime = True/False
isAutomaticTimeZone = True/False please...
:pray::pray::pray::blush::blush::blush:

4 Likes

Thank you Ronald!

5 Likes

image

It is better to rename it to 'IsDarkModeActive' because it makes more sense :slight_smile:

3 Likes

Really? Is it returning this?

1 Like

Yes it is returning this

1 Like

No, they are different. Dark mode is the theme, the whole UI is a darker color, while night mode is turning the screen dimmer and the do not disturb mode.

The key difference between night mode and dark mode is while dark mode switches the UI background to a darker shade along with any corresponding colour scheme flips, night mode changes the colour being emitted by the screen to a warmer colour.

Taken from here.

They are completely different, @qwe_rfv and @AyProductions. Treat them as 2 different functions. Please read the documentation first.

4 Likes

So you can add an IsDarkModeActive block as you

1 Like

I don't think I find any relevant results yet. Also, I need an approval with @StarredStare if I should add the block.

Also, @qwe_rfv, not all devices have the same rules about dark mode.

2 Likes

From my results, it only returns whether the phone has night mode on.

image

1 Like

maybe you can do something like that:

1 Like

I don't just mean SDK version, I also mean brands (Samsung? Huawei?) and manufacturers. Different phones should have different rules.

3 Likes

Thank you so much for helping me @gordonlu310.... :pray: :pray: :+1: :+1:

3 Likes

Version 22!

New blocks:

CacheDirectory

image

Returns the absolute path of the cache directory of the application.

Returns: text

Fingerprint

image

Returns the fingerprint of the device.

Returns: text

GetMacAddress

image

Returns the MAC address(media access control address) of the device.

Returns: text

Home

image

Returns to the home screen of the application. Your application is not closed.

IsDateAndTimeAutomatic

image

Checks if 'Automatic Date and Time' is enabled in Settings.

Returns: text

Inspired by this extension. Thank you Samuel!

I will update the main post, website and the download link.

7 Likes

Updated everything. Please tell me if something is wrong. Thank you!

Also, special thanks to Ronald. I added your name to the list.

6 Likes

Thank you so much...:pray:t2::pray:t2::pray:t2:

Keep excellent work...:+1::+1::+1:

4 Likes

nice update!

1 Like

Version 23!

New blocks:

IsAirplaneModeEnabled

image

Checks if the airplane mode of the device is on.

Returns: boolean

EDIT: Updated everything already.

9 Likes

Thank you so much for this wonderful extension @gordonlu310 . I find many of these tools so valuable and IsAirplaneModeEnabled put some final touches on my app to make it better. Thank you much

4 Likes

Good update @gordonlu310!

2 Likes

Cool extension :+1:

2 Likes