react-native-device-log
react-native-device-log copied to clipboard
AsyncStorage persistence not working suddenly
I don't expect a PR to address this or anything, but @olofd do you have any ideas what I can check? I tried clearing and pausing the logs, and I tried switching to InMemoryAdapter
and then back to AsyncStorage
, but no luck in any case unfortunately.
My setup looks like this:
deviceLog
.init(
AsyncStorage,
// new InMemoryAdapter(),
{
// Options (all optional):
logToConsole: false, // Send logs to console as well as device-log
logRNErrors: true, // Will pick up RN-errors and send them to the device log
maxNumberToRender: 0, // 0 or undefined == unlimited
maxNumberToPersist: 4000, // 0 or undefined == unlimited
}
)
.then(() => {});
Same issue for me as well.