unnotificationserviceextension Questions

4

I have a notification service extension for my macOS app. Here is the code for that extension: import UserNotifications class NotificationService: UNNotificationServiceExtension { var content...
Ferrigno asked 11/8, 2019 at 14:31

2

I'm not being able to use the debugger in a UNNotificationServiceExtension. Here's what I do when attempting to attach the debugger to the UNNotificationServiceExtension: Run app Set the breakpo...
Jonahjonas asked 27/3, 2018 at 10:52

5

iOS 10 introduced push notification framework updates, UserNotificationsUI.framework As written on apple docs, it lets us customize the appearance of local and remote notifications when they ...

10

I tried to implement the new Notification Service Extension, but I have a problem. In my NotificationService.swift file I have this code: class NotificationService: UNNotificationServiceExtension...

20

Solved

Im implementing new iOS10 extension to use rich notifications. Im trying to test it on push notifications but is not working, I just receive a simple notification and is not going through the exten...

4

Solved

So the following code is being used to attach an image from local storage url of an image. I check in Terminal to see if the image is stored and it does store the image without any issues. So rulin...

2

Notification Service Extension modifies the content of a remote notification before it's delivered to the user. For example if a remote notification contains an image URL, Notification Service Exte...
Chairborne asked 21/5, 2019 at 20:59

0

I am using Notification service extension to receive chat messages via push. Previously I was using VOIP to deliver chat messages. But with the new update from iOS 13 to restrict the usage of...

0

I have enabled NotificationServiceExtension in my app. And done the following Added .apppex under Frameworks, Libraries and Embedded contents Confirmed both deployment target version is 12.0 Send...
Adornment asked 17/5, 2020 at 16:33

1

I am able to test the normal notifications in Simulator, but when I tried to test rich notifications nothing happens, event title is not getting updated. Could you please assist me, how to proceed....

4

Solved

In my Notification Service Extension I am downloading an image from a URL to show as UNNotificationAttachment in a notification. So I have this image as UIImage and don't see the need to write it...

1

Solved

Is it possible to add Multiple Notification Service Extension in one app?If Yes, then how to recognize which one will be used and how? Basically there are two service providers for my app and both...

1

Solved

Take, for instance, a messaging app that only presents notifications with in this format: You have X new messages When the user receives a message, the app will present a notification: You have 1 ...

3

I'm struggling with adding an image to my Push Notification in iOS 10. I have added a Notification Service Extension, and have used the following code: override func didReceive(_ request: UNNoti...

2

In my scenario, I'm sharing data between the parent iOS app and notification service extension. I'm using Xcode 10.2.1, iOS Deployment Target 10.0 We have tried the NSUserDefaults and Keychain gro...
Antoneantonella asked 23/7, 2019 at 5:32

1

Solved

Up until recently (I believe prior to iOS 12 release), removing remote push notifications from the Notification Center worked as expected using removeDeliveredNotifications. Suddenly, without any ...

1

Solved

I moved step by step for getting rich push notifications. Here they are : Created Notification service extension with plist : NotificationService didRecieve : override func didReceive(_ ...

2

I've added UNNotificationServiceExtension and UNNotificationContentExtension in my project for rich push notification. Please refer the code below which i've added for the same. Code: #import "N...

1

Solved

I'm using the NotificationService Extension target to be able to modify push notifications before they are presented. It's working well but there is some notifications that I would like to not pres...

1

Solved

I am not getting proper documentation for Notification Service Extension's provisioning profile. But as per my knowledge, the Notification Service Extension has it's own bundle id, it must be set ...
1

© 2022 - 2025 — McMap. All rights reserved.