将新的APNS证书更新为GCM [英] Update new APNS certificate to GCM

查看:104
本文介绍了将新的APNS证书更新为GCM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Apple Developer Center中生成了新证书. 我无法将证书上传到GCM,也看不到UPDATE按钮开发者网站,这很奇怪.

Generated new certificates in Apple Developer Centre. It's weird i couldn't upload that certificates to GCM and also i couldn't see UPDATE button developer website.

它显示错误{{controller.errorMessage}}

It shows error {{ controller.errorMessage }}

我该怎么做?这是Google Developer的屏幕截图

How do I do that? Here's a screenshot of the Google Developer

推荐答案

我面临并能够解决的相同问题!

Same issue I was facing and able to solve !

背景:在我的情况下,我们商店中有一个iOS应用,并且所有推送通知都是通过Google GCM配置的(我们未使用FCM ).但是我们遇到这样的情况,我们的APNS证书即将过期,并且我们不想发布任何iOS版本(我们在当前版本上的DAU约为4k )

Background : In my scenario we have an iOS App in the store and all our push notification configured through Google GCM (We were not using FCM). But we had situation where our APNS certificate is just about to get expired and we don't want to make any iOS Release(We had around 4k DAU on the current version)

一旦证书过期,我们发送的所有通知都会从GCM抛出InvalidApnsCredential.

Once certificate was expired any Notification we sent was throwing InvalidApnsCredentialfrom GCM.

这是摆脱困境的方法.

  1. 配置您的Firebase项目. (确保您已登录正确的Google帐户-您配置用于设置GCM的帐户)
    转到: https://firebase.google.com >开始使用

  2. 选择导入Google Project

  1. Configure you Firebase project. (Make sure you're logged into right Google account - the one you configured for setting up your GCM)
    Goto : https://firebase.google.com > GET STARTED

  2. Choose Import Google Project

您现在必须看到以下所有GCM项目-如果您使用正确的帐户登录. 选择项目.

You must see now all the GCM Project as below - If your logged in with correct account. Choose the project.

现在,您的Firebase项目已准备就绪.它应如下所示.

Now your Firebase project is ready. It should look like below.

要更新新证书.

  • 在概述"中选择调速器.
  • 选择项目设置

  • Choose Setting gear at Overview.
  • Choose Project Settings

现在选择 Cloud Messaging 标签&现在您可以看到 APNs证书部分.

Now choose Cloud Messaging Tab & now you APNs Certificate section is visible.

  • 如果证书已过期-您必须看到带有 UPLOAD &的红色标记单元删除选项.使用*上载*上传新的APNs证书.
  • If Certificate already expired - you must see RED flagged cell with UPLOAD & DELETE options. Upload new APNs certificate using * UPLOAD*.

您有更好的方法,请分享您的想法!干杯!

You got better way to do it, please share your thoughts ! Cheers !

这篇关于将新的APNS证书更新为GCM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