You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+36-10Lines changed: 36 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,31 +58,56 @@ and [read our docs for more information about indexing your data](https://www.fi
58
58
## Including GeoFire in your project Android/Java
59
59
60
60
In order to use GeoFire in your project, you need to [add the Firebase Android
61
-
SDK](https://firebase.google.com/docs/android/setup). After that you can include
62
-
GeoFire with one of the choices below.
61
+
SDK](https://firebase.google.com/docs/android/setup). After that you can include GeoFire with one of the choices below.
62
+
63
+
Note that after version `1.1.1` the artifact `com.firebase:geofire` is no
64
+
longer updated and has been replaced by the separate Android and Java
65
+
artifacts as described below.
63
66
64
67
### Gradle
65
68
66
-
Add a dependency for GeoFire to your `gradle.build` file:
69
+
Add a dependency for GeoFire to your `gradle.build` file.
70
+
71
+
For Android applications:
67
72
68
73
```groovy
69
74
dependencies {
70
-
compile 'com.firebase:geofire:2.0.0'
75
+
compile 'com.firebase:geofire-android:2.0.0'
71
76
}
72
77
```
73
78
79
+
For non-Android Java applications:
80
+
81
+
```groovy
82
+
dependencies {
83
+
compile 'com.firebase:geofire-java:2.0.0'
84
+
}
85
+
86
+
```
87
+
74
88
### Maven
75
89
76
-
GeoFire also works with Maven:
90
+
GeoFire also works with Maven.
91
+
92
+
For Android applications:
77
93
78
94
```xml
79
95
<dependency>
80
96
<groupId>com.firebase</groupId>
81
-
<artifactId>geofire</artifactId>
97
+
<artifactId>geofire-android</artifactId>
82
98
<version>2.0.0</version>
83
99
</dependency>
84
100
```
85
101
102
+
For non-Android Java applications:
103
+
104
+
```xml
105
+
<dependency>
106
+
<groupId>com.firebase</groupId>
107
+
<artifactId>geofire-java</artifactId>
108
+
<version>2.0.0</version>
109
+
</dependency>
110
+
```
86
111
87
112
### Jar-File
88
113
@@ -257,10 +282,11 @@ the query to the new visible map area after a user scrolls.
257
282
258
283
259
284
## Deployment
260
-
- log onto the build box
261
-
- checkout and update the master branch
262
-
-`./release.sh` to build the client and update maven
263
-
- close/release the repository from sonatype
285
+
- In your local environment set `$BINTRAY_USER` and `$BINTRAY_KEY` to your
286
+
Bintray.com username and API key.
287
+
- Checkout and update the master branch.
288
+
- Run `./release.sh` to build and deploy.
289
+
- On bintray.com, publish the draft artifacts.
264
290
- Update [firebase-versions](https://github.com/firebase/firebase-clients/blob/master/versions/firebase-versions.json) with the changelog from this version
0 commit comments