简体   繁体   English

在iOS上使用TestFlight进行应用内更新

[英]In-app update with TestFlight on iOS

My iPhone app has now entered into a beta phase. 我的iPhone应用程序现已进入测试阶段。 I am using TestFlight to send the app to the testers. 我正在使用TestFlight将应用程序发送给测试人员。 Everything works great, I publish the link, they download the app, no problem with any certificate or anything (true story, lol). 一切都很好,我发布链接,他们下载应用程序,没有任何证书或任何问题(真实的故事,哈哈)。

My only problem is I have absolutely no idea on how to send in-app updates. 我唯一的问题是我完全不知道如何发送应用程序内更新。 I saw on the latest SDK version that it's available, but I can't figure out how to do it ! 我在最新的SDK版本上看到它可用,但我无法弄清楚如何做到这一点! Right now, if I upload a new build, and select "update & notify", an email is sent. 现在,如果我上传新版本,并选择“更新并通知”,则会发送一封电子邮件。 How can I send a notification to the users, directly through my app, that a new version is available ? 如何直接通过我的应用向用户发送新版本可用的通知? Right now I'm starting to think that this is not possible (if so, my bad). 现在我开始认为这是不可能的(如果是这样,我的坏)。 But I really thought I could do it ! 但我真的以为我能做到!

As always, any help/link/doc is always appreciated ! 一如既往,任何帮助/链接/文档总是受到赞赏! :) :)

You can force an upgrade. 您可以强制升级。

Go into settings in the upper right corner and select the "gear" then choose "Area 51" (this is the new features area, still beta). 进入右上角的设置并选择“齿轮”,然后选择“区域51”(这是新功能区域,仍为测试版)。 From there you can select to turn on "Forced Upgrades": 从那里你可以选择打开“强制升级”:

If you enable force upgrades on a build. 如果在构建上启用强制升级。 The next time users open your build and there is an update available they will be forced to install the build before continuing. 下次用户打开您的构建并且有可用的更新时,他们将被迫在继续之前安装构建。

You need to have different Bundle versions when uploading your app. 上传应用时,您需要拥有不同的Bundle版本。 You can set your bundle version in your apps info.plist under Bundle version. 您可以在Bundle版本下的应用程序info.plist中设置捆绑软件版本。 change that value to something else and you will be prompted now you open the app to upgrade or skip. 将该值更改为其他内容,现在您将打开应用程序以升级或跳过该提示。

So far, my users where notified in the app without me having to do anything but call takeOff and (well here i'm not sure if this was necessary) use a few arbitrary checkpoints. 到目前为止,我的用户在应用程序中通知我,除了调用takeOff并且(在这里我不确定这是否必要)之外我不必做任何事情使用一些任意检查点。 They could choose wether or not they want to update their app now, later or never. 他们可以选择是否想要现在更新他们的应用程序,以后或从不。

BUT apparently this has stopped working over the past few weeks, I'm receiving more and more feedback that the only way they got to know that there is an update available was through the email that is sent to them by testflight. 但显然这已经停止了过去几周的工作,我收到越来越多的反馈,他们知道有更新可用的唯一方法是通过testflight发送给他们的电子邮件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM