Push =>
{{
aps = {
alert = {
\"loc-args\" = (
);
\"loc-key\" = \"new_chat\";
};
\"content-available\
Assuming you are targeting iOS 10+, you can add a Notification Services extension app (UNNotificationServiceExtension
) to your app bundle.
modifies the content of a remote notification before it is delivered to the user.
In the DidReceiveNotificationRequest
override, extract your content from the UNNotificationRequest
and modify it and return it via the contentHandler provided.
Required reading to understand how/when the extension is used:
Also:
Xamarin Docs: iOS Extensions in Xamarin.iOS
Apple docs: UNNotificationServiceExtension