My simple 'Night Mode' extension

Thanks!
I did not think about it :sweat_smile:

1 Like

Hello dear Mika
It would be great if you could create an extension for the night and day mode.

If night mode return false then day mode active.

2 Likes

Hi
Which so far dark mode Extention make?

I don’t think this extension would work with app inventor, because app inventor uses the new androidx support library, but it looks like the extension is still using the old support library, which won’t work, except in kodular.

4 Likes

Oh… A few months ago this extension was working… Thank you for your answer

1 Like

You’re welcome

Because app inventor wasn’t yet updated to support the new support library.

1 Like

:joy::joy::joy::joy::joy::joy::joy:

Very practical and useful
To upgrade the work level

Nice good.
This help me so much
Thank you!!

Hellooo,
Since Kodular updated its libraries, the extension no longer works :cold_sweat:
The people need you @Mika!

1 Like

You can meanwhile recast the extension:

2 Likes

I used Recast to make the extension compatible with Kodular Fenix. I am giving it to you here for you to use, it will be faster than installing Recast
NightMode.aix (5.3 KB)

4 Likes

Running results in:

Runtime Error
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/app/AppCompatDelegate;

With this code:

This also happens in the demo AIA. Any help?

They dropped support for android support libraries.

Thanks, but is there any way of fixing it? Else there would just be no dark mode support at all.

Try this one :point_down:

2 Likes

Thanks, that worked! I must have missed that version :sweat_smile:

1 Like

Thank you so much for this amazing extension. I was finding it from a week can you please add some keywords like system, detect, theming so that others like me can also find it in future.
image

1 Like

Me too… I also have that error