Open kawashimaken opened 6 years ago
@kawashimaken Were you able to solve this by any chance? @philwilks
Have the same issue, did anyone manage to resolve it?
Same issue here.
Is sporadic and the error is:
{ code: 'ESKERRORDOMAIN2',
nativeStackIOS:
[ '0 Finery Staging 0x00000001052037ec RCTJSErrorFromCodeMessageAndNSError + 152',
'1 Finery Staging 0x0000000105203714 RCTJSErrorFromNSError + 264',
'2 Finery Staging 0x0000000104eb5840 -[InAppUtils paymentQueue:updatedTransactions:] + 604',
'3 libdispatch.dylib 0x0000000105f3f824 _dispatch_call_block_and_release + 24',
'4 libdispatch.dylib 0x0000000105f40dc8 _dispatch_client_callout + 16',
'5 libdispatch.dylib 0x0000000105f4ea78 _dispatch_main_queue_callback_4CF + 1360',
'6 CoreFoundation 0x00000001c7e0fdd0 <redacted> + 12',
'7 CoreFoundation 0x00000001c7e0ac98 <redacted> + 1964',
'8 CoreFoundation 0x00000001c7e0a1cc CFRunLoopRunSpecific + 436',
'9 GraphicsServices 0x00000001ca081584 GSEventRunModal + 100',
'10 UIKitCore 0x00000001f4f3d054 UIApplicationMain + 212',
'11 Finery Staging 0x0000000104c9a3ac main + 124',
'12 libdyld.dylib 0x00000001c78cabb4 <redacted> + 4' ],
userInfo: { NSLocalizedDescription: 'Cannot connect to iTunes Store' },
message: 'Cannot connect to iTunes Store',
domain: 'SKErrorDomain' }
And the success native alert appear too.
Suddenly I get the "SKErrorDomain0 Can not connect to iTunes Store" error both in sandbox and TestFlight. I did not change any code around buy function in my app. I am sure the following is working by log info purchase processing was fired my password is correct and confirmed by iTunes I also have the confirmation dialog only at the end, the error message is show, and purchase failed.
My guess is that the Native code side is missing to placed the correct "Product Identifier" as given by the following post in stackoverflow
https://stackoverflow.com/questions/18891548/skerrordomain-code-0-cannot-connect-to-itunes-store
Any ideas?