Releases: get-convex/convex-mobile
Convex for Android 0.6.1
This is a minor feature and bug fix release of Convex for Android. It includes the following:
- A dependency on an updated version of
convex-rswith a fix for a deadlock - initConvexLogging() API for outputting ConvexClient events in logcat
Available on Maven Central: https://central.sonatype.com/artifact/dev.convex/android-convexmobile/0.6.1
Include in your Gradle project dependencies with:
implementation("dev.convex:android-convexmobile:0.6.1@aar") {
isTransitive = true
}
Prior to this version, applications receiving rapid query updates while sending outgoing requests could experience the ConvexClient becoming unresponsive.
The logging API is meant to be called when your application launches. It's useful during development for inspecting the state of the ConvexClient while your application is running. Here's a simple example:
package com.example.myapp
import android.app.Application
import dev.convex.android.ConvexClient
import dev.convex.android.initConvexLogging
import com.example.myapp.MyRepository
class WorkoutApplication : Application() {
lateinit var repository: MyRepository
override fun onCreate() {
super.onCreate()
// Call once at startup to initialize logging.
initConvexLogging()
repository = MyRepository(
convex = ConvexClient(getString(R.string.convex_url))
)
}
}Convex for Android 0.6.0
This is a bug fix release of Convex for Android. It includes the following:
- Fix for a subscription crash in the core Rust client
- 16KB page support (#7)
- Bumped the Android NDK to 27.3.13750724
Available on Maven Central: https://central.sonatype.com/artifact/dev.convex/android-convexmobile/0.6.0
Include in your Gradle project dependencies with:
implementation("dev.convex:android-convexmobile:0.6.0@aar") {
isTransitive = true
}