Skip to content

feat: Flutter SDK update for version 27.1.0-rc.3 - #335

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

ArnabChatterjee20k merged 2 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 27.1.0-rc.3 (release candidate).

What's Changed

  • Added: background push notifications render the server notification title, body, and image
  • Added: requestNotificationPermission() on the Push service
  • Added: the SDK requests Android 13+ POST_NOTIFICATIONS itself on first background subscribe
  • Fixed: a server-sent title dedupes to one notification per topic instead of one per subscription

@hansi-codes

hansi-codes Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

Updates the Flutter SDK to 27.1.0-rc.3 and adds parsing of server-provided notification content. Android gains automatic notification permission requests and image rendering, while web and foreground notifications use the server title and body.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 11
File Change
CHANGELOG.md Documents notification rendering, permission requests, and title deduplication.
README.md Updates the dependency version and describes automatic Android permission requests.
android/build.gradle Bumps the native package version.
android/src/main/kotlin/io/appwrite/flutter/AppwritePushPlugin.kt Tracks the attached Activity and handles notification permission requests.
android/src/main/kotlin/io/appwrite/services/PushBackground.kt Parses notification content, deduplicates server titles, and downloads notification images.
lib/src/client_browser.dart, lib/src/client_io.dart Updates the SDK version sent in request headers.
lib/src/mqtt_browser.dart Uses server notification content and deduplicates notification titles.
lib/src/mqtt_foreground.dart Uses server-provided notification titles and bodies.
lib/src/mqtt_io.dart, lib/src/mqtt_native.dart Requests Android notification permission when hosting background subscriptions.
lib/src/mqtt_notification.dart Adds shared Dart parsing and fallback rules for notification content.
pubspec.yaml Bumps the package version to 27.1.0-rc.3.

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

Comment thread lib/src/mqtt_browser.dart
Comment thread android/src/main/kotlin/io/appwrite/services/PushBackground.kt
Comment thread CHANGELOG.md
@ArnabChatterjee20k
ArnabChatterjee20k merged commit fd77186 into main Oct 6, 2026
3 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