Summary

In this chapter, we explored more of React Native's built-in components and modules to capture the device-specific location data. The Geolocation API provides us the mechanism which hooks into the existing component life cycle to track user location. By incorporating this into our existing saved data, we can use the longitude and latitude values to display a map of where all of our notes were taken.

Get Getting Started with React Native now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.