I've been working on an android app that lets you automate android the JavaScript way, it's made using Cordova. The tech stack is Vue, Sqlite, bootstrap and jQuery.
The idea is that a user can create js scripts containing methods I have provided that programmatically interface with androids native features like sim card, Bluetooth, WiFi, battery, network, TTS, Flashlight, etc..
https://github.com/MurageKabui/PhoneDo