Skip to content

feat: React Native SDK update for version 1.2.0-rc.0 - #119

Merged
ArnabChatterjee20k merged 16 commits into
mainfrom
dev
Oct 6, 2026
Merged

ArnabChatterjee20k merged 16 commits into
mainfrom
dev

Conversation

@ArnabChatterjee20k

@ArnabChatterjee20k ArnabChatterjee20k commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

This PR contains updates to the SDK for version 1.2.0-rc.0 (release candidate).

What's Changed

  • Added: Apps service to manage OAuth2 apps, keys, secrets, and installations
  • Added: Oauth2 service for authorization, consent, device, PAR, and token flows
  • Added: Push service for MQTT realtime push with Android background delivery
  • Added: Topic builder and native TCP modules for push
  • Added: Avatars.updatePhoto() and Avatars.deletePhoto() methods
  • Added: App, Oauth2*, and Account models
  • Added: Webflow to the OAuthProvider enum
  • Fixed: cookie session fallback is guarded to Expo web where localStorage exists

@hansi-codes

hansi-codes Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

The incremental changes address the documented permission issue and guard the reviewed connection and cookie paths; no new defects were found.

Updates the SDK to 1.2.0-rc.0 with Apps and OAuth2 services, MQTT Push, a Topic builder, and native Android background delivery. Adds native cookie access, avatar photo operations, models, API wrapper updates, and usage examples. The latest changes document Android notification permission, guard realtime cookie fallback on native platforms, and cancel pending Push subscriptions when closed.

Latest changes: Adds an Android notification permission example, guards realtime localStorage access, and uses connection epochs and close generations to stop pending Push subscriptions from reopening after close().

Verdict New comments Fixed Still open
✅ Approved 0 1 0
📂 Walkthrough · 18
File Change
CHANGELOG.md Records the release additions and native cookie fallback fix.
README.md Documents Push setup, Android background delivery, and runtime notification permission.
android/.editorconfig, android/build.gradle, android/consumer-rules.pro Adds Android library configuration, MQTT dependencies, and shrinking rules.
android/src/main/AndroidManifest.xml Declares Push permissions, services, and wake-up receivers.
android/src/main/java/io/appwrite/exceptions/*, android/src/main/java/io/appwrite/reactnative/* Adds native exception handling and React Native cookie and Push bridges.
android/src/main/java/io/appwrite/services/* Implements MQTT hosting, persisted subscriptions, notifications, and background wake-ups.
ios/AppwriteCookies.m, react-native-appwrite.podspec, react-native.config.js Adds iOS cookie access and native-module autolinking.
package.json, package-lock.json, eslint.config.mjs Updates the release, dependencies, packaged native files, and lint exclusions.
src/client.ts Adds Push configuration, updates request handling, and guards realtime cookie fallback.
src/lib/polyfills.ts, src/lib/tcp-stream.ts, src/react-native-shim.d.ts Adds runtime polyfills, native TCP transport, and module declarations.
src/services/push.ts, src/topic.ts Adds MQTT subscriptions, topic construction, native hosting, and pending-subscription cancellation on close.
src/services/apps.ts, src/services/oauth-2.ts Adds application-management and OAuth2 flow wrappers.
src/services/account.ts, src/services/avatars.ts, src/services/databases.ts, src/services/documents-db.ts, src/services/functions.ts, src/services/graphql.ts, src/services/locale.ts, src/services/messaging.ts, src/services/organization.ts, src/services/presences.ts, src/services/storage.ts, src/services/tables-db.ts, src/services/teams.ts, src/services/vectors-db.ts Refreshes API wrappers and parameters and adds avatar photo operations.
src/models.ts, src/enums/o-auth-provider.ts, src/index.ts Adds models, Webflow OAuth support, and public exports.
docs/examples/* Adds Apps, OAuth2, and avatar photo examples and refreshes existing API examples.
android/.editorconfig Adds Kotlin tooling configuration.
android/src/main/java/io/appwrite/exceptions/AppwriteException.kt Adds the native Push exception type.
eslint.config.mjs Excludes the native autolinking configuration from linting.
✅ Fixed since the last review · 1
  • Include the Android runtime notification permission step · README.md:45

Reviewed the commits since f405561 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@hansi-codes hansi-codes 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 B · See the inline comments. Summary

Comment thread README.md

@hansi-codes hansi-codes 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 d85cf50 into main Oct 6, 2026
1 check 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.

2 participants