Summary
This chapter focused on making our app run in a way that feels native to each platform. While there are minor differences between React Native on iOS and Android, the required updates were minimal and were added mostly to cater for the platform's unique interface patterns. React Native's Android
API offers several other Android-specific components and APIs that are worth exploring. For example, the Android operating system is designed to work with a back button. BackAndroid
lets you create event listeners within your React Native app to add custom behavior when users click the Android back button. There are also additional Android UI components you may wish to experiment with, including DatePickerAndroid
, ProgressBarAndroid
, TimePickerAndroid
, and ToolbarAndroid
.
With our cross-platform app complete, it's now time to step outside of our JavaScript-only comfort zone and into native modules. In the next chapter, we'll explore how to create React Native bindings that expose customized...