Skip to content

Feed pushManger with Uint8Array VapidKey #2809

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 2 commits into from
Mar 30, 2020
Merged

Feed pushManger with Uint8Array VapidKey #2809

merged 2 commits into from
Mar 30, 2020

Conversation

zwu52
Copy link
Member

@zwu52 zwu52 commented Mar 27, 2020

Current SDK broken for Chrome <= 75. Since Chrome <= 75 doesn't support base64-encoded VAPID key. For backward compatibility, VAPID key submitted to pushManager#subscribe must be of type Uint8Array.

Kai Wu added 2 commits March 27, 2020 11:01
Since Chrome <= 75 doesn't support base64-encoded VAPID key. For backward compatibility, VAPID key submitted to pushManager#subscribe must be of type Uint8Array.
@google-oss-bot
Copy link
Contributor

Binary Size Report

Affected SDKs

SDKTypeBase (e9fed6d)Head (e418645)Diff
firebasefirebase-messaging.js39431.0039611.00+180.00 (+0.46%)
firebase.js847126.00847306.00+180.00 (+0.02%)
@firebase/messagingmodule30549.0030886.00+337.00 (+1.10%)
esm201722806.0023151.00+345.00 (+1.51%)
main31006.0031343.00+337.00 (+1.09%)
Metric Unit: byte

Test Logs

Copy link
Member

@Feiyang1 Feiyang1 left a comment

Choose a reason for hiding this comment

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

Thanks!

@zwu52 zwu52 merged commit 735f7c7 into master Mar 30, 2020
@firebase firebase locked and limited conversation to collaborators Apr 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants