Skip to content

Commit 16fc785

Browse files
committed
merge main
2 parents 5e61ba2 + c8716e2 commit 16fc785

597 files changed

Lines changed: 13609 additions & 10262 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Mobile-Expensify

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ android {
111111
minSdkVersion rootProject.ext.minSdkVersion
112112
targetSdkVersion rootProject.ext.targetSdkVersion
113113
multiDexEnabled rootProject.ext.multiDexEnabled
114-
versionCode 1009042102
115-
versionName "9.4.21-2"
114+
versionCode 1009042400
115+
versionName "9.4.24-0"
116116
// Supported language variants must be declared here to avoid from being removed during the compilation.
117117
// This also helps us to not include unnecessary language variants in the APK.
118118
resConfigs "en", "es"

android/app/src/main/java/com/expensify/chat/MainApplication.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import androidx.multidex.MultiDexApplication
1414
import com.expensify.chat.bootsplash.BootSplashPackage
1515
import com.expensify.chat.navbar.NavBarManagerPackage
1616
import com.expensify.chat.shortcutManagerModule.ShortcutManagerPackage
17+
import com.margelo.nitro.nitrofetch.AutoPrefetcher
1718
import com.facebook.react.PackageList
1819
import com.facebook.react.ReactApplication
1920
import com.facebook.react.ReactHost
@@ -73,6 +74,13 @@ class MainApplication : MultiDexApplication(), ReactApplication {
7374
return
7475
}
7576

77+
// This is the entrypoint for prefetching with `react-native-nitro-fetch`.
78+
try {
79+
AutoPrefetcher.prefetchOnStart(this)
80+
} catch (_: Throwable) {
81+
System.err.println("Error initializing Nitro `AutoPrefetcher`")
82+
}
83+
7684
loadReactNative(this)
7785

7886
// Force the app to LTR mode.
-36.6 KB
Loading
-58.6 KB
Loading
-38.2 KB
Loading
-29.6 KB
Loading
-38.1 KB
Loading
-25.3 KB
Loading
-17.1 KB
Loading

0 commit comments

Comments
 (0)