react-native-google-places | Android Google Places Widgets
kandi X-RAY | react-native-google-places Summary
kandi X-RAY | react-native-google-places Summary
react-native-google-places is a Java library. react-native-google-places has no bugs, it has no vulnerabilities and it has low support. However react-native-google-places build file is not available. You can install using 'npm i @ant-tech/react-native-google-places' or download it from GitHub, npm.
iOS/Android Google Places Widgets (Autocomplete Modal) and API Services for React Native Apps. Notice: The Google Play Services version of the Places SDK for Android (in Google Play Services 16.0.0) is deprecated as of January 29, 2019, and will be turned off on July 29, 2019. A new version of the Places SDK for Android is now available. I suggest you read the documentations again and update your app to use v3.0.1 (or above) of this package.
iOS/Android Google Places Widgets (Autocomplete Modal) and API Services for React Native Apps. Notice: The Google Play Services version of the Places SDK for Android (in Google Play Services 16.0.0) is deprecated as of January 29, 2019, and will be turned off on July 29, 2019. A new version of the Places SDK for Android is now available. I suggest you read the documentations again and update your app to use v3.0.1 (or above) of this package.
Support
Quality
Security
License
Reuse
Support
react-native-google-places has a low active ecosystem.
It has 0 star(s) with 0 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
react-native-google-places has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of react-native-google-places is current.
Quality
react-native-google-places has no bugs reported.
Security
react-native-google-places has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
react-native-google-places does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
react-native-google-places releases are not available. You will need to build from source code and install.
Deployable package is available in npm.
react-native-google-places has no build file. You will be need to create the build yourself to build the component from source.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of react-native-google-places
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of react-native-google-places
react-native-google-places Key Features
No Key Features are available at this moment for react-native-google-places.
react-native-google-places Examples and Code Snippets
No Code Snippets are available at this moment for react-native-google-places.
Community Discussions
No Community Discussions are available at this moment for react-native-google-places.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install react-native-google-places
on top of the file.
Sign up for Google Places & Google Maps APIs for Android in Google API Console to grab your Android API key (not browser key).
Read further API setup guides at https://developers.google.com/places/android-sdk/signup.
Similarly, sign up for Google Places API for iOS in Google API Console to grab your iOS API key (not browser key).
Ensure you check out further guides at https://developers.google.com/places/ios-sdk/get-api-key.
Enable billing for your projects - please do not file any issues on this repo without first checking you have, indeed, enabled billing on your account.
With both keys in place, you can proceed.
If you do not have CocoaPods already installed on your machine, run gem install cocoapods to set it up the first time. (Hint: Go grab a cup of coffee!)
If you are not using Cocoapods in your project already, run cd ios && pod init at the root directory of your project. This would create a Podfile in your ios directory.
Run react-native link @ant-tech/react-native-google-places at the root directory of your project and ensure you edit your Podfile to look like the sample below (remove all the targets you are not building for, such as Tests and tvOS):
Replace all references to YOUR_PROJECT_TARGET with your project target (it's the same as project name by default).
By now, you should be all set to install the packages from your Podfile. Run pod install from your ios directory.
Close Xcode, and then open (double-click) your project's .xcworkspace file to launch Xcode. From this time onwards, you must use the .xcworkspace file to open the project. Or just use the react-native run-ios command as usual to run your app in the simulator.
In your AppDelegate.m file, import the Google Places library by adding
Within the didFinishLaunchingWithOptions method, instantiate the library as follows - read about a better way to secure this below:
Ensure you have the required location permissions for the application by declaring keys for NSLocationWhenInUseUsageDescription and NSLocationAlwaysAndWhenInUseUsageDescription in your info.plist file, either using Xcode or manually editing the file e.g.
This was done automatically for you when you ran react-native link @ant-tech/react-native-google-places. Or you can run the command now if you have not already.
In your AndroidManifest.xml file, request the following permissions:
In your /android/gradle.properties file, add your API key, read about a better way to secure this below
The following additional setup steps are optional as they should have been taken care of, for you when you ran react-native link react-native-google-places. Otherwise, do the following or just ensure they are in place;
Add the following in your android/settings.gradle file:
Add the following in your android/app/build.grade file:
Add the Google Maven Repo in your android/build.gradle file:
Add the following in your ...MainApplication.java file:
Enable multiDex for your application.
Ensure you are compiling with Java 1.8 or above. Add the following in your /android/app/build.gradle file:
Finally, we can run react-native run-android to get started.
Sign up for Google Places & Google Maps APIs for Android in Google API Console to grab your Android API key (not browser key).
Read further API setup guides at https://developers.google.com/places/android-sdk/signup.
Similarly, sign up for Google Places API for iOS in Google API Console to grab your iOS API key (not browser key).
Ensure you check out further guides at https://developers.google.com/places/ios-sdk/get-api-key.
Enable billing for your projects - please do not file any issues on this repo without first checking you have, indeed, enabled billing on your account.
With both keys in place, you can proceed.
If you do not have CocoaPods already installed on your machine, run gem install cocoapods to set it up the first time. (Hint: Go grab a cup of coffee!)
If you are not using Cocoapods in your project already, run cd ios && pod init at the root directory of your project. This would create a Podfile in your ios directory.
Run react-native link @ant-tech/react-native-google-places at the root directory of your project and ensure you edit your Podfile to look like the sample below (remove all the targets you are not building for, such as Tests and tvOS):
Replace all references to YOUR_PROJECT_TARGET with your project target (it's the same as project name by default).
By now, you should be all set to install the packages from your Podfile. Run pod install from your ios directory.
Close Xcode, and then open (double-click) your project's .xcworkspace file to launch Xcode. From this time onwards, you must use the .xcworkspace file to open the project. Or just use the react-native run-ios command as usual to run your app in the simulator.
In your AppDelegate.m file, import the Google Places library by adding
Within the didFinishLaunchingWithOptions method, instantiate the library as follows - read about a better way to secure this below:
Ensure you have the required location permissions for the application by declaring keys for NSLocationWhenInUseUsageDescription and NSLocationAlwaysAndWhenInUseUsageDescription in your info.plist file, either using Xcode or manually editing the file e.g.
This was done automatically for you when you ran react-native link @ant-tech/react-native-google-places. Or you can run the command now if you have not already.
In your AndroidManifest.xml file, request the following permissions:
In your /android/gradle.properties file, add your API key, read about a better way to secure this below
The following additional setup steps are optional as they should have been taken care of, for you when you ran react-native link react-native-google-places. Otherwise, do the following or just ensure they are in place;
Add the following in your android/settings.gradle file:
Add the following in your android/app/build.grade file:
Add the Google Maven Repo in your android/build.gradle file:
Add the following in your ...MainApplication.java file:
Enable multiDex for your application.
Ensure you are compiling with Java 1.8 or above. Add the following in your /android/app/build.gradle file:
Finally, we can run react-native run-android to get started.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page