Eithaam ๐
TSDThe Swift Den
โขCreated by Eithaam ๐ on 7/28/2024 in #swift-development
Live activities doesnโt get notifications token
Hi everyone,
Iโm currently learning Swift and Swift UI by myself for my master degree.
Since yesterday Iโm building a little app to implement Live Activities and Dynamic Island notifications, because theyโre to cool to be ignored, but something goes wrong.
Iโm following this tutorial : https://techholding.co/blog/Live-Activities-in-iOS-16.1-and-later-in-SwiftUI/
But when it comes to the startDeliveryPizza function to lunch live activity, Iโm stuck in an infinite loop inside the task
After setting a time out, it appears that I never receive any push token.
I donโt need to send real push tokens from a server, itโs juste a little project made to be built on my phone.
Can anyone help me to fix this please ?
Iโd really like to understand the problem and learn to fix this. And itโs really hard to find good documentation about live activities and Dynamic Island on the web
2 replies