ably-java
ably-java copied to clipboard
Java, Android, Clojure and Scala client library SDK for Ably realtime messaging service
A draft PR to run the ably-java tests against a development cluster for checking some changes in realtime behaviour.
[WORK IN PROGRESS] This is draft for CI job that running Unified Test Suite for `ably-java`
- `Attach` related changes were introduced as a part of protocol 2. - As per protocol 2, ATTACH msg should be sent for every channel in `attaching`, `attached` and `suspended`...
In particular for our public APIs, but would also assist internally in some places too. [This section](https://kotlinlang.org/docs/reference/java-interop.html#nullability-annotations) in the Java interoperability section of the Kotlin docs presents a nice summary...
It's only ever decoded (hydrated) from inbound data. See [this review comment](https://github.com/ably/ably-java/pull/581#issuecomment-644199752). This has been put in to the backlog so we can get the release out as it's a...
[JsonObject](https://www.javadoc.io/doc/com.google.code.gson/gson/latest/com.google.gson/com/google/gson/JsonObject.html) instances are mutable. See [this review comment](https://github.com/ably/ably-java/pull/581#issuecomment-644199752). I didn't want to knee jerk make this change without due consideration at the point of releasing 1.2.1 so this needs careful...
[Originally](https://github.com/ably/ably-java/blob/b9011d583782a3f6fb893622be63989f6965ef60/android/src/main/java/io/ably/lib/fcm/AblyFirebaseInstanceIdService.java), you had to pass a `AblyRest` instance when refreshing registration tokens, but now, the `AblyRest` is [instanced by us, using the `deviceIdentityToken` as key, with default options](https://github.com/ably/ably-java/blob/8e26a834d9de39b3d4c9b822373dce551427e763/android/src/main/java/io/ably/lib/push/ActivationContext.java#L66-L67). So, if...
I cannot see how that could ever be the right thing to do. e.g. `io.ably.lib.types.MessageSerializer.writeMsgpackArray(Message[], MessagePacker)` ┆Issue is synchronized with this [Jira Task](https://ably.atlassian.net/browse/SDK-584) by [Unito](https://www.unito.io)
In order for push activation to work, you need to do this: ``` rest.setAndroidContext(context) rest.push.activate(useCustomRegistrar) ``` (Which, by the way, [is really poorly documented currently](https://github.com/ably/docs/search?q=setAndroidContext&unscoped_q=setAndroidContext).) If you do `push.activate` without...