Skip to content

feat(android): UnifiedPush backend alongside FCM#4

Merged
hazre merged 1 commit into
SableClient:mainfrom
eleboucher:feat/android-unifiedpush
Jul 19, 2026
Merged

feat(android): UnifiedPush backend alongside FCM#4
hazre merged 1 commit into
SableClient:mainfrom
eleboucher:feat/android-unifiedpush

Conversation

@eleboucher

@eleboucher eleboucher commented Jul 18, 2026

Copy link
Copy Markdown

Adds an Android UnifiedPush backend that coexists with FCM.

  • list_distributors / set_distributor / set_token are available on Android (previously Linux-desktop only), via org.unifiedpush.android:connector:3.3.3.
  • register_for_push_notifications uses UnifiedPush when a distributor is saved, otherwise FCM. unregister_for_push_notifications branches the same way.
  • UnifiedPushReceiver forwards messages to the WebView when the app is alive; UnifiedPushNotifier renders a native notification when the process is dead.

iOS (APNs) and Linux-desktop (D-Bus UnifiedPush) paths are unchanged. Distributor commands are cfg-excluded from iOS.

Based on current upstream Choochmeque/main. cargo check --features push-notifications passes.

@hazre hazre left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@hazre
hazre merged commit 95c1574 into SableClient:main Jul 19, 2026
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