You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting a custom logDirectory, such as /storage/emulated/0/Download/logs/, the library successfully writes logs to the specified directory. However, if the app is uninstalled and then reinstalled, the library fails to recognize the previously set logDirectory. Calling getLogFilePaths() after reinstallation returns an empty array, even though the log files still exist in the directory.
Steps to Reproduce:
1. Configure react-native-file-logger with a custom logDirectory, for example: /storage/emulated/0/Download/logs/.
2. Write logs and verify that log files are created in the specified directory.
3. Uninstall the app.
4. Reinstall the app.
5. the app fails to write logs... calling getLogFilePaths return an empty array.
Edit: Tested only on android
The text was updated successfully, but these errors were encountered:
When setting a custom logDirectory, such as /storage/emulated/0/Download/logs/, the library successfully writes logs to the specified directory. However, if the app is uninstalled and then reinstalled, the library fails to recognize the previously set logDirectory. Calling getLogFilePaths() after reinstallation returns an empty array, even though the log files still exist in the directory.
Steps to Reproduce:
1. Configure react-native-file-logger with a custom logDirectory, for example: /storage/emulated/0/Download/logs/.
2. Write logs and verify that log files are created in the specified directory.
3. Uninstall the app.
4. Reinstall the app.
5. the app fails to write logs... calling getLogFilePaths return an empty array.
Edit: Tested only on android
The text was updated successfully, but these errors were encountered: