Dark Mode Not working (Capacitor)

If you want to dynamically listen to changes in the dark mode on android, you can use the plugin I’ve developed. In opposition to checking whether dark mode has been enabled during app launch, the plugin will allow you to listen to changes in the dark mode even while your app is running. Also, there is no need to target sdk 29. I’ve tested the plugin by targeting sdk 28 and it works fine.