Receiving alerts using ble

Can any buddy tell me that how can we receive alerts of phone in our app to transmit data when our phone receive any kind of alert such as call or message.

Do you mean a push notification?

Thunkable uses OneSignal for push notifications for your phone.

no in push we can send alerts but i want to recieve alerts in app

such as a smart watch app which transmit strings on smart watch whenever phone recieves any message or call.

Do you want a notification OR a dialog?

What do you mean by dialog?

And i want to built app that will transmit data when my mobile device receives any message or call.

A dialog is a pop-up message.