Member-only story
Notifications, the whole shebang III using only iOS
I should start this article with a disclaimer, it based on iOS 13, Swift 5 and Xcode 11.x. If you reading this and those numbers look dated, be forewarned.
I should also warn you that notifications, principally remote ones involve Apple’s infrastructure which means you will need an Apple Developers account to use them.
Now if you just got here, you should perhaps go back to part I and part II first, if not read on.
Now what we need to do now is install a library to help us create JSON Web Tokens. Apple use JWT to authenticate your connection to their server. The library we’re after was written by IBM. Go to google and search for this string.
swift jwt library
You should come back with this link. Click on the link and you should find yourself within github looking at this repository.
Copy the URL and move back to xCode project. Click on the blue PROJECT icon and than the Swift Packages tab.
Click on the + and paste the name of the IBM-Swift/Swift-JWT package in the dialog box that will come up.