react-native-in-app-utils
react-native-in-app-utils copied to clipboard
After trying to upgrade a plan this module always fails.
i make a purchase without problems and all works fine, but when in my ui i try to upgrade my plan...
example: (from month to year).
The next error appears and for the next purchases still appearing.
Related problem: https://stackoverflow.com/questions/50213304/ios-auto-renewable-subscriptions-testing-upgrades-on-sandbox-not-working
Error message:
{ code: 'ESKERRORDOMAIN2',
nativeStackIOS:
[ '0 Finery Staging 0x000000010267f7ec RCTJSErrorFromCodeMessageAndNSError + 152',
'1 Finery Staging 0x000000010267f714 RCTJSErrorFromNSError + 264',
'2 Finery Staging 0x0000000102331840 -[InAppUtils paymentQueue:updatedTransactions:] + 604',
'3 libdispatch.dylib 0x00000001035d7824 _dispatch_call_block_and_release + 24',
'4 libdispatch.dylib 0x00000001035d8dc8 _dispatch_client_callout + 16',
'5 libdispatch.dylib 0x00000001035e6a78 _dispatch_main_queue_callback_4CF + 1360',
'6 CoreFoundation 0x0000000194984df4 <redacted> + 12',
'7 CoreFoundation 0x000000019497fcbc <redacted> + 1964',
'8 CoreFoundation 0x000000019497f1f0 CFRunLoopRunSpecific + 436',
'9 GraphicsServices 0x0000000196bf8584 GSEventRunModal + 100',
'10 UIKitCore 0x00000001c1ce0c00 UIApplicationMain + 212',
'11 Finery Staging 0x00000001021163ac main + 124',
'12 libdyld.dylib 0x000000019443ebb4 <redacted> + 4' ],
userInfo: { NSLocalizedDescription: 'Cannot connect to iTunes Store' },
message: 'Cannot connect to iTunes Store',
domain: 'SKErrorDomain' }
From what i know, that error occurs when you are using a simulator.