O'Reilly logo

Seven Mobile Apps in Seven Weeks by Tony Hillerson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required