adaptyteam / AdaptySDK-React-Native

React Native SDK for growing in-app subscriptions
https://docs.adapty.io/docs/quickstart
MIT License
122 stars 12 forks source link

#undefined (3006): The user profile was replaced #66

Closed HaseebArshad1 closed 1 year ago

HaseebArshad1 commented 1 year ago

Description

A bug happened! Hi @divanc, This error started to happen recently for alot of users. do you know what could be the reason for this? I'm not able to reproduce it but I'm having verbose logs for a 3k+ users who faced this issue!

[Adapty JS vUNKNOWN] — verbose: BridgeError: Raised new BridgeError     adapty_code=3006    message="The user profile was replaced"     detail="AdaptyError.profileWasChanged([2.3.1]: Adapty/Adapty+ChangeState.swift#141)" | [Adapty JS vUNKNOWN] — verbose: BridgeError: Raised new BridgeError  adapty_code=3006    message="The user profile was replaced"     detail="AdaptyError.profileWasChanged([2.3.1]: Adapty/Adapty+ChangeState.swift#141)"
-- | --
[Adapty JS vUNKNOWN] — verbose: BridgeError: Raised new BridgeError     adapty_code=3006    message="The user profile was replaced"     detail="AdaptyError.profileWasChanged([2.3.1]: Adapty/Adapty+ChangeState.swift#141)"

followed by this log i.e

