feat: use UnifiedPush connector 3 #585
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Those who used the previous version of the embedded distributor must unsubscribe and subscribe again in order to receive notifications.