Skip to content

Commit 4a3d324

Browse files
committed
Bump to Parse Android v1.14.0
Change in https://github.com/ParsePlatform/Parse-SDK-Android/pull/596/files prevents live queries.
1 parent 948563c commit 4a3d324

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ParseLiveQuery/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ android {
4040
}
4141

4242
dependencies {
43-
compile 'com.parse:parse-android:1.13.1'
43+
compile 'com.parse:parse-android:1.14.0'
4444
compile 'com.firebase:tubesock:0.0.12'
4545
compile 'com.parse.bolts:bolts-tasks:1.4.0'
4646

ParseLiveQuery/src/main/java/com/parse/ParseLiveQueryClientImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ private void handleObjectEvent(Subscription.Event event, JSONObject jsonObject)
201201
final int requestId = jsonObject.getInt("requestId");
202202
final Subscription<T> subscription = subscriptionForRequestId(requestId);
203203
if (subscription != null) {
204-
T object = ParseObject.fromJSON(jsonObject.getJSONObject("object"), subscription.getQueryState().className(), subscription.getQueryState().selectedKeys() == null);
204+
T object = ParseObject.fromJSON(jsonObject.getJSONObject("object"), subscription.getQueryState().className(), ParseDecoder.get(), subscription.getQueryState().selectedKeys());
205205
subscription.didReceive(event, subscription.getQuery(), object);
206206
}
207207
}

0 commit comments

Comments
 (0)