Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
huult committed Feb 5, 2025
2 parents 2211aff + f22c07b commit 1eae07d
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 16 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ jobs:
op read "op://Mobile-Deploy-CI/OldApp_AppStore_Share_Extension/OldApp_AppStore_Share_Extension.mobileprovision" --force --out-file ./OldApp_AppStore_Share_Extension.mobileprovision
op read "op://Mobile-Deploy-CI/OldApp_AppStore_Notification_Service/OldApp_AppStore_Notification_Service.mobileprovision" --force --out-file ./OldApp_AppStore_Notification_Service.mobileprovision
op read "op://Mobile-Deploy-CI/ios-fastlane-json-key.json/ios-fastlane-json-key.json" --force --out-file ./ios-fastlane-json-key.json
op read "op://Mobile-Deploy-CI/New Expensify Distribution Certificate/Certificates.p12" --force --out-file ./Certificates.p12
- name: Set current App version in Env
run: echo "VERSION=$(npm run print-version --silent)" >> "$GITHUB_ENV"
Expand Down
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 1009009407
versionName "9.0.94-7"
versionCode 1009009408
versionName "9.0.94-8"
// 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
2 changes: 1 addition & 1 deletion ios/NewExpensify/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>9.0.94.7</string>
<string>9.0.94.8</string>
<key>FullStory</key>
<dict>
<key>OrgId</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>9.0.94.7</string>
<string>9.0.94.8</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>9.0.94</string>
<key>CFBundleVersion</key>
<string>9.0.94.7</string>
<string>9.0.94.8</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.94-7",
"version": "9.0.94-8",
"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
2 changes: 1 addition & 1 deletion src/libs/API/parameters/AddTrackedExpenseToPolicyParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type AddTrackedExpenseToPolicyParams = {
customUnitRateID?: string;
policyID: string;
transactionID: string;
actionableWhisperReportActionID: string;
actionableWhisperReportActionID: string | undefined;
moneyRequestReportID: string;
reportPreviewReportActionID: string;
modifiedExpenseReportActionID: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type ConvertTrackedExpenseToRequestParams = {
payerAccountID: number;
chatReportID: string;
transactionID: string;
actionableWhisperReportActionID: string;
actionableWhisperReportActionID: string | undefined;
createdChatReportActionID?: string;
moneyRequestReportID: string;
moneyRequestCreatedReportActionID: string | undefined;
Expand Down
4 changes: 2 additions & 2 deletions src/libs/actions/Delegate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function connect(email: string) {

NetworkStore.setAuthToken(response?.restrictedToken ?? null);
confirmReadyToOpenApp();
openApp().then(() => NativeModules.HybridAppModule.switchAccount(email, restrictedToken, policyID, String(previousAccountID)));
openApp().then(() => NativeModules.HybridAppModule?.switchAccount(email, restrictedToken, policyID, String(previousAccountID)));
});
})
.catch((error) => {
Expand Down Expand Up @@ -238,7 +238,7 @@ function disconnect() {
NetworkStore.setAuthToken(response?.authToken ?? null);

confirmReadyToOpenApp();
openApp().then(() => NativeModules.HybridAppModule.switchAccount(requesterEmail, authToken, '', ''));
openApp().then(() => NativeModules.HybridAppModule?.switchAccount(requesterEmail, authToken, '', ''));
});
})
.catch((error) => {
Expand Down
6 changes: 3 additions & 3 deletions src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4157,7 +4157,7 @@ type AddTrackedExpenseToPolicyParam = {
merchant: string;
transactionID: string;
reimbursable: boolean;
actionableWhisperReportActionID: string;
actionableWhisperReportActionID: string | undefined;
moneyRequestReportID: string;
reportPreviewReportActionID: string;
modifiedExpenseReportActionID: string;
Expand All @@ -4174,7 +4174,7 @@ function convertTrackedExpenseToRequest(
payerEmail: string,
chatReportID: string,
transactionID: string,
actionableWhisperReportActionID: string,
actionableWhisperReportActionID: string | undefined,
createdChatReportActionID: string | undefined,
moneyRequestReportID: string,
moneyRequestCreatedReportActionID: string | undefined,
Expand Down Expand Up @@ -4427,7 +4427,7 @@ function requestMoney(requestMoneyInformation: RequestMoneyInformation) {

switch (action) {
case CONST.IOU.ACTION.SUBMIT: {
if (!linkedTrackedExpenseReportAction || !actionableWhisperReportActionID || !linkedTrackedExpenseReportID) {
if (!linkedTrackedExpenseReportAction || !linkedTrackedExpenseReportID) {
return;
}
const workspaceParams =
Expand Down

0 comments on commit 1eae07d

Please sign in to comment.