1.5.13 • Published 2 years 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
2 years ago
1.5.13
2 years ago
1.5.16
2 years ago
1.5.15
2 years ago
1.5.18
2 years ago
1.5.17
2 years ago
1.5.10
2 years ago
1.5.12
2 years ago
1.5.11
2 years ago
1.5.9
3 years ago
1.5.8
3 years ago
1.5.5
3 years ago
1.5.7
3 years ago
1.5.6
3 years ago
1.5.4
5 years ago
1.5.3
5 years ago
1.5.2
6 years ago
1.5.1
6 years ago
1.5.0
6 years ago
1.4.6
6 years ago
1.4.5
6 years ago
1.4.4
6 years ago
1.4.3
6 years ago
1.4.2
6 years ago
1.4.1
6 years ago
1.4.0
6 years ago
1.3.0
6 years ago
1.2.0
6 years ago
1.1.0
6 years ago
1.0.12
6 years ago
1.0.11
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago