Skip to content

FileLogger.sendLogFilesByEmail() crashes app on iOS #83

Open
@tysoc1222

Description

@tysoc1222

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions