Skip to content

Obtains photos based on device location from the Flickr API and displays on a map

License

Notifications You must be signed in to change notification settings

ng-book/nativescript-photos-near-me

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NativeScript Photos Near Me

This is a demo application for Android and iOS developed with NativeScript, Angular 2, and TypeScript. It was designed to demonstrate device geolocation, usage of maps, and consuming remote API data from the Flickr API.

Configuration and Installation

Not much is required to get this project up and running on your Android or iOS simulator. You will need an API key for Flickr and Mapbox.

Clone or download the repository:

git clone https://github.com/burkeholland/nativescript-photos-near-me

Open the project's app/config.ts file and include your API keys where appropriate.

From the Command Prompt (Windows) or Terminal (Mac and Linux), execute the following to download all the project dependencies listed in the project's package.json file:

tns install

With the dependencies installed, run the application on any device or simulator.

iOS 9+ and Android 6+ Notes

To use geolocation in the later versions of Android and iOS, permission is required on the host device. Upon running the application, a request for permission will be triggered. If denied, the only way to provide permission is to either re-install the application or go to the device settings.

Resources

NativeScript - https://www.nativescript.org

Angular 2 - https://angular.io

Flickr - https://www.flickr.com

The Polyglot Developer - https://www.thepolyglotdeveloper.com

About

Obtains photos based on device location from the Flickr API and displays on a map

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 86.9%
  • HTML 12.8%
  • CSS 0.3%