xmtp-ios icon indicating copy to clipboard operation
xmtp-ios copied to clipboard

Add more push server options

Open cameronvoell opened this issue 1 month ago • 2 comments

Introduction 📟

Purpose ℹ️

Scope 🔭

cameronvoell avatar Oct 27 '25 16:10 cameronvoell

Claude Code is working…

I'll analyze this and get back to you.

View job run

claude[bot] avatar Oct 27 '25 16:10 claude[bot]

Add push server options by introducing XMTPPush.DeliveryMechanism and updating XMTPPush.register(token:) to delegate to XMTPPush.register(deliveryMechanism:) in XMTPPush.swift

Introduce DeliveryMechanism with apns(deviceToken:), firebase(deviceToken:), and custom(token:); add XMTPPush.register(deliveryMechanism:) that validates pushServer, builds Notifications_V1_RegisterInstallationRequest, and calls client.registerInstallation(request:); update XMTPPush.register(token:) to wrap as APNS; add non-UIKit stub that fatalErrors; map mechanisms via DeliveryMechanism.toProtobuf().

📍Where to Start

Start with XMTPPush.register(deliveryMechanism:) in XMTPPush.swift.


📊 Macroscope summarized 9a0cf9f. 1 file reviewed, 0 issues evaluated, 0 issues filtered, 0 comments posted. View details

macroscopeapp[bot] avatar Oct 27 '25 16:10 macroscopeapp[bot]