chirag04 / react-native-in-app-utils

A react-native wrapper for handling in-app payments
MIT License
890 stars 185 forks source link

Delay in iOS confirm subscription pop-up screen #160

Open hariskh80 opened 6 years ago

hariskh80 commented 6 years ago

We are facing a strange issue.

When InAppUtils.purchaseProduct is called, apple confirmation pop-up screen appears after 5-10 mins even if we leave the app. There is this long long delay in pop-up. We face this issue when we install our app via testflight to test it.

When we install the app from Xcode or run on simulator then there is no delay.

chirag04 commented 6 years ago

interesting. I haven't seen anything like this before. All i can think of to debug is:

1) were you using the same itunes account when purchasing via testflight and on simulator? 2) Could it be app store issues? Can you test purchasing via simulator and testflight about the same time to make sure it's not app store.

hariskh80 commented 6 years ago

Yes we have used similar and different itunes acocunt. Tried with accounts from different countries.

We have been facing this issues for days now so I doubt its to do with app store.

We are baffled too :-)

chirag04 commented 6 years ago

I don't have much to add here. I'm as surprised as you are. Try creating a new sandbox account maybe.

Unrelated but still: https://stackoverflow.com/questions/46257633/ios-11-is-in-app-purchase-testing-using-a-sandbox-user-keeps-asking-to-sign-in

hugoh59 commented 6 years ago

I have the same issue. I also starting to get this error message recently after 20 to 30 secondes passed after the buyProduct method is sent:

code: "ENSURLERRORDOMAIN-1001"
domain: "NSURLErrorDomain"
message: "Connexion à l’iTunes Store impossible"

any idea ?

chirag04 commented 6 years ago

refer this: https://stackoverflow.com/questions/6778167/undocumented-nsurlerrordomain-error-codes-1001-1003-and-1004-using-storeki

1001 means request timedout. Possibly because the device was not connected to the internet or app store/sandbox was down.

hariskh80 commented 6 years ago

To us it’s constantly happening and we did submit the app to test maybe it will be fixed on live app but still same issue

Sent from my iPhone

On Mar 7, 2018, at 7:09 AM, Chirag notifications@github.com wrote:

refer this: https://stackoverflow.com/questions/6778167/undocumented-nsurlerrordomain-error-codes-1001-1003-and-1004-using-storeki

1001 means request timedout. Possibly because the device was not connected to the internet or app store/sandbox was down.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Vilitsa commented 6 years ago

Did you solve problem?

hariskh80 commented 6 years ago

Nops but we submitted it anyway and on live app it was working fine.. strange

Regards,

Haris

On Mon, Mar 12, 2018 at 2:26 AM Elvera < Elvera ( Elvera notifications@github.com ) > wrote:

Did you solve problem?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub ( https://github.com/chirag04/react-native-in-app-utils/issues/160#issuecomment-372243471 ) , or mute the thread ( https://github.com/notifications/unsubscribe-auth/AVmMy3FZkirQo-GgIvTvC7W-6VC0yXNCks5tdj9FgaJpZM4SZdQJ ).

Vilitsa commented 6 years ago

Thks

superandrew213 commented 6 years ago

@hariskh80 try creating a new sandbox user and test how long it takes.

I have a feeling that the issue is linked to the number of transactions your testing account has made. The more transactions you have made the longer it takes.

hariskh80 commented 6 years ago

Hmm ok thanks

Regards,

Haris

On Tue, Mar 13, 2018 at 9:14 PM Andrew Shini < Andrew Shini ( Andrew Shini notifications@github.com ) > wrote:

@hariskh80 ( https://github.com/hariskh80 ) try creating a new sandbox user and test how long it takes.

I have a feeling that the issue is linked to the number of transactions your testing account has made. The more transactions you have made the longer it will take to load them.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub ( https://github.com/chirag04/react-native-in-app-utils/issues/160#issuecomment-372899219 ) , or mute the thread ( https://github.com/notifications/unsubscribe-auth/AVmMy0_rrN7zFQmHTQYXoQ_P9TI-mIK0ks5teJkUgaJpZM4SZdQJ ).