Summary
In this chapter, we learned about the need to show important information to mobile users. This sometimes involves explicit feedback from the user, even if that just means acknowledging the message. In other cases, passive notifications work better, since they're less obtrusive than confirmation modals.
There are two tools that we can use to display messages to users – modals and alerts. Modals are more flexible because they're just like regular views. Alerts are good for displaying plain text, and they take care of styling concerns for us. On Android, we have the ToastAndroid
interface as well. We saw that it's also possible to do this on iOS, but it just requires more work.
In the next chapter, we'll dig deeper into the gesture response system inside React Native, which makes for a better mobile experience than browsers can provide.