Create an App like Twitter: Push Notifications with CloudKit

Daniel Autenrieth · 11K views · 2016 · 22:08

Open on YouTube

Software (other)Web developmenttutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it as a worked example of CloudKit push notifications, both as a suggested solution and as the code base they are adapting when something breaks.

Recommended by 1 people across 1 different months, 2016 to 2017.

What it is

A 22-minute iOS Swift tutorial that adds CloudKit subscriptions and push notifications to a Twitter-style app (the Swiffer app from an earlier video). It covers setting up record-change subscriptions so devices get instant updates from iCloud. It is presented by Brian Advent and uploaded to Daniel Autenrieth's channel.

What people said

Recommends A. Inbar · 2016-12 · Stack Overflow · on “automatically background notification firebase database”

so, after a lot of time that I've been searching for solutions, I found a really easy way to do it, and it is by using cloud kit. that's the brian advent's tutorial: [this video] I suggest you to go to his first video: [LINK] and just do few of those things. EDIT: 2017 Now we can use Firebase cloud functions in order to send a push notification when the database changes.

Cites user1019042 · 2016-05 · Stack Overflow · on “Push Notification from CloudKit doesn't synchronize properly”

I am trying to create a simple chat in IOS/Swift with iCloudKit. I'm modeling after this example: Create an App like Twitter: Push Notifications with CloudKit [this video] but changing it to become chat instead of Sweets. The code's banner and badge work well to some degree and the pushing of data to CloudDashboard is fine and fast. But the synchronization from the cloudKit to the devices doesn't work most of the time. Sometimes one device sees more than the other, sometimes less, just not too reliable. I am using the DEVELOPMENT environment in CloudKit. What is the problem? Here is my code of implemented methods in appDelegate and the viewController: func application(application: UIApplication,

Cites Claw · 2017-01 · Stack Overflow · on “iOS Not receiving Push Notification from CloudKit”

Even the real device doesnt work, so I don't know what I'm doing wrong, I followed this tutorial, and it doesn't work – [this video]