Push-уведомления в мессенджере: production-грабли которых нет в туториалах

Это девятая статья про инженерные решения в ONEMIX. Тема узкая, push-уведомления. Но я её давно хотел разобрать, потому что туториалов в интернете много, а production-граблей в них почти нет. Если коротко, туториал по push выглядит так. Регистрируешь токен через Notifications.getExpoPushTokenAsync() . Отправляешь на бэкенд. Когда приходит пуш — addNotificationResponseReceivedListener ловит тап, навигируешь в нужный экран. Всё. В реальном мессенджере таких туториалов недостаточно. Появляется десяток узких проблем. Пуш приходит когда юзер уже в этом чате. Пуш приходит когда приложение убито системой. Navigation после открытия из пуша добавляет дублирующийся экран в стек. На iOS звонки идут через отдельный канал VoIP который требует совершенно другой инфраструктуры. Эти грабли я и разберу.

https://habr.com/ru/articles/1035992/

#react_native #push_notifications #expo #fcm #apns #callkit #voip #мессенджер #мобильная_разработка #deep_linking

Push-уведомления в мессенджере: production-грабли которых нет в туториалах

Уровень: middle/senior мобильная разработка Стек: React Native, Expo SDK 54, expo-notifications, react-native-callkeep, react-native-voip-push-notification, expo-task-manager, FCM, APNs, PushKit Что...

Хабр

PushWard – Hosted APNs gateway for iOS Live Activities, with open-source bridges

PushWard는 iOS Live Activities용 호스티드 APNs 게이트웨이로, 백엔드 서비스와 iOS 실시간 위젯을 간단한 HTTP API 호출로 연결해 실시간 상태 업데이트를 지원합니다. 다양한 서비스와 연동 가능한 오픈소스 브리지를 제공하며, 별도의 서버 없이 웹훅 설정만으로도 즉시 활용할 수 있습니다. 개인정보 보호를 중시해 이메일 없이 Apple 로그인만 지원하고, 데이터는 암호화 및 자동 삭제되어 안전하게 관리됩니다. 개발자가 iOS 잠금 화면과 다이나믹 아일랜드에 실시간 정보를 쉽게 노출할 수 있는 실용적인 도구입니다.

https://pushward.app

#ios #liveactivities #apns #webhook #opensource

PushWard — iOS Live Activities via API

Turn any HTTP request into an iOS Live Activity. Free tier to start; unlimited on paid. Monitor CI/CD, server alerts, home automation, and more.

RE: https://mastodon.social/@lukaskubanek/116317203336604688

#iCloud #CloudKit #APNS

Delivery of CloudKit notifications looks broken in iOS 26.4

One of the core technologies and services of the platform does not work

And the best guidance Apple has to offer to developers is “file a FB and maybe we take a look. Make sure you generate lots of duplicate FBs because otherwise we will not take it seriously”

Okay then

#CloudKit #iCloud #APNS

CloudKit and APNS is the bane of my existence

I create a visible subscription for inserted CKRecords that should just work

The records are fine and arrive with a fetch

But simply no push in development environment is sent for them

Are there any known issues for CloudKit push notifications in development environment, or any recent known good debugging and inspection methods for what is really going on? I wish I had delivery log on server side, but no such thing.

Warum Regierungen iMessage kaum gezielt sperren können
Autoritäre Staaten versuchen häufig, verschlüsselte Kommunikation einzuschränken. In Russland trifft das aktuell FaceTime – iMessage bleibt dagegen überraschend unangetastet.

Eine technische Besonderheit v
https://www.apfeltalk.de/magazin/news/warum-regierungen-imessage-kaum-gezielt-sperren-koennen/
#News #Sicherheit #APNs #Apple #Datenschutz #EndezuEndeVerschlsselung #FaceTime #iMessage #Messenger #PushMitteilungen #Russland

Warum Regierungen iMessage kaum gezielt sperren können

Warum Russland iMessage trotz FaceTime-Sperre nicht blockiert – und welche Rolle Apples Push-Infrastruktur dabei spielt.

Apfeltalk Magazin

Assist (ASC, Push, Snap) release 0.8.1 🎉

▸ 🚀 Tools asc, snap, push successfully published
▸ 📅 September 15th
▸ 🌎 https://swiftpackageindex.com/Blackjacx/Assist
▸ 🌎 https://github.com/Blackjacx/Assist/releases/latest
▸ 👍 Tell your friends!

#SPM #Automated #Snapshots #Push #Firebase #APNS #ASC #AppStoreConnectAPI

Assist – Swift Package Index

Assist by Stefan Herold on the Swift Package Index – App Store Connect API access via CLI written in Swift

The Swift Package Index
Why is APN so hard? I get the notification on my devices, but I can’t get it to capture the response. #swift #apns #apple
Modernizing push notification API for Teams - .NET Blog

Push Notification Hub is an essential internal service that plays a crucial role in the messaging and calling flows within Teams and other platforms. This article describes its recent overhaul, which has significantly enhanced its performance and reduced latencies in delivering push notifications to user devices

.NET Blog

Assist (ASC, Push, Snap) release 0.8.0 🎉

▸ 🚀 Tools asc, snap, push successfully published
▸ 📅 September 2nd
▸ 🌎 https://swiftpackageindex.com/Blackjacx/Assist
▸ 🌎 https://github.com/Blackjacx/Assist/releases/latest
▸ 👍 Tell your friends!

#SPM #Automated #Snapshots #Push #Firebase #APNS #ASC #AppStoreConnectAPI

Assist – Swift Package Index

Assist by Stefan Herold on the Swift Package Index – App Store Connect API access via CLI written in Swift

The Swift Package Index

A few months ago, I wrote an article about how to use a Dovecot plugin to give yourself push email on iOS devices: https://colincogle.name/blog/dovecot-with-apple-push/

Well, thanks to @[email protected] and countless GitHub users — i.e., https://github.com/freswa/dovecot-xaps-daemon/issues/43 — I regret to inform you all that the XAPPLEPUSHSERVICE concept might be dead.

This project relied on using macOS Server’s API’s to request a certificate for the Apple Push Notification Service, so that one could send yourself notifications. Well, macOS Server died a long time ago, configurations evolved into MDM profiles (which, honestly, are easier), and the certificate API was deprecated and then disabled last autumn to little fanfare.

Is there any hope for push IMAP on iOS in the future? Only time will tell. If you have a valid certificate, XAPSd will keep working until it expires, but after that, who knows? I might have to go back to fetching my email!

(Oh, and if it works for you, don’t upgrade to Dovecot 2.4. I wasted an evening migrating and unmigrating my config files.)

If anyone knows anyone at Apple, please let me know how to complain to something that’s not a feedback form.

#SelfHosted #Dovecot #PushEmail #Apple #iOS #iPadOS #macOS #macOSServer #IMAP #IMAPIdle #sysadmin #email #Apple #APNS #ApplePushNotificationService

Push Comes to Dove’

By adding a few things to your Dovecot IMAP server, you can have instant new mail notifications on your Apple devices.

Colin Cogle