Bluesky app fork with some witchin' additions 馃挮
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at c68e5e82af7a43643d889f0803b79b1fdbb9de7b 47 lines 2.3 kB view raw
1diff --git a/node_modules/expo-updates/android/src/main/java/expo/modules/updates/loader/LoaderTask.kt b/node_modules/expo-updates/android/src/main/java/expo/modules/updates/loader/LoaderTask.kt 2index e9a8e3d..3c684e0 100644 3--- a/node_modules/expo-updates/android/src/main/java/expo/modules/updates/loader/LoaderTask.kt 4+++ b/node_modules/expo-updates/android/src/main/java/expo/modules/updates/loader/LoaderTask.kt 5@@ -296,14 +296,13 @@ class LoaderTask( 6 ) { 7 try { 8 val embeddedLoader = EmbeddedLoader(context, configuration, logger, database, directory) 9- val result = embeddedLoader.load { updateResponse -> 10+ embeddedLoader.load { _ -> 11 Loader.OnUpdateResponseLoadedResult(shouldDownloadManifestIfPresentInResponse = true) 12 } 13- launcher.launch(database) 14 } catch (e: Exception) { 15 logger.error("Unexpected error copying embedded update", e, UpdatesErrorCode.Unknown) 16- launcher.launch(database) 17 } 18+ launcher.launch(database) 19 } else { 20 launcher.launch(database) 21 } 22diff --git a/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift b/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift 23index 68086bd..78c7761 100644 24--- a/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift 25+++ b/node_modules/expo-updates/ios/EXUpdates/Update/ExpoUpdatesUpdate.swift 26@@ -78,13 +78,20 @@ public final class ExpoUpdatesUpdate: Update { 27 status = UpdateStatus.StatusPending 28 } 29 30+ // Instead of relying on various hacks to get the correct format for the specific 31+ // platform on the backend, we can just add this little patch.. 32+ let dateFormatter = DateFormatter() 33+ dateFormatter.locale = Locale(identifier: "en_US_POSIX") 34+ dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ssZ" 35+ let date = dateFormatter.date(from:commitTime) ?? RCTConvert.nsDate(commitTime)! 36+ 37 return Update( 38 manifest: manifest, 39 config: config, 40 database: database, 41 updateId: uuid, 42 scopeKey: config.scopeKey, 43- commitTime: RCTConvert.nsDate(commitTime), 44+ commitTime: date, 45 runtimeVersion: runtimeVersion, 46 keep: true, 47 status: status,