更新时间:2023-12-02 20:51:46
发现问题
firebase
.messaging()
.usePublicVapidKey(
"BDYE2EYHdIp8qHjTKcJYPvO4PgaAH2pSruP55FOtNs5jWsgdeg7YK6OgJ0daSu21kN7aSzU19NRXRqC4bfITZYQ "
);
在Firebase控制台中,密钥对旁边显示一个复制按钮.点击并粘贴...时,它将在密钥对的末尾添加一个随机空间.
In firebase console, theres a copy button that appears beside the key pair. When click on that and pasting....it adds a random space at the end of the key pair.