Skip to content

feat: FCM message parity with official firebase-admin-python SDK#115

Merged
akalex merged 3 commits intomasterfrom
feature/FCM-message-parity-with-official-firebase-admin-python-SDK
Mar 27, 2026
Merged

feat: FCM message parity with official firebase-admin-python SDK#115
akalex merged 3 commits intomasterfrom
feature/FCM-message-parity-with-official-firebase-admin-python-SDK

Conversation

@akalex
Copy link
Copy Markdown
Member

@akalex akalex commented Mar 27, 2026

Add missing fields and types to match the official SDK: LightSettings, CriticalSound, AndroidFCMOptions, APNSFCMOptions, AndroidNotificationPriority, and 15+ new fields across AndroidNotification, AndroidConfig, APNSConfig, and ApsAlert. Add dedicated serialization encoders for wire-format transforms.

BREAKING CHANGE: Visibility changed from IntEnum to string Enum, WebpushNotification.vibrate changed from str to List[int], NotificationProxy now serializes as uppercase in wire format.

Add missing fields and types to match the official SDK: LightSettings,
CriticalSound, AndroidFCMOptions, APNSFCMOptions, AndroidNotificationPriority,
and 15+ new fields across AndroidNotification, AndroidConfig, APNSConfig,
and ApsAlert. Add dedicated serialization encoders for wire-format transforms.

BREAKING CHANGE: Visibility changed from IntEnum to string Enum,
WebpushNotification.vibrate changed from str to List[int],
NotificationProxy now serializes as uppercase in wire format.
@akalex akalex self-assigned this Mar 27, 2026
akalex added 2 commits March 27, 2026 10:10
Add missing fields and types to match the official SDK: LightSettings,
CriticalSound, AndroidFCMOptions, APNSFCMOptions, AndroidNotificationPriority,
and 15+ new fields across AndroidNotification, AndroidConfig, APNSConfig,
and ApsAlert. Add dedicated serialization encoders for wire-format transforms.

BREAKING CHANGE: Visibility changed from IntEnum to string Enum,
WebpushNotification.vibrate changed from str to List[int],
NotificationProxy now serializes as uppercase in wire format.
Visibility, NotificationProxy, and AndroidNotificationPriority now
inherit from (str, Enum), allowing direct .upper() calls without
isinstance guards in encode_android_notification.
@akalex akalex changed the title feat!: FCM message parity with official firebase-admin-python SDK feat: FCM message parity with official firebase-admin-python SDK Mar 27, 2026
@akalex akalex merged commit 8f59da7 into master Mar 27, 2026
15 of 16 checks passed
@akalex akalex deleted the feature/FCM-message-parity-with-official-firebase-admin-python-SDK branch March 27, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant