1.5.13 • Published 12 months ago
@connected-home/react-native-geolocation v1.5.13
react-native-geolocation
Getting started
$ npm install react-native-geolocation --save
Mostly automatic installation
$ react-native link react-native-geolocation
Android
- Open up
android/app/src/main/java/[...]/MainActivity.java
- Add
import com.reactlibrary.RNGeolocationPackage;
to the imports at the top of the file - Add
new RNGeolocationPackage()
to the list returned by thegetPackages()
method
- Append the following lines to
android/settings.gradle
:include ':react-native-geolocation' project(':react-native-geolocation').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-geolocation/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:compile project(':react-native-geolocation')
Usage
import RNGeolocation from 'react-native-geolocation';
// TODO: What to do with the module?
RNGeolocation;
1.5.14
12 months ago
1.5.13
12 months ago
1.5.16
12 months ago
1.5.15
12 months ago
1.5.18
12 months ago
1.5.17
12 months ago
1.5.10
1 year ago
1.5.12
1 year ago
1.5.11
1 year ago
1.5.9
1 year ago
1.5.8
1 year ago
1.5.5
2 years ago
1.5.7
2 years ago
1.5.6
2 years ago
1.5.4
4 years ago
1.5.3
4 years ago
1.5.2
4 years ago
1.5.1
4 years ago
1.5.0
4 years ago
1.4.6
4 years ago
1.4.5
4 years ago
1.4.4
5 years ago
1.4.3
5 years ago
1.4.2
5 years ago
1.4.1
5 years ago
1.4.0
5 years ago
1.3.0
5 years ago
1.2.0
5 years ago
1.1.0
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago