带有推送通知的iOS框架 [英] IOS Framework with push notifications

查看:67
本文介绍了带有推送通知的iOS框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发具有多种功能的IOS框架,我想添加推送通知服务.我使用 Easy APNS 创建了自己的推送通知服务.当他们集成我的SDK时,我不知道该如何与其他应用程序打交道.我的意思是,我不知道他们是否必须将其分发证书发送给我,是否可以将其添加到我的推送通知服务中,或者是否需要将某些内容集成到他们的推送通知服务中.

I am developing an IOS Framework with several functionalities, and I would like to add push notification services. I created my own push notification service using Easy APNS. I do not know how to deal with others apps when They integrated my SDK. I mean, I do not know, if they have to send me their distribution certificates, and I can add them in my push notifications service, or If I need to integrate something in their push notification servie.

我不知道如何处理可与其他应用程序和推送通知一起使用的框架.

I do not know how to deal with a Framework that will work with others app and push notifications.

推荐答案

假设您的服务器负责使用您的SDK向所有应用程序发送推送通知,则需要从这些应用程序的开发人员处获取其推送证书

Assuming that your server is responsible for sending push notifications to all the applications using your SDK, you'll need to get from the developers of those app their push certificates.

我假设您的SDK将处理从应用程序到服务器的设备令牌发送.您必须在服务器中知道哪个设备令牌属于哪个应用程序.

I'm assuming that your SDK will handle the sending of the device token from an application to your server. You'll have to know in your server which device token belongs to which application.

对于要为其发送推送通知的每个应用程序,必须使用该应用程序开发人员提供的证书维护与APNS的单独连接.

For each application for which you wish to send push notifications, you'll have to maintain a separate connection to APNS using the certificate supplied by the developer of that application.

这篇关于带有推送通知的iOS框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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