Currently, I am developing a web version for my Android app.
Within the app, there are numerous utility files such as a class that formats strings in a specific manner.
I am wondering if there is a way to write this functionality once and use it on both platforms (Android and web) without having separate implementations in Java/Kotlin for Android and JS/TS for the web?