-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
When I call the method buyNonConsumable the app crashes. The credentials dialog is shown on my system home screen.
The error which I get is:
Unsupported value: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory" of type NSError
*** Assertion failure in -[FlutterStandardWriter writeValue:], FlutterStandardCodec.mm:330
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unsupported value for standard codec'
*** First throw call stack:
(0x186a6d9d8 0x19adf3b54 0x18697c50c 0x187c76878 0x105b3f148 0x105b3f790 0x105b3c72c 0x105066eb4 0x105064f7c 0x105b3c694 0x1052dc038 0x1055db41c 0x10557a81c 0x10557ced4 0x1869ee3e0 0x1869edfe4 0x1869ed4c4 0x1869e7850 0x1869e6ba0 0x19d74f598 0x1892d82f4 0x1892dd874 0x104a6d564 0x1866c5568)
libc++abi.dylib: terminating with uncaught exception of type NSException
- thread 1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x00000001b29ac84c libsystem_kernel.dylib__pthread_kill + 8 libsystem_kernel.dylib__pthread_kill:
-> 0x1b29ac84c <+8>: b.lo 0x1b29ac868 ; <+36>
0x1b29ac850 <+12>: stp x29, x30, [sp, #-0x10]!
0x1b29ac854 <+16>: mov x29, sp
0x1b29ac858 <+20>: bl 0x1b2989f5c ; cerror_nocancel
Target 0: (Runner) stopped.
I don't understand what caused this to happen, it used to work before.
There was a similar issue two years ago, but this PR seemed to have fixed it.
Am I the only one having this problem right now?
UPDATE
After more investigating it seems that everything works fine up to version 0.1.1 of in_app_purchase_ios.
0.1.1+1 seems to have introduced this bug, which is this PR