Skip to content

Commit

Permalink
Merge branch 'main' into brtqkr/wire-up-share-extension-ios
Browse files Browse the repository at this point in the history
  • Loading branch information
filip-solecki committed Jan 7, 2025
2 parents f561b7e + 7727604 commit 1e5c644
Show file tree
Hide file tree
Showing 86 changed files with 1,169 additions and 657 deletions.
2 changes: 1 addition & 1 deletion Mobile-Expensify
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1009008006
versionName "9.0.80-6"
versionCode 1009008101
versionName "9.0.81-1"
// 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
4 changes: 2 additions & 2 deletions ios/NewExpensify/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>9.0.80</string>
<string>9.0.81</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand All @@ -40,7 +40,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>9.0.80.6</string>
<string>9.0.81.1</string>
<key>FullStory</key>
<dict>
<key>OrgId</key>
Expand Down
4 changes: 2 additions & 2 deletions ios/NewExpensifyTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>9.0.80</string>
<string>9.0.81</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>9.0.80.6</string>
<string>9.0.81.1</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions ios/NotificationServiceExtension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundleShortVersionString</key>
<string>9.0.80</string>
<string>9.0.81</string>
<key>CFBundleVersion</key>
<string>9.0.80.6</string>
<string>9.0.81.1</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "new.expensify",
"version": "9.0.80-6",
"version": "9.0.81-1",
"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
151 changes: 57 additions & 94 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,21 +125,6 @@ const onboardingEmployerOrSubmitMessage: OnboardingMessage = {
'\n' +
'Then, send your request and wait for that sweet “Cha-ching!” when it’s complete.',
},
{
type: 'addBankAccount',
autoCompleted: false,
title: 'Add personal bank account',
description:
'You’ll need to add your personal bank account to get paid back. Don’t worry, it’s easy!\n' +
'\n' +
'Here’s how to set up your bank account:\n' +
'\n' +
'1. Click the settings tab.\n' +
'2. Click *Wallet* > *Bank accounts* > *+ Add bank account*.\n' +
'3. Connect your bank account.\n' +
'\n' +
'Once that’s done, you can request money from anyone and get paid back right into your personal bank account.',
},
],
};

Expand All @@ -164,21 +149,6 @@ const combinedTrackSubmitOnboardingEmployerOrSubmitMessage: OnboardingMessage =
'\n' +
'And you’re done! Now wait for that sweet “Cha-ching!” when it’s complete.',
},
{
type: 'addBankAccount',
autoCompleted: false,
title: 'Add personal bank account',
description:
'You’ll need to add your personal bank account to get paid back. Don’t worry, it’s easy!\n' +
'\n' +
'Here’s how to set up your bank account:\n' +
'\n' +
'1. Click the settings tab.\n' +
'2. Click *Wallet* > *Bank accounts* > *+ Add bank account*.\n' +
'3. Connect your bank account.\n' +
'\n' +
'Once that’s done, you can request money from anyone and get paid back right into your personal bank account.',
},
],
};

