Skip to content

feat: Flutter SDK update for version 27.1.0-rc.7 - #336

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 Flutter SDK for version 27.1.0-rc.7.

What's Changed

  • Fixed: host() reports the live connection state instead of always resolving open
  • Fixed: a disconnect event now fires when a retired or dropped background connection closes
  • Fixed: notification taps are recorded after launching the app, so tap-opened screens land on top
  • Fixed: subscribing on a Push closed mid-connect now throws instead of silently proceeding

Regenerated with sdk-generator 5.5.2.

…otification images

Drop the changelog entry for requestNotificationPermission(), which Push does not expose: the SDK asks for the permission itself.
@hansi-codes

hansi-codes Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

No new actionable defects were found in the incremental changes, and the previously flagged analytics helpers are absent from the current repository.

Updates the Flutter SDK to 27.1.0-rc.7 with expanded Android background push scheduling, credential refresh, notification controls, and delivery-status APIs. Adds cross-platform notification-tap APIs, signed-in session fallback, and Android connection-lifecycle forwarding. The latest fixes report live native connection state, emit disconnect events during retirement, reorder notification-tap recording, and cancel in-flight connections when Push closes.

Latest changes: The newest commit bumps the SDK to rc.7 and fixes native connection-state reporting, retirement disconnect events, notification-tap ordering, and subscription cancellation during connection setup.

Verdict New comments Fixed Still open
✅ Approved 0 4 0
📂 Walkthrough · 17
File Change
CHANGELOG.md Documents release additions and rc.7 connection, tap-ordering, and cancellation fixes.
README.md Updates the dependency version and documents notification controls, permissions, and taps.
android/build.gradle Updates the native version to rc.7 and raises compileSdk to 36.
android/src/main/AndroidManifest.xml Registers background push components and the notification-opening activity.
android/src/main/kotlin/io/appwrite/flutter/AppwritePushPlugin.kt Exposes background controls, connection events, and tap APIs; returns live host connection state.
android/src/main/kotlin/io/appwrite/services/PushBackground.kt Expands background delivery and credential handling, tracks connection state, and reports retirement disconnects.
android/src/main/kotlin/io/appwrite/services/PushBridge.kt Bridges background settings and deduplicated connection events, including release disconnects.
android/src/main/kotlin/io/appwrite/services/PushCore.kt Adds background-status support, credential-aware authentication, reconnect handling, and client retirement.
android/src/main/kotlin/io/appwrite/services/PushOpenActivity.kt Launches the app before recording notification taps.
android/src/main/kotlin/io/appwrite/services/PushWakeups.kt Adds chained job identities, drain windows, and expedited alarm handoff.
lib/src/client_browser.dart, lib/src/client_io.dart Updates SDK version headers to rc.7.
lib/src/mqtt.dart Extends public push controls and adds notification-opening types and APIs.
lib/src/mqtt_browser.dart Adds foreground notification preferences, click events, and session fallback.
lib/src/mqtt_foreground.dart Stores iOS notification payloads and exposes initial and live tap handlers.
lib/src/mqtt_io.dart Integrates native controls, session fallback, connection and tap callbacks, and mid-connect close cancellation.
lib/src/mqtt_native.dart Adds native background and notification APIs and returns a Boolean connection state from host.
pubspec.yaml Updates the package version to 27.1.0-rc.7.
✅ Fixed since the last review · 4
  • Preserve engagement across inactive-to-resumed transitions · lib/src/analytics_tracking.dart:179
  • Handle asynchronous analytics emitter failures · lib/src/analytics_observer.dart:30
  • Do not report a screen view when removing a buried route · lib/src/analytics_observer.dart:119
  • Use an analytics example supported by this SDK · lib/src/analytics_tracking.dart:36

Reviewed the commits since 82af1b9 · 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 lib/src/analytics_tracking.dart Outdated
Comment thread lib/src/analytics_observer.dart Outdated
Comment thread lib/src/analytics_observer.dart Outdated
Comment thread lib/src/analytics_tracking.dart Outdated
Comment thread lib/src/mqtt_browser.dart Outdated
@ArnabChatterjee20k ArnabChatterjee20k changed the title feat: Flutter SDK update for version 27.1.0-rc.5 feat: Flutter SDK update for version 27.1.0-rc.6 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 B · 2 blocking findings to address. Summary

Comment thread lib/src/mqtt_io.dart
Comment thread android/src/main/kotlin/io/appwrite/services/PushBackground.kt
@ArnabChatterjee20k ArnabChatterjee20k changed the title feat: Flutter SDK update for version 27.1.0-rc.6 feat: Flutter SDK update for version 27.1.0-rc.7 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 S · Looks good to merge. Summary

@ArnabChatterjee20k
ArnabChatterjee20k merged commit a945170 into main Oct 7, 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