Home
last modified time | relevance | path

Searched refs:errorLogFile (Results 1 – 3 of 3) sorted by relevance

/expo/packages/expo-updates/android/src/main/java/expo/modules/updates/launcher/
H A DNoDatabaseLauncher.kt40 val errorLogFile = File(context.filesDir, ERROR_LOG_FILENAME) in writeErrorToLog() constant
42 FileUtils.writeStringToFile(errorLogFile, exceptionString, "UTF-8", true) in writeErrorToLog()
55 val errorLogFile = File(context.filesDir, ERROR_LOG_FILENAME) in consumeErrorLog() constant
56 if (!errorLogFile.exists()) { in consumeErrorLog()
59 val logContents = FileUtils.readFileToString(errorLogFile, "UTF-8") in consumeErrorLog()
60 errorLogFile.delete() in consumeErrorLog()
/expo/ios/versioned/sdk49/EXUpdates/EXUpdates/
H A DErrorRecovery.swift365 let errorLogFile = errorLogFile() in launchedUpdate() variable
366 guard let data = try? Data(contentsOf: errorLogFile) else { in launchedUpdate()
371 try FileManager.default.removeItem(at: errorLogFile) in launchedUpdate()
393 let errorLogFile = ErrorRecovery.errorLogFile() in launchedUpdate() variable
394 if FileManager.default.fileExists(atPath: errorLogFile.path) { in launchedUpdate()
395 if let fileHandle = FileHandle(forWritingAtPath: errorLogFile.path) { in launchedUpdate()
402 try data.write(to: errorLogFile, options: .atomic) in launchedUpdate()
441 private static func errorLogFile() -> URL { in launchedUpdate() function
/expo/packages/expo-updates/ios/EXUpdates/
H A DErrorRecovery.swift365 let errorLogFile = errorLogFile() in launchedUpdate() variable
366 guard let data = try? Data(contentsOf: errorLogFile) else { in launchedUpdate()
371 try FileManager.default.removeItem(at: errorLogFile) in launchedUpdate()
393 let errorLogFile = ErrorRecovery.errorLogFile() in launchedUpdate() variable
394 if FileManager.default.fileExists(atPath: errorLogFile.path) { in launchedUpdate()
395 if let fileHandle = FileHandle(forWritingAtPath: errorLogFile.path) { in launchedUpdate()
402 try data.write(to: errorLogFile, options: .atomic) in launchedUpdate()
441 private static func errorLogFile() -> URL { in launchedUpdate() function