Skip to content

Commit 49f8e3c

Browse files
Merge branch 'main' of github.com:Expensify/App into stites-requestTravelEnablement2
2 parents f421fa7 + 9011ce6 commit 49f8e3c

253 files changed

Lines changed: 7447 additions & 5627 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.

.storybook/webpackMockPaths.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ export default {
66
'react-native$': 'react-native-web',
77
'@react-native-community/netinfo': path.resolve(__dirname, '../__mocks__/@react-native-community/netinfo.ts'),
88
'@react-navigation/native': path.resolve(__dirname, '../__mocks__/@react-navigation/native'),
9-
'@libs/TransactionPreviewUtils': path.resolve(__dirname, '../src/libs/__mocks__/TransactionPreviewUtils.ts'),
109
};
1110
/* eslint-enable @typescript-eslint/naming-convention */

Mobile-Expensify

__mocks__/@react-navigation/native/index.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const realReactNavigation = isJestEnv ? jest.requireActual<typeof ReactNavigatio
88

99
const useIsFocused = isJestEnv ? realReactNavigation.useIsFocused : () => true;
1010
const useTheme = isJestEnv ? realReactNavigation.useTheme : () => ({});
11+
const useLocale = isJestEnv ? realReactNavigation.useTheme : () => ({});
1112

1213
const {triggerTransitionEnd, addListener} = isJestEnv
1314
? createAddListenerMock()
@@ -44,14 +45,14 @@ const useLinkTo = isJestEnv ? realReactNavigation.useLinkTo : () => null;
4445
const useScrollToTop = isJestEnv ? realReactNavigation.useScrollToTop : () => null;
4546
const useRoute = isJestEnv ? realReactNavigation.useRoute : () => ({params: {}});
4647
const useFocusEffect = isJestEnv ? realReactNavigation.useFocusEffect : (callback: () => void) => callback();
47-
// eslint-disable-next-line @typescript-eslint/naming-convention
48-
const UNSTABLE_usePreventRemove = isJestEnv ? jest.fn() : () => {};
48+
const usePreventRemove = isJestEnv ? jest.fn() : () => {};
4949

5050
export {
5151
// Overridden modules
5252
useIsFocused,
5353
useTheme,
5454
useNavigation,
55+
useLocale,
5556
triggerTransitionEnd,
5657

5758
// Theme modules are left alone
@@ -68,7 +69,7 @@ export {
6869
useScrollToTop,
6970
useRoute,
7071
useFocusEffect,
71-
UNSTABLE_usePreventRemove,
72+
usePreventRemove,
7273
};
7374

7475
export type {NativeNavigationMock};

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ android {
114114
minSdkVersion rootProject.ext.minSdkVersion
115115
targetSdkVersion rootProject.ext.targetSdkVersion
116116
multiDexEnabled rootProject.ext.multiDexEnabled
117-
versionCode 1009017110
118-
versionName "9.1.71-10"
117+
versionCode 1009017207
118+
versionName "9.1.72-7"
119119
// Supported language variants must be declared here to avoid from being removed during the compilation.
120120
// This also helps us to not include unnecessary language variants in the APK.
121121
resConfigs "en", "es"

config/webpack/webpack.common.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ const includeModules = [
3333
'react-native-web',
3434
'react-native-webview',
3535
'@react-native-picker',
36+
'@react-navigation/material-top-tabs',
37+
'@react-navigation/native',
38+
'@react-navigation/native-stack',
39+
'@react-navigation/stack',
3640
'react-native-modal',
3741
'react-native-gesture-handler',
3842
'react-native-google-places-autocomplete',
@@ -160,6 +164,12 @@ const getCommonConfiguration = ({file = '.env', platform = 'web'}: Environment):
160164
],
161165
module: {
162166
rules: [
167+
{
168+
test: /\.m?js$/,
169+
resolve: {
170+
fullySpecified: false,
171+
},
172+
},
163173
// Transpiles and lints all the JS
164174
{
165175
test: /\.(js|ts)x?$/,

cspell.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,8 @@
682682
"zoneinfo",
683683
"zxcv",
684684
"zxldvw",
685-
"مثال"
685+
"مثال",
686+
"pnrs"
686687
],
687688
"ignorePaths": [
688689
"src/languages/de.ts",

docs/redirects.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,5 +863,6 @@ https://help.expensify.com/articles/new-expensify/travel/Expensify-Travel-demo-v
863863
https://help.expensify.com/articles/new-expensify/expensify-card/Check-Expensify-Card-limit,https://help.expensify.com/articles/new-expensify/expensify-card/Cardholder-Settings-and-Features#view-your-smart-limit
864864
https://help.expensify.com/articles/new-expensify/expensify-card/Manage-Expensify-Cards,https://help.expensify.com/articles/new-expensify/expensify-card/Set-Up-and-Manage-the-Expensify-Card
865865
https://help.expensify.com/articles/new-expensify/wallet-and-payments/Pay-an-expense,https://help.expensify.com/articles/new-expensify/wallet-and-payments/Pay-Expenses
866+
https://help.expensify.com/articles/new-expensify/expenses-and-payments/Create-an-expense.html,https://help.expensify.com/articles/new-expensify/reports-and-expenses/Create-an-Expense
866867
https://help.expensify.com/articles/new-expensify/reports-and-expenses/Duplicate-detection,https://help.expensify.com/articles/new-expensify/reports-and-expenses/Duplicate-Detection
867868
https://help.expensify.com/articles/new-expensify/expenses-&-payments/Duplicate-detection.html,https://help.expensify.com/articles/new-expensify/reports-and-expenses/Duplicate-Detection

ios/NewExpensify/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<key>CFBundlePackageType</key>
2424
<string>APPL</string>
2525
<key>CFBundleShortVersionString</key>
26-
<string>9.1.71</string>
26+
<string>9.1.72</string>
2727
<key>CFBundleSignature</key>
2828
<string>????</string>
2929
<key>CFBundleURLTypes</key>
@@ -44,7 +44,7 @@
4444
</dict>
4545
</array>
4646
<key>CFBundleVersion</key>
47-
<string>9.1.71.10</string>
47+
<string>9.1.72.7</string>
4848
<key>FullStory</key>
4949
<dict>
5050
<key>OrgId</key>

ios/NotificationServiceExtension/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<key>CFBundleName</key>
1212
<string>$(PRODUCT_NAME)</string>
1313
<key>CFBundleShortVersionString</key>
14-
<string>9.1.71</string>
14+
<string>9.1.72</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.1.71.10</string>
16+
<string>9.1.72.7</string>
1717
<key>NSExtension</key>
1818
<dict>
1919
<key>NSExtensionPointIdentifier</key>

ios/ShareViewController/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<key>CFBundleName</key>
1212
<string>$(PRODUCT_NAME)</string>
1313
<key>CFBundleShortVersionString</key>
14-
<string>9.1.71</string>
14+
<string>9.1.72</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.1.71.10</string>
16+
<string>9.1.72.7</string>
1717
<key>NSExtension</key>
1818
<dict>
1919
<key>NSExtensionAttributes</key>

0 commit comments

Comments
 (0)