Expand Down Expand Up @@ -2076,76 +2046,82 @@ const CONST = {
* Should mirror the list on the OldDot.
*/
NETSUITE_TAX_COUNTRIES: [
'_canada',
'_unitedKingdomGB',
'_unitedKingdom',
'_argentina',
'_australia',
'_southAfrica',
'_india',
'_france',
'_netherlands',
'_germany',
'_singapore',
'_spain',
'_ireland',
'_denmark',
'_austria',
'_azerbaijan',
'_belgium',
'_brazil',
'_japan',
'_philippines',
'_bulgaria',
'_canada',
'_china',
'_argentina',
'_newZealand',
'_switzerland',
'_sweden',
'_portugal',
'_mexico',
'_israel',
'_thailand',
'_costaRica',
'_croatia',
'_croatiaHrvatska',
'_cyprus',
'_czechRepublic',
'_denmark',
'_egypt',
'_estonia',
'_finland',
'_france',
'_georgia',
'_germany',
'_ghana',
'_greece',
'_hongKong',
'_hungary',
'_india',
'_indonesia',
'_iranIslamicRepublicOf',
'_ireland',
'_israel',
'_italy',
'_japan',
'_jordan',
'_kenya',
'_koreaRepublicOf',
'_koreaTheRepublicOf',
'_kuwait',
'_latvia',
'_lebanon',
'_lithuania',
'_luxembourg',
'_malaysia',
'_malta',
'_mexico',
'_morocco',
'_myanmar',
'_netherlands',
'_newZealand',
'_nigeria',
'_norway',
'_pakistan',
'_philippines',
'_poland',
'_portugal',
'_romania',
'_saudiArabia',
'_serbia',
'_singapore',
'_slovakRepublic',
'_slovakia',
'_slovenia',
'_southAfrica',
'_spain',
'_sriLanka',
'_sweden',
'_switzerland',
'_taiwan',
'_thailand',
'_turkey',
'_turkiye',
'_ukraine',
'_unitedArabEmirates',
'_unitedKingdom',
'_unitedKingdomGB',
'_vietnam',
'_austria',
'_bulgaria',
'_greece',
'_cyprus',
'_norway',
'_romania',
'_poland',
'_hongKong',
'_luxembourg',
'_lithuania',
'_malta',
'_finland',
'_koreaRepublicOf',
'_italy',
'_georgia',
'_hungary',
'_latvia',
'_estonia',
'_slovenia',
'_serbia',
'_croatiaHrvatska',
'_belgium',
'_turkey',
'_taiwan',
'_azerbaijan',
'_slovakRepublic',
'_costaRica',
'_vietNam',
] as string[],

QUICKBOOKS_EXPORT_DATE: {
Expand Down Expand Up @@ -3290,6 +3266,7 @@ const CONST = {
CANCEL_PAYMENT: 'cancelPayment',
UNAPPROVE: 'unapprove',
DEBUG: 'debug',
GO_TO_WORKSPACE: 'goToWorkspace',
},
EDIT_REQUEST_FIELD: {
AMOUNT: 'amount',
Expand Down Expand Up @@ -5232,21 +5209,6 @@ const CONST = {
'\n' +
'Feel free to add more details if you want, or just send it off. Let’s get you paid back!',
},
{
type: 'addBankAccount',
autoCompleted: false,
title: 'Add personal bank account',
description:
'You’ll need to add your personal bank account to get paid back. Don’t worry, it’s easy!\n' +
'\n' +
'Here’s how to set up your bank account:\n' +
'\n' +
'1. Click the settings tab.\n' +
'2. Click *Wallet* > *Bank accounts* > *+ Add bank account*.\n' +
'3. Connect your bank account.\n' +
'\n' +
'Once that’s done, you can request money from anyone and get paid back right into your personal bank account.',
},
],
},
[onboardingChoices.ADMIN]: {
Expand Down Expand Up @@ -6539,6 +6501,7 @@ const CONST = {

MIGRATED_USER_WELCOME_MODAL: 'migratedUserWelcomeModal',

BASE_LIST_ITEM_TEST_ID: 'base-list-item-',
PRODUCT_TRAINING_TOOLTIP_NAMES: {
CONCEIRGE_LHN_GBR: 'conciergeLHNGBR',
RENAME_SAVED_SEARCH: 'renameSavedSearch',
Expand Down
11 changes: 6 additions & 5 deletions src/ROUTES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ const ROUTES = {
},
POLICY_ACCOUNTING_QUICKBOOKS_ONLINE_EXPORT: {
route: 'settings/workspaces/:policyID/accounting/quickbooks-online/export',
getRoute: (policyID: string) => `settings/workspaces/${policyID}/accounting/quickbooks-online/export` as const,
getRoute: (policyID: string, backTo?: string) => getUrlWithBackToParam(`settings/workspaces/${policyID}/accounting/quickbooks-online/export` as const, backTo),
},
POLICY_ACCOUNTING_QUICKBOOKS_ONLINE_COMPANY_CARD_EXPENSE_ACCOUNT: {
route: 'settings/workspaces/:policyID/accounting/quickbooks-online/export/company-card-expense-account',
Expand Down Expand Up @@ -1245,7 +1245,8 @@ const ROUTES = {
},
WORKSPACE_COMPANY_CARD_EXPORT: {
route: 'settings/workspaces/:policyID/company-cards/:bank/:cardID/edit/export',
getRoute: (policyID: string, cardID: string, bank: string) => `settings/workspaces/${policyID}/company-cards/${bank}/${cardID}/edit/export` as const,
getRoute: (policyID: string, cardID: string, bank: string, backTo?: string) =>
getUrlWithBackToParam(`settings/workspaces/${policyID}/company-cards/${bank}/${cardID}/edit/export`, backTo),
},
WORKSPACE_EXPENSIFY_CARD: {
route: 'settings/workspaces/:policyID/expensify-card',
Expand Down Expand Up @@ -1547,7 +1548,7 @@ const ROUTES = {
},
POLICY_ACCOUNTING_XERO_EXPORT: {
route: 'settings/workspaces/:policyID/accounting/xero/export',
getRoute: (policyID: string) => `settings/workspaces/${policyID}/accounting/xero/export` as const,
getRoute: (policyID: string, backTo?: string) => getUrlWithBackToParam(`settings/workspaces/${policyID}/accounting/xero/export` as const, backTo),
},
POLICY_ACCOUNTING_XERO_PREFERRED_EXPORTER_SELECT: {
route: 'settings/workspaces/:policyID/connections/xero/export/preferred-exporter/select',
Expand Down Expand Up @@ -1672,7 +1673,7 @@ const ROUTES = {
},
POLICY_ACCOUNTING_NETSUITE_EXPORT: {
route: 'settings/workspaces/:policyID/connections/netsuite/export/',
getRoute: (policyID: string) => `settings/workspaces/${policyID}/connections/netsuite/export/` as const,
getRoute: (policyID: string, backTo?: string) => getUrlWithBackToParam(`settings/workspaces/${policyID}/connections/netsuite/export/` as const, backTo),
},
POLICY_ACCOUNTING_NETSUITE_PREFERRED_EXPORTER_SELECT: {
route: 'settings/workspaces/:policyID/connections/netsuite/export/preferred-exporter/select',
Expand Down Expand Up @@ -1810,7 +1811,7 @@ const ROUTES = {
},
POLICY_ACCOUNTING_SAGE_INTACCT_EXPORT: {
route: 'settings/workspaces/:policyID/accounting/sage-intacct/export',
getRoute: (policyID: string) => `settings/workspaces/${policyID}/accounting/sage-intacct/export` as const,
getRoute: (policyID: string, backTo?: string) => getUrlWithBackToParam(`settings/workspaces/${policyID}/accounting/sage-intacct/export`, backTo),
},
POLICY_ACCOUNTING_SAGE_INTACCT_PREFERRED_EXPORTER: {
route: 'settings/workspaces/:policyID/accounting/sage-intacct/export/preferred-exporter',
Expand Down
4 changes: 3 additions & 1 deletion src/components/Attachments/AttachmentView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import Text from '@components/Text';
import {usePlaybackContext} from '@components/VideoPlayerContexts/PlaybackContext';
import useLocalize from '@hooks/useLocalize';
import useNetwork from '@hooks/useNetwork';
import useStyledSafeAreaInsets from '@hooks/useStyledSafeAreaInsets';
import useStyleUtils from '@hooks/useStyleUtils';
import useTheme from '@hooks/useTheme';
import useThemeStyles from '@hooks/useThemeStyles';
Expand Down Expand Up @@ -111,6 +112,7 @@ function AttachmentView({
const attachmentCarouselPagerContext = useContext(AttachmentCarouselPagerContext);

const theme = useTheme();
const {safeAreaPaddingBottomStyle} = useStyledSafeAreaInsets();
const styles = useThemeStyles();
const StyleUtils = useStyleUtils();
const [loadComplete, setLoadComplete] = useState(false);
Expand Down Expand Up @@ -281,7 +283,7 @@ function AttachmentView({
}}
/>
</View>
{isHighResolution && <HighResolutionInfo isUploaded={isUploaded} />}
<View style={safeAreaPaddingBottomStyle}>{isHighResolution && <HighResolutionInfo isUploaded={isUploaded} />}</View>
</>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/ConnectionLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type ConnectionLayoutProps = {
title?: TranslationPaths;

/** The current policyID */
policyID: string;
policyID?: string;

/** Defines which types of access should be verified */
accessVariants?: AccessVariant[];
Expand Down
Loading

0 comments on commit 1e5c644

Please sign in to comment.