针对开发人员,产品和阶段环境的ios推送通知最佳实践 [英] ios push notifications best practices for dev, prod and stage environments

查看:63
本文介绍了针对开发人员,产品和阶段环境的ios推送通知最佳实践的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对为不同的环境+应用商店准备一个应用有点困惑.我有3个环境-dev,prod和stage,看起来对于给定的appId,我们得到dev和distribution(产品).

I'm a bit confused with prepping an app for different environments + app store. I have 3 environments- dev, prod and stage and it looks like for a given appId, we get dev and distribution (prod).

我应该将临时分发配置文件用于登台环境,还是将应用商店版本用于产品?我假设使用3个不同的配置文件,我可以在一部手机上运行3个不同版本的应用程序吗?

Should I use the ad-hoc distribution profile for the staging env, and the app store version for prod? I assume with 3 different profiles, I can run 3 different versions of the app on a single phone?

或者,我应该只使用3个不同的appIds,以便调试该应用程序的所有版本,并仅保留该应用程序的生产版本的分发配置文件吗?

Or, should I just use 3 different appIds so I can debug all versions of the app, and just keep a distribution profile for the prod version of the app?

重新推送通知-该应用程序的所有3个版本都可以在同一部手机上接收通知吗?

Re push notifications- would all 3 versions of the app be able to receive notifications while on the same phone?

推荐答案

我创建了三个不同版本的应用程序:dev.[App],qa.[App]和[App].每个人都需要自己的个人资料,但是他们都使用相同的App ID.我还需要三个SSL证书.

I created three different version of my app: dev.[App], qa.[App] and [App]. Each needs it's own profile, but they all used the same App ID. I also needed three SSL certs.

我的应用程序的每个版本的令牌都不同,因此APS会将其视为三个单独的实体.

The token is different for each version of my app, so APS sees them as three separate entities.

这篇关于针对开发人员,产品和阶段环境的ios推送通知最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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