Day 3: Taking Note of Where We Are
Or, Geotagging Notes and Displaying Them on a Map View
Today we’ll add another set of features to our app. These features all have to do with location. We’ll allow the user to geotag notes with the device’s current location and then later display all the notes on a map view.
I need to mention a caveat here. The current version of React Native at the time this was written was 0.23.0. At that time the device location and map APIs were not fully supported on Android. That means that loading the current location didn’t work on Android, but it failed gracefully with a warning. I expect that as React Native continues to improve, this code will work as written on Android.
The React Native APIs that wrap these features ...
Get Seven Mobile Apps in Seven Weeks 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.