[Adapty JS vUNKNOWN] — verbose: BridgeError.nativeErr: Creating new BridgeError from native error...    args="{\n  \"code\": \"adapty_native_error\",\n  \"message\": \"{\\\"adapty_code\\\":3006,\\\"message\\\":\\\"The user profile was replaced\\\",\\\"detail\\\":\\\"AdaptyError.profileWasChanged([2.3.1]: Adapty\\\\/Adapty+ChangeState.swift#141)\\\"}\",\n  \"domain\": \"RCTErrorDomain\",\n  \"userInfo\": null,\n  \"nativeStackIOS\": [\n    \"0   Ling                                0x0000000104f37108 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 356644\",\n    \"1   Ling                                0x0000000104f0d76c _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 186248\",\n    \"2   Ling                                0x0000000104e1e854 _ZN5folly6detail15str_to_integralIxEENS_8ExpectedIT_NS_14ConversionCodeEEEPNS_5RangeIPKcEE + 67792\",\n    \"3   Ling                                0x000000010513c1b0 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 2474444\",\n    \"4   Ling                                0x000000010513afa4 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 2469824\",\n    \"5   Ling                                0x0000000104b57b4c Ling + 80716\",\n    \"6   Ling                                0x0000000104b596e4 Ling + 87780\",\n    \"7   Ling                                0x0000000104b55ed0 Ling + 73424\",\n    \"8   libdispatch.dylib                   0x0000000181829914 A5CBAAB3-E389-3548-BAAC-FAB18411B94A + 10516\",\n    \"9   libdispatch.dylib                   0x000000018182b660 A5CBAAB3-E389-3548-BAAC-FAB18411B94A + 18016\",\n    \"10  libdispatch.dylib                   0x0000000181839b60 _dispatch_main_queue_callback_4CF + 944\",\n    \"11  CoreFoundation                      0x0000000181b71cd4 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 335060\",\n    \"12  CoreFoundation                      0x0000000181b2beac B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 48812\",\n    \"13  CoreFoundation                      0x0000000181b3f3b8 CFRunLoopRunSpecific + 600\",\n    \"14  Foundation                          0x000000018335a354 D59C6975-5AF2-37BC-93BE-43B80B4293A5 + 99156\",\n    \"15  Foundation                          0x000000018339bc28 D59C6975-5AF2-37BC-93BE-43B80B4293A5 + 367656\",\n    \"16  Ling                                0x000000010516a048 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 2662500\",\n    \"17  Ling                                0x0000000104b49768 Ling + 22376\",\n    \"18  Ling                                0x00000001051676ec _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 2651912\",\n    \"19  UIKitCore                           0x00000001842ef044 8388EB03-002B-3B35-A78A-6A022894292E + 3313732\",\n    \"20  UIKitCore                           0x00000001844d6b38 8388EB03-002B-3B35-A78A-6A022894292E + 5311288\",\n    \"21  UIKitCore                           0x00000001844bf4a4 8388EB03-002B-3B35-A78A-6A022894292E + 5215396\",\n    \"22  UIKitCore                           0x000000018431ce44 8388EB03-002B-3B35-A78A-6A022894292E + 3501636\",\n    \"23  UIKitCore                           0x000000018417562c _UIScenePerformActionsWithLifecycleActionMask + 104\",\n    \"24  UIKitCore                           0x00000001842a0b7c 8388EB03-002B-3B35-A78A-6A022894292E + 2993020\",\n    \"25  UIKitCore                           0x00000001843c1380 8388EB03-002B-3B35-A78A-6A022894292E + 4174720\",\n    \"26  UIKitCore                           0x0000000184601f8c 8388EB03-002B-3B35-A78A-6A022894292E + 6537100\",\n    \"27  UIKitCore                           0x000000018458d710 8388EB03-002B-3B35-A78A-6A022894292E + 6059792\",\n    \"28  UIKitCore                           0x0000000184176430 8388EB03-002B-3B35-A78A-6A022894292E + 1770544\",\n    \"29  UIKitCore                           0x0000000184236350 8388EB03-002B-3B35-A78A-6A022894292E + 2556752\",\n    \"30  UIKitCore                           0x0000000184178340 _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 276\",\n    \"31  UIKitCore                           0x0000000184262df4 8388EB03-002B-3B35-A78A-6A022894292E + 2739700\",\n    \"32  UIKitCore                           0x00000001846ea260 8388EB03-002B-3B35-A78A-6A022894292E + 7488096\",\n    \"33  UIKitCore                           0x00000001841a6c60 8388EB03-002B-3B35-A78A-6A022894292E + 1969248\",\n    \"34  UIKitCore                           0x00000001841ea524 8388EB03-002B-3B35-A78A-6A022894292E + 2245924\",\n    \"35  UIKitCore                           0x0000000184321d70 8388EB03-002B-3B35-A78A-6A022894292E + 3521904\",\n    \"36  UIKitCore                           0x00000001842610b4 8388EB03-002B-3B35-A78A-6A022894292E + 2732212\",\n    \"37  FrontBoardServices                  0x00000001936b0e20 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 171552\",\n    \"38  FrontBoardServices                  0x00000001936d6cdc 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 326876\",\n    \"39  FrontBoardServices                  0x00000001936916b4 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 42676\",\n    \"40  FrontBoardServices                  0x0000000193692cf4 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 48372\",\n    \"41  libdispatch.dylib                   0x000000018182b660 A5CBAAB3-E389-3548-BAAC-FAB18411B94A + 18016\",\n    \"42  libdispatch.dylib                   0x000000018182f118 A5CBAAB3-E389-3548-BAAC-FAB18411B94A + 33048\",\n    \"43  FrontBoardServices                  0x0000000193692f94 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 49044\",\n    \"44  FrontBoardServices                  0x00000001936923d4 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 46036\",\n    \"45  FrontBoardServices                  0x00000001936969e4 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 63972\",\n    \"46  CoreFoundation                      0x0000000181bdb020 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 765984\",\n    \"47  CoreFoundation                      0x0000000181bebce0 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 834784\",\n    \"48  CoreFoundation                      0x0000000181b26054 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 24660\",\n    \"49  CoreFoundation                      0x0000000181b2b7f4 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 47092\",\n    \"50  CoreFoundation                      0x0000000181b3f3b8 CFRunLoopRunSpecific + 600\",\n    \"51  GraphicsServices                    0x000000019d4cf38c GSEventRunModal + 164\",\n    \"52  UIKitCore                           0x00000001844df6a8 8388EB03-002B-3B35-A78A-6A022894292E + 5346984\",\n    \"53  UIKitCore                           0x000000018425e7f4 UIApplicationMain + 2092\",\n    \"54  Ling                                0x0000000104b498f8 Ling + 22776\",\n    \"55  dyld                                0x0000000105b1da24 start + 520\"\n  ]\n}" | [Adapty JS vUNKNOWN] — verbose: BridgeError.nativeErr: Creating new BridgeError from native error...     args="{\n  \"code\": \"adapty_native_error\",\n  \"message\": \"{\\\"adapty_code\\\":3006,\\\"message\\\":\\\"The user profile was replaced\\\",\\\"detail\\\":\\\"AdaptyError.profileWasChanged([2.3.1]: Adapty\\\\/Adapty+ChangeState.swift#141)\\\"}\",\n  \"domain\": \"RCTErrorDomain\",\n  \"userInfo\": null,\n  \"nativeStackIOS\": [\n    \"0   Ling                                0x0000000104f37108 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 356644\",\n    \"1   Ling                                0x0000000104f0d76c _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 186248\",\n    \"2   Ling                                0x0000000104e1e854 _ZN5folly6detail15str_to_integralIxEENS_8ExpectedIT_NS_14ConversionCodeEEEPNS_5RangeIPKcEE + 67792\",\n    \"3   Ling                                0x000000010513c1b0 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 2474444\",\n    \"4   Ling                                0x000000010513afa4 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 2469824\",\n    \"5   Ling                                0x0000000104b57b4c Ling + 80716\",\n    \"6   Ling                                0x0000000104b596e4 Ling + 87780\",\n    \"7   Ling                                0x0000000104b55ed0 Ling + 73424\",\n    \"8   libdispatch.dylib                   0x0000000181829914 A5CBAAB3-E389-3548-BAAC-FAB18411B94A + 10516\",\n    \"9   libdispatch.dylib                   0x000000018182b660 A5CBAAB3-E389-3548-BAAC-FAB18411B94A + 18016\",\n    \"10  libdispatch.dylib                   0x0000000181839b60 _dispatch_main_queue_callback_4CF + 944\",\n    \"11  CoreFoundation                      0x0000000181b71cd4 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 335060\",\n    \"12  CoreFoundation                      0x0000000181b2beac B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 48812\",\n    \"13  CoreFoundation                      0x0000000181b3f3b8 CFRunLoopRunSpecific + 600\",\n    \"14  Foundation                          0x000000018335a354 D59C6975-5AF2-37BC-93BE-43B80B4293A5 + 99156\",\n    \"15  Foundation                          0x000000018339bc28 D59C6975-5AF2-37BC-93BE-43B80B4293A5 + 367656\",\n    \"16  Ling                                0x000000010516a048 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 2662500\",\n    \"17  Ling                                0x0000000104b49768 Ling + 22376\",\n    \"18  Ling                                0x00000001051676ec _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 2651912\",\n    \"19  UIKitCore                           0x00000001842ef044 8388EB03-002B-3B35-A78A-6A022894292E + 3313732\",\n    \"20  UIKitCore                           0x00000001844d6b38 8388EB03-002B-3B35-A78A-6A022894292E + 5311288\",\n    \"21  UIKitCore                           0x00000001844bf4a4 8388EB03-002B-3B35-A78A-6A022894292E + 5215396\",\n    \"22  UIKitCore                           0x000000018431ce44 8388EB03-002B-3B35-A78A-6A022894292E + 3501636\",\n    \"23  UIKitCore                           0x000000018417562c _UIScenePerformActionsWithLifecycleActionMask + 104\",\n    \"24  UIKitCore                           0x00000001842a0b7c 8388EB03-002B-3B35-A78A-6A022894292E + 2993020\",\n    \"25  UIKitCore                           0x00000001843c1380 8388EB03-002B-3B35-A78A-6A022894292E + 4174720\",\n    \"26  UIKitCore                           0x0000000184601f8c 8388EB03-002B-3B35-A78A-6A022894292E + 6537100\",\n    \"27  UIKitCore                           0x000000018458d710 8388EB03-002B-3B35-A78A-6A022894292E + 6059792\",\n    \"28  UIKitCore                           0x0000000184176430 8388EB03-002B-3B35-A78A-6A022894292E + 1770544\",\n    \"29  UIKitCore                           0x0000000184236350 8388EB03-002B-3B35-A78A-6A022894292E + 2556752\",\n    \"30  UIKitCore                           0x0000000184178340 _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 276\",\n    \"31  UIKitCore                           0x0000000184262df4 8388EB03-002B-3B35-A78A-6A022894292E + 2739700\",\n    \"32  UIKitCore                           0x00000001846ea260 8388EB03-002B-3B35-A78A-6A022894292E + 7488096\",\n    \"33  UIKitCore                           0x00000001841a6c60 8388EB03-002B-3B35-A78A-6A022894292E + 1969248\",\n    \"34  UIKitCore                           0x00000001841ea524 8388EB03-002B-3B35-A78A-6A022894292E + 2245924\",\n    \"35  UIKitCore                           0x0000000184321d70 8388EB03-002B-3B35-A78A-6A022894292E + 3521904\",\n    \"36  UIKitCore                           0x00000001842610b4 8388EB03-002B-3B35-A78A-6A022894292E + 2732212\",\n    \"37  FrontBoardServices                  0x00000001936b0e20 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 171552\",\n    \"38  FrontBoardServices                  0x00000001936d6cdc 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 326876\",\n    \"39  FrontBoardServices                  0x00000001936916b4 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 42676\",\n    \"40  FrontBoardServices                  0x0000000193692cf4 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 48372\",\n    \"41  libdispatch.dylib                   0x000000018182b660 A5CBAAB3-E389-3548-BAAC-FAB18411B94A + 18016\",\n    \"42  libdispatch.dylib                   0x000000018182f118 A5CBAAB3-E389-3548-BAAC-FAB18411B94A + 33048\",\n    \"43  FrontBoardServices                  0x0000000193692f94 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 49044\",\n    \"44  FrontBoardServices                  0x00000001936923d4 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 46036\",\n    \"45  FrontBoardServices                  0x00000001936969e4 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 63972\",\n    \"46  CoreFoundation                      0x0000000181bdb020 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 765984\",\n    \"47  CoreFoundation                      0x0000000181bebce0 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 834784\",\n    \"48  CoreFoundation                      0x0000000181b26054 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 24660\",\n    \"49  CoreFoundation                      0x0000000181b2b7f4 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 47092\",\n    \"50  CoreFoundation                      0x0000000181b3f3b8 CFRunLoopRunSpecific + 600\",\n    \"51  GraphicsServices                    0x000000019d4cf38c GSEventRunModal + 164\",\n    \"52  UIKitCore                           0x00000001844df6a8 8388EB03-002B-3B35-A78A-6A022894292E + 5346984\",\n    \"53  UIKitCore                           0x000000018425e7f4 UIApplicationMain + 2092\",\n    \"54  Ling                                0x0000000104b498f8 Ling + 22776\",\n    \"55  dyld                                0x0000000105b1da24 start + 520\"\n  ]\n}"
-- | --
[Adapty JS vUNKNOWN] — verbose: BridgeError.nativeErr: Creating new BridgeError from native error...    args="{\n  \"code\": \"adapty_native_error\",\n  \"message\": \"{\\\"adapty_code\\\":3006,\\\"message\\\":\\\"The user profile was replaced\\\",\\\"detail\\\":\\\"AdaptyError.profileWasChanged([2.3.1]: Adapty\\\\/Adapty+ChangeState.swift#141)\\\"}\",\n  \"domain\": \"RCTErrorDomain\",\n  \"userInfo\": null,\n  \"nativeStackIOS\": [\n    \"0   Ling                                0x0000000104f37108 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 356644\",\n    \"1   Ling                                0x0000000104f0d76c _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 186248\",\n    \"2   Ling                                0x0000000104e1e854 _ZN5folly6detail15str_to_integralIxEENS_8ExpectedIT_NS_14ConversionCodeEEEPNS_5RangeIPKcEE + 67792\",\n    \"3   Ling                                0x000000010513c1b0 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 2474444\",\n    \"4   Ling                                0x000000010513afa4 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 2469824\",\n    \"5   Ling                                0x0000000104b57b4c Ling + 80716\",\n    \"6   Ling                                0x0000000104b596e4 Ling + 87780\",\n    \"7   Ling                                0x0000000104b55ed0 Ling + 73424\",\n    \"8   libdispatch.dylib                   0x0000000181829914 A5CBAAB3-E389-3548-BAAC-FAB18411B94A + 10516\",\n    \"9   libdispatch.dylib                   0x000000018182b660 A5CBAAB3-E389-3548-BAAC-FAB18411B94A + 18016\",\n    \"10  libdispatch.dylib                   0x0000000181839b60 _dispatch_main_queue_callback_4CF + 944\",\n    \"11  CoreFoundation                      0x0000000181b71cd4 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 335060\",\n    \"12  CoreFoundation                      0x0000000181b2beac B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 48812\",\n    \"13  CoreFoundation                      0x0000000181b3f3b8 CFRunLoopRunSpecific + 600\",\n    \"14  Foundation                          0x000000018335a354 D59C6975-5AF2-37BC-93BE-43B80B4293A5 + 99156\",\n    \"15  Foundation                          0x000000018339bc28 D59C6975-5AF2-37BC-93BE-43B80B4293A5 + 367656\",\n    \"16  Ling                                0x000000010516a048 _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 2662500\",\n    \"17  Ling                                0x0000000104b49768 Ling + 22376\",\n    \"18  Ling                                0x00000001051676ec _ZN8facebook5react11JSIExecutor21defaultTimeoutInvokerERKNSt3__18functionIFvvEEENS3_IFNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEvEEE + 2651912\",\n    \"19  UIKitCore                           0x00000001842ef044 8388EB03-002B-3B35-A78A-6A022894292E + 3313732\",\n    \"20  UIKitCore                           0x00000001844d6b38 8388EB03-002B-3B35-A78A-6A022894292E + 5311288\",\n    \"21  UIKitCore                           0x00000001844bf4a4 8388EB03-002B-3B35-A78A-6A022894292E + 5215396\",\n    \"22  UIKitCore                           0x000000018431ce44 8388EB03-002B-3B35-A78A-6A022894292E + 3501636\",\n    \"23  UIKitCore                           0x000000018417562c _UIScenePerformActionsWithLifecycleActionMask + 104\",\n    \"24  UIKitCore                           0x00000001842a0b7c 8388EB03-002B-3B35-A78A-6A022894292E + 2993020\",\n    \"25  UIKitCore                           0x00000001843c1380 8388EB03-002B-3B35-A78A-6A022894292E + 4174720\",\n    \"26  UIKitCore                           0x0000000184601f8c 8388EB03-002B-3B35-A78A-6A022894292E + 6537100\",\n    \"27  UIKitCore                           0x000000018458d710 8388EB03-002B-3B35-A78A-6A022894292E + 6059792\",\n    \"28  UIKitCore                           0x0000000184176430 8388EB03-002B-3B35-A78A-6A022894292E + 1770544\",\n    \"29  UIKitCore                           0x0000000184236350 8388EB03-002B-3B35-A78A-6A022894292E + 2556752\",\n    \"30  UIKitCore                           0x0000000184178340 _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 276\",\n    \"31  UIKitCore                           0x0000000184262df4 8388EB03-002B-3B35-A78A-6A022894292E + 2739700\",\n    \"32  UIKitCore                           0x00000001846ea260 8388EB03-002B-3B35-A78A-6A022894292E + 7488096\",\n    \"33  UIKitCore                           0x00000001841a6c60 8388EB03-002B-3B35-A78A-6A022894292E + 1969248\",\n    \"34  UIKitCore                           0x00000001841ea524 8388EB03-002B-3B35-A78A-6A022894292E + 2245924\",\n    \"35  UIKitCore                           0x0000000184321d70 8388EB03-002B-3B35-A78A-6A022894292E + 3521904\",\n    \"36  UIKitCore                           0x00000001842610b4 8388EB03-002B-3B35-A78A-6A022894292E + 2732212\",\n    \"37  FrontBoardServices                  0x00000001936b0e20 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 171552\",\n    \"38  FrontBoardServices                  0x00000001936d6cdc 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 326876\",\n    \"39  FrontBoardServices                  0x00000001936916b4 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 42676\",\n    \"40  FrontBoardServices                  0x0000000193692cf4 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 48372\",\n    \"41  libdispatch.dylib                   0x000000018182b660 A5CBAAB3-E389-3548-BAAC-FAB18411B94A + 18016\",\n    \"42  libdispatch.dylib                   0x000000018182f118 A5CBAAB3-E389-3548-BAAC-FAB18411B94A + 33048\",\n    \"43  FrontBoardServices                  0x0000000193692f94 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 49044\",\n    \"44  FrontBoardServices                  0x00000001936923d4 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 46036\",\n    \"45  FrontBoardServices                  0x00000001936969e4 6FDEC0C3-E500-3E06-948E-E34BDA520801 + 63972\",\n    \"46  CoreFoundation                      0x0000000181bdb020 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 765984\",\n    \"47  CoreFoundation                      0x0000000181bebce0 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 834784\",\n    \"48  CoreFoundation                      0x0000000181b26054 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 24660\",\n    \"49  CoreFoundation                      0x0000000181b2b7f4 B2D21CFD-378C-36D5-BAF7-3F70599CFEFC + 47092\",\n    \"50  CoreFoundation                      0x0000000181b3f3b8 CFRunLoopRunSpecific + 600\",\n    \"51  GraphicsServices                    0x000000019d4cf38c GSEventRunModal + 164\",\n    \"52  UIKitCore                           0x00000001844df6a8 8388EB03-002B-3B35-A78A-6A022894292E + 5346984\",\n    \"53  UIKitCore                           0x000000018425e7f4 UIApplicationMain + 2092\",\n    \"54  Ling                                0x0000000104b498f8 Ling + 22776\",\n    \"55  dyld                                0x0000000105b1da24 start + 520\"\n  ]\n}"

Can you please check and let me know what could be the reason for this issue? Thanks!

Version

v2.3.5

What platforms are you seeing the problem on?

iOS, Android

System info

Model: iPhone SE (2 Gen) (iPhone12,8)
OS Name: iOS
OS Version: 15.6.1
divanc commented 1 year ago

Hello, @HaseebArshad1! Make sure to update for your next releases, logging system there is much more advanced.

Talking with our developers considering 3006...

divanc commented 1 year ago

@HaseebArshad1, as I've been informed, this error can occur, when you call profile methods when other mutational methods run:

The thing with these methods is that they can modify user's profile ID. If you call identify and then call (i.e.) updateProfile before identify has responded, you risk sending second request to nowhere.

I can currently only recommend to retry such requests and be knowledgeable about this. You can manually mutex this if you really need to.

I need to discuss with our team, whether I should add mutex in my layer...

That should answer the genesis of your problem, but how it came to grow recently — I do not know. Maybe your recent release introduced something?

HaseebArshad1 commented 1 year ago

@divanc Got it, Thanks!