The app is developed using react native. The issue is only in the iOS app but not in the Android. The app crashes when it is opened. And after the first crash, it will work if we try to open it again. We do not know much about the cause of the crash as it is not replicated in debug mode. Here is the app crash report we got from the test flight app.
Incident Identifier: 5E35C4DD-8CCC-43D3-A2B3-152277C9013E
Distributor ID: com.apple.AppStore
Hardware Model: iPhone13,1
Process: WATAMUKI_MOBILE [9673]
Path: /private/var/containers/Bundle/Application/DF3C370A-0AF0-482A-ABFC-4C926BD37605/WATAMUKI_MOBILE.app/WATAMUKI_MOBILE
Identifier: jp.watamuki.ios
Version: 9.7 (134)
AppStoreTools: 15F31e
AppVariant: 1:iPhone13,1:15
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: jp.watamuki.ios [2520]
Date/Time: 2024-08-16 16:24:12.0699 +0900
Launch Time: 2024-08-16 16:23:49.0526 +0900
OS Version: iPhone OS 17.5.1 (21F90)
Release Type: User
Baseband Version: 4.50.06
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: WATAMUKI_MOBILE [9673]
Triggered by Thread: 21
Thread 21 name:
Thread 21 Crashed:
0 libsystem_kernel.dylib 0x00000001ee12b42c __pthread_kill + 8 (:-1)
1 libsystem_pthread.dylib 0x0000000201ecac0c pthread_kill + 268 (pthread.c:1721)
2 libsystem_c.dylib 0x00000001acfceba0 abort + 180 (abort.c:118)
3 libc++abi.dylib 0x0000000201de8ca4 abort_message + 132 (abort_message.cpp:78)
4 libc++abi.dylib 0x0000000201dd8e5c demangling_terminate_handler() + 348 (cxa_default_handlers.cpp:77)
5 libobjc.A.dylib 0x000000019cf41e2c _objc_terminate() + 144 (objc-exception.mm:496)
6 libc++abi.dylib 0x0000000201de8068 std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59)
7 libc++abi.dylib 0x0000000201de800c std::terminate() + 108 (cxa_handlers.cpp:88)
8 libdispatch.dylib 0x00000001acf15de8 _dispatch_client_callout + 40 (object.m:579)
9 libdispatch.dylib 0x00000001acf1d400 _dispatch_lane_serial_drain + 748 (queue.c:3900)
10 libdispatch.dylib 0x00000001acf1df30 _dispatch_lane_invoke + 380 (queue.c:3991)
11 libdispatch.dylib 0x00000001acf28cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
12 libdispatch.dylib 0x00000001acf28528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
13 libsystem_pthread.dylib 0x0000000201ec7934 _pthread_wqthread + 288 (pthread.c:2696)
14 libsystem_pthread.dylib 0x0000000201ec40cc start_wqthread + 8 (:-1)
Thread 21 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000201ded2c3 x5: 0x000000016e6c6810 x6: 0x000000000000006e x7: 0x0000000000000000
x8: 0xf72f9e93f4d9ff97 x9: 0xf72f9e929ab58f97 x10: 0x0000000000000200 x11: 0x000000016e6c6340
x12: 0x0000000000000000 x13: 0x00000000001ff800 x14: 0x0000000000000010 x15: 0x0000000000000000
x16: 0x0000000000000148 x17: 0x000000016e6c7000 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000008a17 x21: 0x000000016e6c70e0 x22: 0x0000000000000114 x23: 0x000000016e6c70e0
x24: 0x0000000300dc6868 x25: 0x0000000303998700 x26: 0x0000000000000000 x27: 0x0000000303998700
x28: 0x0000000000000000 fp: 0x000000016e6c6780 lr: 0x0000000201ecac0c
sp: 0x000000016e6c6760 pc: 0x00000001ee12b42c cpsr: 0x40001000
esr: 0x56000080 Address size fault