3

I have an app in Testflight Beta currently which implements a recurring in-app-purchase.

I use react-native-inapp-utils to implement it. The app calls the InAppUtils.loadProducts() function, then in the success callback of that InAppUtils.purchaseProduct().

All of this seems to be working, but the dialogs that iOS presents during the purchase flow is strange.

First of all, the iTunes login prompt is shown TWICE. This is apparently "normal" in Sandbox accounts.

But the thing that I don't understand is the Touch ID prompt that shows up after a successful transaction. I do have Touch ID enabled, but why am I asked to "enable" this after the purchase?

enter image description here

pojo
  • 5,892
  • 9
  • 35
  • 47
  • did you call the finishTransaction:transaction directive at the end of your flow? – zoubida13 Apr 12 '17 at 09:07
  • @zoubida13 Yes, the library does that when the transaction is complete: https://github.com/chirag04/react-native-in-app-utils/blob/master/InAppUtils/InAppUtils.m#L61 – pojo Apr 12 '17 at 09:57
  • 1
    im experimenting same behavior but using xamarin. Wasn't happening before. – Bart Calixto Apr 21 '17 at 18:31
  • 1
    does anyone have a solution to this problem? – coolcool1994 May 03 '17 at 20:20
  • Probably a dupe of https://stackoverflow.com/questions/4988663/skpaymentqueue-addtransactionobserver-asking-for-app-store-password-on-startup-a – pojo May 23 '17 at 07:58
  • I am having this exact same issue, and I have made sure to call finishTransaction for all 3 states as mentioned in other posts/answers. This only is occurring on devices with Touch ID. We have a test device without Touch and it only ever prompts a single time. edit: I have a discussion started with Apple's dev support team to see what is up. – calebisstupid Dec 05 '17 at 20:23

0 Answers0