How can I reply to notificatoin from ANCS ? Is it possible or not ? I am able to get all notifications on my BLE Device with the help of ANCS. Now I want to reply notification after filter the type of notificatoin with the help of ANCS.
So if notifications belongs to message or Whatsapp category then I will sent some static message through our BLE Device.
Is that possible with ANCS? If yes then how ? If no then is there any other way to do this ?
It is not possible to send a specific, textual reply to a notification using ANCS.
If a notification contains values for
EventFlagPositiveActionandEventFlagNegativeActionthen a device can issue a Perform Notification Action with either apositiveornegativevalue.After iOS 8 a device can use
NotificationAttributeIDPositiveActionLabelandNotificationAttributeIDNegativeActionLabelto attempt to retrieve some text that describes the actions (e.g. "Answer" or "Decline" for an incoming call).From the documentation:
I am not aware of any method that a Bluetooth device can use to send a message via WhatsApp; This would require specific support in the app.
You can read SMS/iMessage messages using the Message Access Profile (MAP), but iOS devices do not support sending messages via MAP -