React-native-place-picker: Pick any place with single click ๐Ÿš€

Overview

react-native-place-picker

Pick any place with single click ๐Ÿš€

โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ

Don't forget to STAR AND FORK this repo if you like it

โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ โญ๏ธ

HEADER

How is it working?

This plugin is built only by create native page UIViewController for iOS or Activity for Android. and present the page in front of React Native Application without any special dependencies just native code

Installation

npm install react-native-place-picker
# or
yarn add react-native-place-picker

Expo

  • You need to add expo-dev-client and run expo run:ios or expo run:android

Info Expo managed app not yet supported ๐Ÿšง

iOS

  • No further steps needed ๐Ÿ˜

Android โš ๏ธ

  • Add to your AndroidManifest.xml you Google Map API Key or your application will crash
">
<meta-data
   android:name="com.google.android.geo.API_KEY"
   android:value="YOUR_KEY" />

Usage

Request

import { pickPlace } from 'react-native-place-picker';

const OPTIONS = {

    title: "Choose Place", // Modal title

    // Initial map location coordinates
    initialCoordinates: {
        latitude: 25.2048,
        longitude: 55.2708
    }

};

pickPlace(OPTIONS)
    .then(console.log)
    .catch(console.log)

// or

pickPlace().then(console.log).catch(console.log)

Result

{
    // Determine if user did cancel th operation
    canceled: boolean,
    // Coordinates values
    latitude: number,
    longitude: number,
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

You might also like...
A country picker view controller for iOS
A country picker view controller for iOS

Planet A country picker view controller for iOS. Installation CocoaPods You can use CocoaPods to install Planet by adding it to your Podfile: platform

MICountryPicker is a country picker controller for iOS8+ with an option to search.
MICountryPicker is a country picker controller for iOS8+ with an option to search.

MICountryPicker MICountryPicker is a country picker controller for iOS8+ with an option to search. The list of countries is based on the ISO 3166 coun

A simple, customizable Country picker for picking country or dialing code. ๐Ÿ‡ฎ๐Ÿ‡ณ ๐Ÿ‡ฏ๐Ÿ‡ต ๐Ÿ‡ฐ๐Ÿ‡ท ๐Ÿ‡ฉ๐Ÿ‡ช ๐Ÿ‡จ๐Ÿ‡ณ ๐Ÿ‡บ๐Ÿ‡ธ ๐Ÿ‡ซ๐Ÿ‡ท ๐Ÿ‡ช๐Ÿ‡ธ ๐Ÿ‡ฎ๐Ÿ‡น ๐Ÿ‡ท๐Ÿ‡บ ๐Ÿ‡ฌ๐Ÿ‡ง Multi-picker for iOS and Mac available in SwiftUI
Multi-picker for iOS and Mac available in SwiftUI

Multi-picker for iOS and Mac available in Swift UI

iOS/macOS media picker for importing images and videos in SwiftUI

iOS/macOS media picker for importing images and videos in SwiftUI.

A simple yet customizable horizontal and vertical picker view
A simple yet customizable horizontal and vertical picker view

WheelPicker A simple yet customizable horizontal and vertical picker view Features Vertical or Horizontal picker Image or Text data Configure UILabel

A SwiftUI implementation of a picker that also allows direct input.
A SwiftUI implementation of a picker that also allows direct input.

ComboPicker ComboPicker is a SwiftUI view that allows users to input a value by selecting from a predefined set or by typing a custom one. Installatio

LocationPicker - A ready for use and fully customizable location picker for your app
LocationPicker - A ready for use and fully customizable location picker for your app

LocationPicker A ready for use and fully customizable location picker for your app. Features Installation Cocoapods Carthage Swift Package Manager Qui

Vahesaroyan-react-native-bubble-select - React native bubble picker

@vahesaroyan/react-native-bubble-select React native bubble picker Installation

๐Ÿฆ ๐Ÿƒ ๐Ÿ“ฑ An animal matching puzzle card gameโ€“ย built with turn-based game engine boardgame.io and React-Native + React-Native-Web
๐Ÿฆ ๐Ÿƒ ๐Ÿ“ฑ An animal matching puzzle card gameโ€“ย built with turn-based game engine boardgame.io and React-Native + React-Native-Web

Matchimals.fun an animal matching puzzle card game ๐Ÿฆ ๐Ÿƒ ๐ŸŽ Download for iOS from the App Store ๐Ÿค– Download for Android from the Google Play Store ๐Ÿ–ฅ

A weather app developed in React Native. It is the React Native version of SwiftWeather.
A weather app developed in React Native. It is the React Native version of SwiftWeather.

ReactNativeWeather A weather app developed in React Native. It is the React Native version of SwiftWeather How to run the app Install react-native If

Swift-picker-views - inline single and multi picker views for UIKit. Without tableview! Easy and simple
Swift-picker-views - inline single and multi picker views for UIKit. Without tableview! Easy and simple

swift-picker-views Inline single and multiple picker views for UIKit. No tablevi

FlaneurImagePicker is an iOS image picker that allows users to pick images from different sources (ex: user's library, user's camera, Instagram...).                            It's highly customizable.
FlaneurImagePicker is an iOS image picker that allows users to pick images from different sources (ex: user's library, user's camera, Instagram...). It's highly customizable.

FlaneurImagePicker is a highly customizable iOS image picker that allows users to pick images from different sources (ex: device's library, device's c

Informant is a macOS menu bar app that lets you inspect files with a single click. ๐Ÿ”
Informant is a macOS menu bar app that lets you inspect files with a single click. ๐Ÿ”

Informant Inspect files with a single click. Introduction Welcome! If you're not sure what Informant is or what it does please check out informant-app

React Native FlyBuy module. Supports Core, Pickup, Notify, and Presence Native SDK APIs.

The FlyBuy cloud service and mobile SDK enables developers to add FlyBuy functionality directly into their react native apps for a full white label im

React Native library that implements PayPal Checkout flow using purely native code (swift).
React Native library that implements PayPal Checkout flow using purely native code (swift).

react-native-paypal-swift React Native library that implements PayPal Checkout flow using purely native code (swift). Installation npm install react-n

React-native-photo-editor - Photo editor using native modules for iOS and Android
React-native-photo-editor - Photo editor using native modules for iOS and Android

๐ŸŒ„ Image editor using native modules for iOS and Android. Inherit from 2 available libraries, ZLImageEditor (iOS) and PhotoEditor (Android)

A drop in single image picker.

PHSingleImagePicker A low memory, single image picker wrapper that provide a significant smaller file size while also preserve high image quality. Int

System Color Picker - The macOS color picker as an app with more features
System Color Picker - The macOS color picker as an app with more features

System Color Picker The macOS color picker as an app with more features Download Requires macOS 11 or later. Features Quickly copy, paste, and convert

Comments
  • Chore: Adding support for new arch

    Chore: Adding support for new arch

    To-Do

    • [x] Adding support for Javascript with NativePlacePickerSpec.ts
    • [x] Adding support for iOS with Obj-C
    • [x] Adding support for Android with Kotlin
    enhancement 
    opened by b0iq 0
  • Feat: New version 2.0.0

    Feat: New version 2.0.0

    Todo:

    • [x] #3
    • [x] Return reverse geocoding address
    • [x] Theme customization
    • [x] Locale selection
    • [x] Debounce search
    • [x] Search placeholder
    • [x] android refactor
    • [x] Update header image
    • [x] Update readme
    opened by b0iq 0
Releases(v2.5.1)
Owner
b0iq
Daydreamer
b0iq
A SwiftUI List Picker to replace system Picker in List

BetterListPicker An alternative customizable list picker in order to replace built-in non customizable Picker when we write settings view codes. Demo

Jinya 1 Apr 11, 2022
A better SwiftUI Picker Use _Picker instead of Picker

BetterPicker A better SwiftUI Picker. Use _Picker instead of Picker. Create styles with _PickerStyle. The is a WIP This library is currently a work-in

Eric Lewis 17 Dec 14, 2022
๐Ÿคฏ PickEmoji: A SwiftUI Extension to Pick the Emojis that you wish

?? PickEmoji: A SwiftUI Extension to Pick the Emojis that you wish You can use this library in your projects ?? . You can search the emojis too. Below

Mohammad Yasir 10 Sep 26, 2022
Convert Countries, Country Codes, Continents,... with a single line of code.

iOS ยท macOS ยท watchOS ยท tvOS A pure Swift library that allows you to easily convert Countries to Country Codes and Country Codes to Countries. There i

Novem 1 Feb 22, 2022
FYPhoto is a photo/video picker and image browser library for iOS written in pure Swift. It is feature-rich and highly customizable to match your App's requirements.

FYPhoto is a photo/video picker and image browser library for iOS written in pure Swift. It is feature-rich and highly customizable to match your App's requirements.

null 10 Dec 11, 2022
Date picker dialog for iOS

DatePickerDialog 4.0 - iOS - Swift DatePickerDialog is an iOS drop-in classe that displays an UIDatePicker within an UIAlertView. Requirements DatePic

Squimer 535 Dec 17, 2022
a picker view shown as a popup for iOS in Objective-C

CZPicker Demo Change Log 3 most recent changes are listed here. Full change logs v0.4.3 - 2016-08-12 Added - (void)czpickerViewWillDisplay:(CZPickerVi

Chen Zeyu 527 Oct 2, 2022
๐ŸŽฏ Swift country and phone code Picker

CountryPicker Picker code Swift 3 / 4 / 5. Example To run the example project, clone the repo, and run pod install from the Example directory first. U

null 207 Dec 22, 2022
An iOS picker view to serve all your "picking" needs

Mandoline The PickerView is a UICollectionView that provides a smooth "picking" interface. In order to get the most out of it, a consuming view contro

Blue Apron 883 Nov 28, 2022
Elegant and Easy-to-Use iOS Swift Date Picker

D2PDatePicker Example To run the example project, clone the repo, and run pod install from the Example directory first. Example Code: Programmatical I

Pradheep Rajendirane 292 Nov 6, 2022