加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ios – 使用推送通知服务扩展上传应用程序

发布时间:2020-12-14 17:19:50 所属栏目:百科 来源:网络整理
导读:I just created an application with bundle identifier com.example.xyz 并且还为其生成了配置和证书.现在,我需要使用推送通知服务扩展来使用Rich通知所以我创建了名为AppNameNotificationService的新目标,并尝试在设备上运行应用程序,但它不起作用bcoz我创

I just created an application with bundle identifier com.example.xyz

并且还为其生成了配置和证书.现在,我需要使用推送通知服务扩展来使用Rich通知所以我创建了名为AppNameNotificationService的新目标,并尝试在设备上运行应用程序,但它不起作用bcoz我创建的扩展目标有bundle ID com.example. xyzNotificationServie与我为我的应用程序创建的配置不匹配.

So,what I did is I created new APP ID on developer account with the
bundle ID com.example.xyzNotificationServie and generated provisioning
for the same.

现在一切正常.我使用扩展,一切都很好.但Rich push通知仅在我使用实际App目标运行扩展目标时才有效.没关系,因为我知道每个扩展都是这样的.

But now,I am confused that If I will upload my app on iTC then what
should be my app bundle identifier?

What should I archieve from Xcode,either App target or extension
target?

谁能帮忙?

解决方法

应用扩展程序随设备上的主应用程序一起安装.应用扩展程序是我们在主项目中添加的目标.扩展与主项目捆绑在一起. 因此,您的主应用ID将用于将应用扩展到应用商店.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读