Socket
Socket
Sign inDemoInstall

react-native-location-picker-controller

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-location-picker-controller

React Native Wrapper for LocationPicker, a ready for use and fully customizable location picker.


Version published
Weekly downloads
3
Maintainers
1
Created
Weekly downloads
 

Readme

Source

react-native-location-picker

React Native Wrapper for LocationPicker, a ready for use and fully customizable location picker.

Dependencies

  • LocationPicker - original library

  • react-native-navigation - native navigation library for React Native (required to natively display the editor within RN)

Installation

  • Make sure your project relies on React Native >= 0.25

  • Make sure your project uses react-native-navigation and that you've followed the Installation instructions there

  • In your RN project root run:
    npm install react-native-location-picker --save

  • Open your Xcode project and drag the folder node_modules/react-native-location-picker/ios into your project

Usage

To display your screen, from within one of your other app screens, push the editor:

this.props.navigator.push({
  screen: 'example.LocationPickerScreen',
  title: 'Pick  a Location',
  passProps: {
    externalNativeScreenClass: 'RNLocationPicker',
  }
});

License

Code in this git repo is licensed MIT.

Keywords

FAQs

Last updated on 05 Aug 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc