dacrystal / nativescript-google-place-picker Goto Github PK
View Code? Open in Web Editor NEWThis is a cross-platform (iOS & Android) Nativescript plugin for the Google Places Picker
License: Other
This is a cross-platform (iOS & Android) Nativescript plugin for the Google Places Picker
License: Other
Hi,
I just noticed this warning on Google's Place Picker documentation:
Notice: The implementation of the place picker has changed. As of version 2.3 of the Google Places API for iOS, the GMSPlacePicker class is deprecated, replaced by GMSPlacePickerViewController. Use of the GMSPlacePicker class will only be supported until May 1, 2018. We recommend that you update your code to use GMSPlacePickerViewController when possible.
Is there a plan to update the plugin to use the newer, supported class?
Thanks!
I tried
var PlacePicker = require("nativescript-google-place-picker");
it did not work as expected
Unable to apply changes on device: emulator-5554. Error is: Failed to build plugin nativescript-google-place-picker :
Error: Command ./gradlew failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
Where:
Build file '/Users/user/Desktop/sourcecode/srs/client/platforms/tempPlugin/nativescript_google_place_picker/build.gradle' line: 60
What went wrong:
Could not compile build file '/Users/user/Desktop/sourcecode/srs/client/platforms/tempPlugin/nativescript_google_place_picker/build.gradle'.
startup failed:
build file
Great plugin would extending it for places auto-complete be something you're interested in? I could help work towards it as well.
Hi @dacrystal
I was successfully get the google place in android, but ios i am not getting google place search option .......
and also i am getting android address not properly....please see the sample output below
"JS: {"nativePlace":{},"id":"ChIJ0ZqH66_6NToRQPIp3npxdP4","name":"Pizza Hut","address":"39 & 1","latitude":16.5025591,"longitude":80.64261139999999}
JS: 16.5025591
JS: 80.64261139999999
JS: 39 & 1 // see this is address i am getting in android*** /////////
JS: Pizza Hut
JS: Camera changed: {"latitude":-33.85999989127037,"longitude":151.1999999731779,"zoom":8,"bearing":0,"tilt":0} false "
I am trying to implement google Places APIs (Places Autocomplete) by using your plugin. My app is successfully run, with a button click but unable to search a place.
and i am getting an error "placesautocomplete result code = 2"........
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.