Skip to content

Commit

Permalink
Merge branch 'main' into fix/focus-sync-selection-list
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekBoman committed Apr 15, 2024
2 parents fa118b6 + 1cb6e00 commit a26ee23
Show file tree
Hide file tree
Showing 56 changed files with 850 additions and 582 deletions.
4 changes: 4 additions & 0 deletions .github/actions/javascript/awaitStagingDeploys/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12738,6 +12738,10 @@ function promiseWhile(condition, action) {
else {
const actionResult = action?.();
console.info('[promiseWhile] promiseWhile() actionResult', actionResult);
if (!actionResult) {
resolve();
return;
}
Promise.resolve(actionResult).then(loop).catch(reject);
}
};
Expand Down
6 changes: 6 additions & 0 deletions .github/libs/promiseWhile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ function promiseWhile(condition: () => boolean, action: (() => Promise<void>) |
} else {
const actionResult = action?.();
console.info('[promiseWhile] promiseWhile() actionResult', actionResult);

if (!actionResult) {
resolve();
return;
}

Promise.resolve(actionResult).then(loop).catch(reject);
}
};
Expand Down
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1001046206
versionName "1.4.62-6"
versionCode 1001046207
versionName "1.4.62-7"
// Supported language variants must be declared here to avoid from being removed during the compilation.
// This also helps us to not include unnecessary language variants in the APK.
resConfigs "en", "es"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
title: Deposit Accounts - USD
description: How to add a deposit account to receive payments for yourself or your business (US)
---
# Overview

There are two types of deposit-only accounts:

1. If you're an employee seeking reimbursement for expenses you’ve incurred, you’ll add a **Personal deposit-only bank account**.
2. If you're a vendor seeking payment for goods or services, you’ll add a **Business deposit-only account**.

# How to connect a personal deposit-only bank account

**Connect a personal deposit-only bank account if you are:**

- An employee based in the US who gets reimbursed by their employer
- An employee based in Australia who gets reimbursed by their company via batch payments
- An international (non-US) employee whose US-based employers send international reimbursements

**To establish the connection to a personal bank account, follow these steps:**

1. Navigate to your **Settings > Account > Payments** and click the **Add Deposit-Only Bank Account** button.
2. Click **Log into your bank** button and click **Continue** on the Plaid connection pop-up window.
3. Search for your bank account in the list of banks and follow the prompts to sign-in to your bank account.
4. Enter your bank login credentials when prompted.
- If your bank doesn't appear, click the 'x' in the upper right corner of the Plaid pop-up window and click **Connect Manually**.
- Enter your account information, then click **Save & Continue**.

You should be all set! You’ll receive reimbursement for your expense reports directly to this bank account.

# How to connect a business deposit-only bank account

**Connect a business deposit-only bank account if you are:**

- A US-based vendor who wants to be paid directly for bills sent to customers/clients
- A US-based vendor who wants to pay invoices directly via Expensify

**To establish the connection to a business bank account, follow these steps:**

1. Navigate to your **Settings > Account > Payments and click the Add Deposit-Only Bank Account** button.
2. Click **Log into your bank** button and click **Continue** on the Plaid connection pop-up window.
3. Search for your bank account in the list of banks and follow the prompts to sign-in to your bank account.
4. Enter your bank login credentials when prompted.
- If your bank doesn't appear, click the 'x' in the upper right corner of the Plaid pop-up window and click **Connect Manually**.
- Enter your account information, then click **Save & Continue**.
5. If you see the option to “Switch to Business” after entering the account owner information, click that link.
6. Enter your Company Name and FEIN or TIN information.
7. Enter your company’s website formatted as https://www.domain.com.

You should be all set! The bank account will display as a deposit-only business account, and you’ll be paid directly for any invoices you submit for payment.

# How to delete a deposit-only bank account

**To delete a deposit-only bank account, do the following:**

1. Navigate to **Settings > Account > Payments > Bank Accounts**
2. Click the **Delete** next to the bank account you want to remove

{% include faq-begin.md %}

## **What happens if my bank requires an additional security check before adding it to a third-party?**

If your bank account has 2FA enabled or another security step, you should be prompted to complete this when adding the account. If not, and you encounter an error, you can always select the option to “Connect Manually”. Either way, please double check that you are entering the correct bank account details to ensure successful payments.

