Let's begin by getting our app to send us basic notifications. Inside of our restaurant details page, we have three buttons that all say 7:30 PM, which currently don't do anything. We are going to update those buttons so that, when you tap on one of them, it creates a restaurant reservation notification. If this were a real reservations app, we would want to store these reservations. When the reservation date and time nears, we would then post a notification to the user as a reminder. Doing all of that is outside the scope of this book, so we will address creating a restaurant reservation notification.
Starting with the basics
Getting permission
Before we can send any notifications, we must get the user's...