Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-location-picker-controller

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-location-picker-controller - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json

@@ -6,3 +6,3 @@ {

},
"version": "1.0.2",
"version": "1.0.3",
"description": "React Native Wrapper for LocationPicker, a ready for use and fully customizable location picker.",

@@ -9,0 +9,0 @@ "nativePackage": true,

@@ -12,2 +12,3 @@ # react-native-location-picker

### Dependencies

@@ -23,6 +24,19 @@

* In your RN project root run:<br>`npm install react-native-location-picker-controller --save`
1. In your RN project root run:<br>`npm install react-native-location-picker-controller --save`
2. In Xcode, in Project Navigator (left pane), right-click on the `Libraries` > `Add files to [project name]` <br> Add `./node_modules/react-native-location-picker-controller/ios/LocationPicker.xcodeproj` ([screenshots](https://facebook.github.io/react-native/docs/linking-libraries-ios.html#step-1))
3. In Xcode, in Project Navigator (left pane), click on your project (top) and select the `Build Phases` tab (right pane) <br> In the `Link Binary With Libraries` section add `LocationPicker.framework` ([screenshots](https://facebook.github.io/react-native/docs/linking-libraries-ios.html#step-2))
4. Open your Xcode project and drag `RNLocationPicker.swift`, `RNLocationPickerManager.h`, `RNLocationPickerManager.m` from the folder `node_modules/react-native-location-picker/ios` into your project, in the dialog box let Xcode create Objective-C bridging header.([screenshot 1](https://i.imgur.com/OWfov99.png), [screenshot 2](https://i.imgur.com/jDjkusU.png))
* Open your Xcode project and drag the folder `node_modules/react-native-location-picker/ios` into your project
5. Editing `<your project name>-Bridging-Header.h` to import `RCCExternalViewControllerProtocol.h` and `RCCViewController.h` for Swift to use:
```objc
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#import "RCCExternalViewControllerProtocol.h"
#import "RCCViewController.h"
```
6. In `RNLocationPickerManager.m`, replace `#import "tacitus-Swift.h"` to `#import "<your project name>-Swift.h"`
### Usage

@@ -29,0 +43,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc