Skip to content

feat: React Native SDK update for version 1.2.0-rc.4 - #121

Merged
ArnabChatterjee20k merged 7 commits into
mainfrom
dev
Oct 7, 2026
Merged

ArnabChatterjee20k merged 7 commits into
mainfrom
dev

Conversation

@ArnabChatterjee20k

@ArnabChatterjee20k ArnabChatterjee20k commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

This PR contains updates to the React Native SDK for version 1.2.0-rc.4.

What's Changed

  • Fixed: host() resolves with the live connection state instead of always null
  • Fixed: onConnection(false) fires when a retired or background connection closes
  • Fixed: notification taps are recorded after launching the app, so tap-opened screens land on top
  • Fixed: host() reports false when there was nothing to subscribe instead of a spurious open

Regenerated with sdk-generator 5.5.2.

@hansi-codes

hansi-codes Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

No actionable defects were found in the incremental changes after checking the native bridge, connection lifecycle, and JavaScript callers.

Updates the SDK to 1.2.0-rc.4 with notification-tap APIs, Android background-status and permission helpers, foreground notification controls, and native connection events. Android delivery gains watchdog scheduling, replay drain windows, session-aware credential refresh, bounded notification-image decoding, and notification deduplication. The latest fixes return live connection state from native hosting, report retired connection closures, and record notification taps after requesting the app launch.

Latest changes: The new commits bump the release to 1.2.0-rc.4, propagate live native connection state to JavaScript, emit closure events during retirement and release, and move tap recording after the app-launch request.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 14
File Change
CHANGELOG.md Documents rc.2–rc.4 push features and connection and notification-tap fixes.
README.md Explains background delivery timing, permissions, sessions, upgrades, and notification taps.
android/src/main/AndroidManifest.xml Registers the internal notification-opening activity.
android/src/main/java/io/appwrite/reactnative/AppwritePushModule.kt Exposes background helpers, notification taps, and connection events; hosting now returns connection state.
android/src/main/java/io/appwrite/services/PushBackground.kt Adds delivery safeguards, credential refresh, image limits, and live connection tracking with retirement events.
android/src/main/java/io/appwrite/services/PushBridge.kt Bridges background APIs and acknowledgements, exposes connection state, and reports release closures.
android/src/main/java/io/appwrite/services/PushCore.kt Adds background-status types and refreshable reconnect authentication.
android/src/main/java/io/appwrite/services/PushOpenActivity.kt Launches the app before recording notification taps and provides pending-tap storage and listeners.
android/src/main/java/io/appwrite/services/PushWakeups.kt Adds alternating job IDs, watchdog scheduling, expedited runs, and delivery drain windows.
package.json, package-lock.json Updates package metadata to version 1.2.0-rc.4.
src/client.ts Updates the SDK request header to version 1.2.0-rc.4.
src/index.ts Exports background-status and notification-opened types.
src/react-native-shim.d.ts Declares AppState and Expo notification-response APIs.
src/services/push.ts Adds background and tap APIs, foreground options, deduplication, and native callbacks driven by live connection state.

Reviewed the commits since 3e2682d · 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 · 2 blocking findings to address. Summary

Comment thread android/src/main/java/io/appwrite/services/PushBackground.kt
Comment thread android/src/main/java/io/appwrite/services/PushBackground.kt Outdated
@ArnabChatterjee20k ArnabChatterjee20k changed the title feat: React Native SDK update for version 1.2.0-rc.2 feat: React Native SDK update for version 1.2.0-rc.3 Oct 7, 2026

@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 A · Looks good to merge. Summary

Comment thread android/src/main/java/io/appwrite/services/PushBackground.kt
Comment thread android/src/main/java/io/appwrite/services/PushBridge.kt
@ArnabChatterjee20k ArnabChatterjee20k changed the title feat: React Native SDK update for version 1.2.0-rc.3 feat: React Native SDK update for version 1.2.0-rc.4 Oct 7, 2026
@ArnabChatterjee20k
ArnabChatterjee20k merged commit 13b96b5 into main Oct 7, 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.

1 participant