Skip to main content
Inspiring
February 22, 2019
Question

TestFlight Catastrophe

  • February 22, 2019
  • 1 reply
  • 1429 views

I have a real mystery on my hands, and need any thoughts you can muster to help me solve it.

I have written an AIR app for iOS, and when I debug it, everything runs perfectly.  It traces out all of my values and I feel confident that I am doing things right.  No errors are thrown at all.  Then I export a final build, upload it to Apple and run it in TestFlight on my iPad, and bam!!! It doesn't work.

Specifically, it is an ANE for in-app purchases that is not working correctly.  Everything else it my app runs like a charm, but when I click a button to make a purchase for my subscription, the app becomes unresponsive.  How does an app work when installed directly on a device for testing or with an ad hoc distribution without throwing any errors, but when you run it in TestFlight, it does not behave properly?? How is this even possible?

So, if you have any suggestions on how to debug an app that runs in one environment but not in another on the same exact device, I would love to hear your suggestions!

Thanks!!

This topic has been closed for replies.

1 reply

Douglas McCarroll
Inspiring
February 22, 2019

I'm not sure how helpful this will be, but I experienced a similar problem with distriqt's MediaPlayer ANE. This issue hasn't been resolved - it wasn't clear whether it was my code that was causing the problem, or whether the problem is in the ANE - and I ended up suggesting that we switch our focus to another issue, resolve that one first, then return to the first issue...

But perhaps it would be helpful to you and Michael to compare notes ...  ?

Inspiring
February 23, 2019

HaHa!! Your issue looks to have been removed from github. Michael and I have been comparing notes all week and I have been unable to find traction. I thought I would try another forum to look for some suggestions. It is really hard to make money with an app if you can’t make a purchase.

Any other thoughts how I could debug this? I have attached my tablet to a Mac and ran it with Console to collect some logs. But the information is cryptic to me.

I just don’t understand why an app can work when placed directly on a tablet, but not when loaded through TestFligh?? Is it the difference between a sandbox vs productionsandbox vs production environment??

marchbold
Inspiring
February 24, 2019

Hi, The Media Player issue hasn't been removed you just probably don't have access to the Media Player extension repository. This issue is a hard one to isolate as we haven't been able to replicate and seems to only happen in this app.

@William I think you have isolated your issue to conditional compilation? There really shouldn't be much difference between a test flight release and a local development build apart from the normal production / development profile and info addition changes.

If there are issues with TestFlight in-app purchases then the most common cause is related to the user logged in on the device. We suggest signing out of the AppStore on the device and making sure you are using a valid test user, installing it through test flight.

air native extensions // https://airnativeextensions.com