I have been running an ESP32 controlled heating system for a number of years using an app made with MIT.
I added an extra button to the app and now the app will not connect via bluetooth.
I can connect to the ESP32 using another serial bluetooth app which has all the same information (mac address etc)
Could be a permissions issue preventing the app from detecting devices. The newer API levels cracked down on permissions, and would take effect if you recompiled even without adding features.
Test by going into Settings> Apps>your app>Permissions> and enable Nearby Devices. Your app should now be able to detect available Bluetooth devices and you should only need to do this once.