Similar here, though I use a different app (which requires root) to achieve roughly the same thing. I would not want to be without it and is one of the killer things that makes a phone so powerful nowadays.
It's really sad that Google doesn't give a rat's ass about it and these nice things tend to break with every version (see also: OsmAnd track recording as alternative for Google Location History keeps being killed and needs a different workaround in every second version since Android 4 or so). Termux is being all lovey dovey towards them in the FAQ https://wiki.termux.com/wiki/FAQ#Will_Termux_work_on_Android... (showing Google they're oh-so-reasonable and willing to play ball and provide good publicity) but much as they cover it up with pink ribbons, the FAQ still says: "we chose to force use compatibility with Android 9 APIs (SDK 28) at the cost of ability to publish updates on Google Play." (sounds like they've volunteered to be banned from publishing updates on the Play Store) and "[on Android 12,] spawning several processes would randomly close the application". So as I understand it, it's broken on anything newer than Android 9, but many use-cases still work until reality starts to catch up and it's removed from the Play Store for being stale or when newer Android versions decide that newer-than-9 security practices now become enforced. I dread getting a new phone with a new Android version... every time it's a struggle to get things back in order (e.g. automated backups of all your data, as imo everyone should (be able to) have, but you can't do that without rooting and knowing where to even find your /data).