Questions tagged [notification-service-extension]

6 questions
5
votes
1 answer

Does a Notification Service Extension need any capabilities?

I’m creating an App ID for a Notification Service Extension Do I need to add any capabilities to it? Its only purpose is to download the image for the notification. I don’t think I need to. Currently I'm able to build into my device without enabling…
1
vote
0 answers

MethodChannel not sending data back from Flutter to iOS with flutter engine run from notification service extension

I'm trying to launch briefly a flutter engine from a notification service extension in order to run some dart code. I created a new flutter module that I compiled as a framework and added to the extension target in xCode. The code works well and the…
1
vote
1 answer

Flutter and custom iOS Notification Service Extension

I'm adding a custom Notification Service Extension to my flutter app in order to preprocess the notifications (generated from Firebase Cloud Messaging). It doesn't work, not showing at all, the test notifications do work. I added the extension using…
0
votes
0 answers

Example reference style implementation of macOS Notification Service Extension is killed because of sluggish startup

I have tried to get a Notification Service Extension working on macOS 12.6.1 (Intel). It was not possible for me to get the Notification Service's didReceiveNotificationRequest() called. That was approved using a NSLog() that doesn't appeared in…
0
votes
0 answers

Is it possible to call AudioServicesDisposeSystemSoundID(_ inSystemSoundID: SystemSoundID) in different target?

I am creating a notification service extension and I have a special use case so I have to play sound using AudioToolbox instead of regular notification sound. It works pretty well, but I don't know how to stop it. My desired behavior is that when…
0
votes
0 answers

Error Xcode 14 executable file not found NotificationService

When I installed the NotificationService extension in the app I had these errors without any modification on the file NotificationService.swift: Does somebody know how to resolve this? Error detail: Details Executable Path is a Directory…