Thursday, July 23, 2026
HomeiOS DevelopmentiOS push notifications with Python backend

iOS push notifications with Python backend

[ad_1]

I’ve been scouring the web for a complete information on how one can arrange push notifications by APNs utilizing my very own supplier server, however with out luck. Most guides use Firebase or comparable. I need to be taught what the very best practices are and keep away from any pitfalls that may exist, so I assumed I’d attempt asking for recommendation right here.

My goal is to construct an iOS app in SwiftUI which may obtain a notification and when an occasion happens within the backend system (in-built Python). The app is principally a single view with a picture, and when the notification arrives, the picture must be up to date, even when the app is not working within the foreground (the pictures are saved within the backend). Ideally, the consumer ought to be capable of toggle notifications with a Toggle() controller within the UI (as a substitute of getting to enter the iOS settings).

What’s the most straight ahead strategy right here? Can I ship the brand new picture with the notification, or ought to I exploit a permalink to the backend and simply replace the picture there? I do know that I have to ask for the customers permission with UNUserNotificationCenter, however I am uncertain about what one of the best ways of sending the generated JWT token to my backend is. Perhaps somebody is aware of of a information or repo that does this?

Any recommendation is vastly appreciated!

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments