How to you display your phone BLE device name in MIT App 2
Take a look at Module 10 of the ESP32 course.
It shows how to build a BLE application with MIT App Inventor. That applications searches for BLE devices and displays in a list the name of the found devices and then, displays the temperature. You can take a look just at the part that shows the BLE devices.
I hope this helps.