CoreBluetooth, Connection between WatchOS app and iOS app?

I found this post where it says Apple watch supports CoreBluetooth WatchOS & BLE

I made this game in Unity and I need to show updated heart rate so I was wondering if it possible to connect with a Watch app that read the heart rate and send data to the app using Bluetooth.

All help appreciated.

Please note that I have tried WatchConnectivity and no luck there.

~ Arsher

If your Watch app and iOS app are running at the same time, your Watch app can get the health data and use WatchCOnnectivity's send message function. I know you've tried WatchConnectivity, but it does work. What specifically did you try in WC that didn't work?

I have tried WatchConnectivity and it worked fine, but only in case the Watch app was a companion app basically under the same bundle identifier which I can not guarantee that the watch app will have the same bundle id as the game.

CoreBluetooth, Connection between WatchOS app and iOS app?
 
 
Q