-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
bugSomething isn't workingSomething isn't working
Description
iOS 17.6.1 / Xcode 16 / Embrace SDK version 6.5.1 (also tried 6.5.0, 6.4.2)
When using the Push Notification Capture service, some data in push notifications is stripped out, causing app routing logic to fail upon tapping a notification. UNUserNotificationCenterDelegate methods + application(_:didReceiveRemoteNotification:fetchCompletionHandler:) are not invoked in AppDelegate with the push notification capture service enabled. Push notifications function normally when the push notification capture service is disabled.
We use an old version of the Branch SDK 0.36.0 to intercept notifications. The Branch handler is invoked, but some data gets nil'd out.
Setup:
let captureServices = CaptureServiceBuilder()
.addDefaults()
.add(.pushNotification(options: .init(captureData: true))) // also tried false
.build()
try Embrace
.setup(
options: .init(appId: Constants.embraceKey,
captureServices: captureServices,
crashReporter: EmbraceCrashReporter(),
logLevel: .debug))
.start()Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working