Closed Yamini0 closed 1 year ago
Hey @Yamini0 ,
thanks for reporting this issue. We were just looking into this. There are two methods available:
sendSilentCrashReport( description: string, severity: 'LOW' | 'MEDIUM' | 'HIGH' ): void;
sendSilentCrashReportWithExcludeData( description: string, severity: 'LOW' | 'MEDIUM' | 'HIGH', excludeData: { customData?: Boolean; metaData?: Boolean; attachments?: Boolean; consoleLog?: Boolean; networkLogs?: Boolean; customEventLog?: Boolean; screenshot?: Boolean; replays?: Boolean; } ): void;
The second one needs to be used, if you want to also pass the excludeData. RN doesn't allow method overloading for plugins, which is why we needed to split the methods :)
It would be awesome if you should check if using sendSilentCrashReportWithExcludeData fixes the issue.
Hey, I'm facing this bug while implementing SilentCrashReport in one of my Expo CLI. I had taken reference from https://docs.gleap.io/reactnative/silent-bug-reports/ and using like below.
Gleap.sendSilentCrashReport('Silent Crash', 'HIGH', { customData: true, metaData: true, attachments: true, consoleLog: true, networkLogs: true, customEventLog: true, screenshot: true, replays: true, });
Dependency Info: Expo : 47.0.6 react-native-gleapsdk : 8.4.3
It will really helpful if someone can help me out to resolve this bug. Thanks in advance.😇