Description
Hello,
Currently when FileLogger.sendLogFilesByEmail() is called on iOS, it crashes the app.
I have confirmed this crash happens in the following two scenarios
Device: Simulator iPhone 16 pro
iOS version 18.4
react-native version: 0.76.9
new architecture enabled
react-native-file-logger version 0.6.0
Device: iPhone 16 device
iOS version: 18.5
react-native version: 0.76.9
new architecture enabled
react-native-file-logger version 0.5.6
XCode exception:
Exception NSException * "*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]" 0x0000600000d02100
UDPATE 1hr later: I tried to create a minimal reproduction using a fresh app created with react-native-cli on RN version 0.76.9, but the simulator does not crash