这是indexloc提供的服务,不要输入任何密码
Skip to content

feat: use UnifiedPush connector 3 #585

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 29, 2025
Merged

feat: use UnifiedPush connector 3 #585

merged 4 commits into from
Mar 29, 2025

Conversation

poppingmoon
Copy link
Owner

@poppingmoon poppingmoon commented Mar 28, 2025

Changed to use a new version of UnifiedPush on Android.

#406 added UnifiedPush support, but users who chose the embedded distributor needed to use the proxy to receive messages.

With UnifiedPush connector 3.x and Embedded FCM Distributor 3.0.0, we don't have to convert WebPush messages into FCM even if the user does not have an external distributor because they decrypt messages on the library side. Though we still need the proxy for iOS, this change reduces its usage and enhances privacy for normal Android users.

This PR uses forked versions of android-connector and flutter-connector since there are some issues for the time being.

  • tink is used both with flutter_secure_storage and UnifiedPush, causing conflict
  • notifications not appearing when the app is on the background

Those who used the previous version of the embedded distributor must unsubscribe and subscribe again in order to receive notifications.

@poppingmoon poppingmoon merged commit d76c72d into main Mar 29, 2025
22 checks passed
@poppingmoon poppingmoon deleted the unifiedpush-3 branch March 29, 2025 02:58
This was referenced Mar 29, 2025
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