3

I'd like to be able to launch TestFlight from within an app (which in beta), to let people update to a newer version of my app when I detect that one exists.

It used to be that the URL scheme itms-beta:// could be invoked to launch TestFlight, so that the following Swift code could be used (see this post):

UIApplication.shared.open(URL(string: "itms-beta://")!)

(As of iOS 9.0 it was also a requirement to add a corresponding entry for the LSApplicationQueriesSchemes key in Info.plist.)

Unfortunately, this no longer appears to function in iOS 14. Any idea how to achieve it in iOS 14?

Anton
  • 2,512
  • 2
  • 20
  • 36
  • 1
    Did you solve this somehow? Could it be that the user doesn't have TestFlight installed? – Haroun Hajem Jan 12 '22 at 09:04
  • 1
    Unfortunately I didn't solve it, @HarounHajem - I eventually gave up. But I do know it was not a matter of having TestFlight installed. I would still love a solution. – Anton Jan 12 '22 at 19:49
  • Hmm.. We are currently looking into it. If we find something i will post it here. It's strange that Apple cant publicly announce any deeplinks for TestFlight. Couldn't we as the dev community open up a request to apple? – Haroun Hajem Jan 12 '22 at 23:11
  • 1
    Hmm, I just tried it out with iOS 15 and it didn't do anything in the simulator but did when I tested on a device, so I'll need to look into it more as soon as I have a sec, @HarounHajem! I would think that it would be something that Apple would appreciate and want to encourage - an app giving a nudge for users to update - or at least document how to do it. – Anton Jan 13 '22 at 03:16
  • Seems to be working in iOS 16, I am using `itms-beta://` to redirect user to TestFlight app – Mattia Righetti Oct 27 '22 at 09:39

0 Answers0