Skip to content

feat: SDK update for version 31.2.0 - #148

Merged
ArnabChatterjee20k merged 2 commits into
mainfrom
dev
Nov 6, 2026
Merged

ArnabChatterjee20k merged 2 commits into
mainfrom
dev

Conversation

@ArnabChatterjee20k

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 31.2.0.

What's Changed

  • Added: Client.setEnvironment to act in a project environment; realtime connections carry it
  • Added: optional interactive param on Analytics.createEvent to mark an event as telemetry that does not end a bounce
  • Added: OAuthProvider.VIPPS
  • Fixed: background push reconnects inside Android's network windows instead of minutes later
  • Updated: requests send X-Appwrite-Response-Format: 2.7.0; the SDK targets Appwrite 2.7.x
  • Updated: gson dependency to 2.15.0

@appwrite

appwrite Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

This release updates the Android SDK to target Appwrite 2.7.x, adds project-environment support for API and realtime requests, and adds the analytics interactive option and VIPPS OAuth provider. It also adjusts background push reconnection behavior and updates the Gson and Android Gradle Plugin versions.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 12
File Change
CHANGELOG.md Documents the 31.2.0 SDK changes.
README.md Updates the server target and dependency examples to 31.2.0.
build.gradle.kts Updates the Android Gradle Plugin versions.
docs/examples/java/analytics/create-event.md Shows the new interactive argument in the Java event example.
docs/examples/kotlin/analytics/create-event.md Shows the new interactive argument in the Kotlin event example.
library/build.gradle.kts Updates the Gson dependency.
library/src/main/java/io/appwrite/Client.kt Updates request metadata and adds the environment setter.
library/src/main/java/io/appwrite/enums/OAuthProvider.kt Adds the VIPPS OAuth provider.
library/src/main/java/io/appwrite/services/Account.kt Adds VIPPS to the OAuth provider documentation.
library/src/main/java/io/appwrite/services/Analytics.kt Adds the optional interactive event parameter.
library/src/main/java/io/appwrite/services/PushBackground.kt Reconnects push clients during network availability windows.
library/src/main/java/io/appwrite/services/Realtime.kt Includes the configured environment in realtime connection URLs.
🔇 Filtered out · 1

Findings Hansi considered but did not post.

Finding Why
Cover the new environment setter in client tests Verifier: ClientJavaInteropTest only tests Java endpoint-setter interoperability and positional constructor compatibility; it does not cover configuration/header setters. Repository test searches found no coverage of analogous setters such as setLocale, setJWT, or setSession, nor their headers/config. Thus this is a missing-test request for behavior without comparable existing tests. The implementation itself stores config["environment"] and adds the header, and Realtime.createSocket reads that same config key.

Reviewed 9333304 · Details · Comment @appwrite review to re-run, or mention @appwrite with a question.

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@ArnabChatterjee20k
ArnabChatterjee20k merged commit 3413e6d into main Nov 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant