diff --git a/android/app/build.gradle b/android/app/build.gradle
index ba9332d3bea3..cebcb61eb63e 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -152,8 +152,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
- versionCode 1001015715
- versionName "1.1.57-15"
+ versionCode 1001015716
+ versionName "1.1.57-16"
}
splits {
abi {
diff --git a/ios/NewExpensify/Info.plist b/ios/NewExpensify/Info.plist
index fe969a8c488f..e0217722884a 100644
--- a/ios/NewExpensify/Info.plist
+++ b/ios/NewExpensify/Info.plist
@@ -30,7 +30,7 @@
CFBundleVersion
- 1.1.57.15
+ 1.1.57.16
ITSAppUsesNonExemptEncryption
LSApplicationQueriesSchemes
diff --git a/ios/NewExpensifyTests/Info.plist b/ios/NewExpensifyTests/Info.plist
index 3b57f471d2d3..860e356753f6 100644
--- a/ios/NewExpensifyTests/Info.plist
+++ b/ios/NewExpensifyTests/Info.plist
@@ -19,6 +19,6 @@
CFBundleSignature
????
CFBundleVersion
- 1.1.57.15
+ 1.1.57.16
diff --git a/package-lock.json b/package-lock.json
index 7cc914d2574d..6898d16f2876 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "new.expensify",
- "version": "1.1.57-15",
+ "version": "1.1.57-16",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 98e48ec26483..157c6f7e414a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "new.expensify",
- "version": "1.1.57-15",
+ "version": "1.1.57-16",
"author": "Expensify, Inc.",
"homepage": "https://new.expensify.com",
"description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.",
diff --git a/src/libs/actions/App.js b/src/libs/actions/App.js
index 06aea48844d4..4343e10523b3 100644
--- a/src/libs/actions/App.js
+++ b/src/libs/actions/App.js
@@ -91,9 +91,10 @@ AppState.addEventListener('change', (nextAppState) => {
* Fetches data needed for app initialization
*
* @param {Boolean} shouldSyncPolicyList Should be false if the initial policy needs to be created. Otherwise, should be true.
+ * @param {Boolean} shouldSyncVBA Set to false if we are calling on reconnect.
* @returns {Promise}
*/
-function getAppData(shouldSyncPolicyList = true) {
+function getAppData(shouldSyncPolicyList = true, shouldSyncVBA = true) {
NameValuePair.get(CONST.NVP.PRIORITY_MODE, ONYXKEYS.NVP_PRIORITY_MODE, 'default');
NameValuePair.get(CONST.NVP.IS_FIRST_TIME_NEW_EXPENSIFY_USER, ONYXKEYS.NVP_IS_FIRST_TIME_NEW_EXPENSIFY_USER, true);
getLocale();
@@ -102,9 +103,12 @@ function getAppData(shouldSyncPolicyList = true) {
User.getDomainInfo();
PersonalDetails.fetchLocalCurrency();
GeoLocation.fetchCountryCodeByRequestIP();
- BankAccounts.fetchFreePlanVerifiedBankAccount();
BankAccounts.fetchUserWallet();
+ if (shouldSyncVBA) {
+ BankAccounts.fetchFreePlanVerifiedBankAccount();
+ }
+
if (shouldSyncPolicyList) {
Policy.getPolicyList();
}
@@ -117,7 +121,7 @@ function getAppData(shouldSyncPolicyList = true) {
}
// When the app reconnects from being offline, fetch all initialization data
-NetworkConnection.onReconnect(getAppData);
+NetworkConnection.onReconnect(() => getAppData(true, false));
export {
setCurrentURL,