## **What if I also want to pay employees with my business bank account?**

If you’ve added a business deposit-only account and also wish to also pay employees, vendors, or utilize the Expensify Card with this bank account, select “Verify” on the listed bank account. This will take you through the additional verification steps to use this account to issue payments.

## **I connected my deposit-only bank account – Why haven’t I received my reimbursement?**

There are a few reasons a reimbursement may be unsuccessful. The first step is to review the estimated deposit date on the report. If it’s after that date and you still haven’t seen the funds, it could have been unsuccessful because:
- The incorrect account was added. If you believe you may have entered the wrong account, please reach out to Concierge and provide the Report ID for the missing reimbursement.
- Your account wasn’t set up for Direct Deposit/ACH. You may want to contact your bank to confirm.

If you aren’t sure, please reach out to Concierge and we can assist!

{% include faq-end.md %}
8 changes: 0 additions & 8 deletions ios/NewExpensify.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -626,9 +626,7 @@
"${PODS_ROOT}/Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests-resources.sh",
"${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipAutomationResources.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipCoreResources.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipExtendedActionsResources.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipMessageCenterResources.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipPreferenceCenterResources.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/GTMSessionFetcher/GTMSessionFetcher_Core_Privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/GoogleDataTransport/GoogleDataTransport_Privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/GoogleSignIn/GoogleSignIn.bundle",
Expand All @@ -641,9 +639,7 @@
outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipAutomationResources.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipCoreResources.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipExtendedActionsResources.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipMessageCenterResources.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipPreferenceCenterResources.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GTMSessionFetcher_Core_Privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleDataTransport_Privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleSignIn.bundle",
Expand Down Expand Up @@ -793,9 +789,7 @@
"${PODS_ROOT}/Target Support Files/Pods-NewExpensify/Pods-NewExpensify-resources.sh",
"${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipAutomationResources.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipCoreResources.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipExtendedActionsResources.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipMessageCenterResources.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipPreferenceCenterResources.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/GTMSessionFetcher/GTMSessionFetcher_Core_Privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/GoogleDataTransport/GoogleDataTransport_Privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/GoogleSignIn/GoogleSignIn.bundle",
Expand All @@ -808,9 +802,7 @@
outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipAutomationResources.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipCoreResources.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipExtendedActionsResources.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipMessageCenterResources.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipPreferenceCenterResources.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GTMSessionFetcher_Core_Privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleDataTransport_Privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleSignIn.bundle",
Expand Down
2 changes: 1 addition & 1 deletion ios/NewExpensify/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1.4.62.6</string>
<string>1.4.62.7</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/NewExpensifyTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.4.62.6</string>
<string>1.4.62.7</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion ios/NotificationServiceExtension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleShortVersionString</key>
<string>1.4.62</string>
<key>CFBundleVersion</key>
<string>1.4.62.6</string>
<string>1.4.62.7</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
Expand Down
41 changes: 20 additions & 21 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
PODS:
- Airship (16.12.1):
- Airship/Automation (= 16.12.1)
- Airship/Basement (= 16.12.1)
- Airship/Core (= 16.12.1)
- Airship/ExtendedActions (= 16.12.1)
- Airship/MessageCenter (= 16.12.1)
- Airship/Automation (16.12.1):
- Airship (17.7.3):
- Airship/Automation (= 17.7.3)
- Airship/Basement (= 17.7.3)
- Airship/Core (= 17.7.3)
- Airship/FeatureFlags (= 17.7.3)
- Airship/MessageCenter (= 17.7.3)
- Airship/PreferenceCenter (= 17.7.3)
- Airship/Automation (17.7.3):
- Airship/Core
- Airship/Basement (16.12.1)
- Airship/Core (16.12.1):
- Airship/Basement (17.7.3)
- Airship/Core (17.7.3):
- Airship/Basement
- Airship/ExtendedActions (16.12.1):
- Airship/FeatureFlags (17.7.3):
- Airship/Core
- Airship/MessageCenter (16.12.1):
- Airship/MessageCenter (17.7.3):
- Airship/Core
- Airship/PreferenceCenter (16.12.1):
- Airship/PreferenceCenter (17.7.3):
- Airship/Core
- AirshipFrameworkProxy (2.1.1):
- Airship (= 16.12.1)
- Airship/MessageCenter (= 16.12.1)
- Airship/PreferenceCenter (= 16.12.1)
- AirshipFrameworkProxy (5.1.1):
- Airship (= 17.7.3)
- AirshipServiceExtension (17.8.0)
- AppAuth (1.6.2):
- AppAuth/Core (= 1.6.2)
Expand Down Expand Up @@ -1162,8 +1161,8 @@ PODS:
- React-Mapbuffer (0.73.4):
- glog
- React-debug
- react-native-airship (15.3.1):
- AirshipFrameworkProxy (= 2.1.1)
- react-native-airship (17.2.1):
- AirshipFrameworkProxy (= 5.1.1)
- glog
- hermes-engine
- RCT-Folly (= 2022.05.16.00)
Expand Down Expand Up @@ -2438,8 +2437,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
Airship: 2f4510b497a8200780752a5e0304a9072bfffb6d
AirshipFrameworkProxy: ea1b6c665c798637b93c465b5e505be3011f1d9d
Airship: 5a6d3f8a982398940b0d48423bb9b8736717c123
AirshipFrameworkProxy: 7255f4ed9836dc2920f2f1ea5657ced4cee8a35c
AirshipServiceExtension: 0a5fb14c3fd1879355ab05a81d10f64512a4f79c
AppAuth: 3bb1d1cd9340bd09f5ed189fb00b1cc28e1e8570
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
Expand Down Expand Up @@ -2508,7 +2507,7 @@ SPEC CHECKSUMS:
React-jsitracing: e8a2dafb9878dbcad02b6b2b88e66267fb427b74
React-logger: 0a57b68dd2aec7ff738195f081f0520724b35dab
React-Mapbuffer: 63913773ed7f96b814a2521e13e6d010282096ad
react-native-airship: 2ed75ff2278f11ff1c1ab08ed68f5bf02727b971
react-native-airship: 6ab7a7974d53f92b0c46548fc198f797fdbf371f
react-native-blob-util: a3ee23cfdde79c769c138d505670055de233b07a
react-native-cameraroll: 95ce0d1a7d2d1fe55bf627ab806b64de6c3e69e9
react-native-config: 5ce986133b07fc258828b20b9506de0e683efc1c
Expand Down
11 changes: 6 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "new.expensify",
"version": "1.4.62-6",
"version": "1.4.62-7",
"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.",
Expand Down Expand Up @@ -98,7 +98,7 @@
"@storybook/cli": "^8.0.6",
"@storybook/react": "^8.0.6",
"@storybook/theming": "^8.0.6",
"@ua/react-native-airship": "^15.3.1",
"@ua/react-native-airship": "17.2.1",
"@vue/preload-webpack-plugin": "^2.0.0",
"awesome-phonenumber": "^5.4.0",
"babel-polyfill": "^6.26.0",
Expand Down
24 changes: 0 additions & 24 deletions patches/@ua+react-native-airship+15.3.1.patch

This file was deleted.

2 changes: 2 additions & 0 deletions src/components/Icon/Illustrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ import HotDogStand from '@assets/images/simple-illustrations/simple-illustration
import Hourglass from '@assets/images/simple-illustrations/simple-illustration__hourglass.svg';
import House from '@assets/images/simple-illustrations/simple-illustration__house.svg';
import InvoiceBlue from '@assets/images/simple-illustrations/simple-illustration__invoice.svg';
import Lightbulb from '@assets/images/simple-illustrations/simple-illustration__lightbulb.svg';
import LockClosed from '@assets/images/simple-illustrations/simple-illustration__lockclosed.svg';
import LockOpen from '@assets/images/simple-illustrations/simple-illustration__lockopen.svg';
import Luggage from '@assets/images/simple-illustrations/simple-illustration__luggage.svg';
Expand Down Expand Up @@ -172,4 +173,5 @@ export {
Pencil,
Tag,
CarIce,
Lightbulb,
};
Loading

0 comments on commit a26ee23

Please sign in to comment.