diff --git a/android/app/build.gradle b/android/app/build.gradle index 9d93834e8599..2c114b067d69 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -106,8 +106,8 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion multiDexEnabled rootProject.ext.multiDexEnabled - versionCode 1001031801 - versionName "1.3.18-1" + versionCode 1001031802 + versionName "1.3.18-2" } splits { diff --git a/ios/NewExpensify/Info.plist b/ios/NewExpensify/Info.plist index d01e2afec47f..7e5b6066cf7f 100644 --- a/ios/NewExpensify/Info.plist +++ b/ios/NewExpensify/Info.plist @@ -30,7 +30,7 @@ CFBundleVersion - 1.3.18.1 + 1.3.18.2 ITSAppUsesNonExemptEncryption LSApplicationQueriesSchemes diff --git a/ios/NewExpensifyTests/Info.plist b/ios/NewExpensifyTests/Info.plist index c6c5f83ce413..e18ab55f7e01 100644 --- a/ios/NewExpensifyTests/Info.plist +++ b/ios/NewExpensifyTests/Info.plist @@ -19,6 +19,6 @@ CFBundleSignature ???? CFBundleVersion - 1.3.18.1 + 1.3.18.2 diff --git a/package-lock.json b/package-lock.json index c8a556f10f7d..cfefaaa56b0b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "new.expensify", - "version": "1.3.18-1", + "version": "1.3.18-2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "new.expensify", - "version": "1.3.18-1", + "version": "1.3.18-2", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index f271249eb1c7..037a717cb02f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "new.expensify", - "version": "1.3.18-1", + "version": "1.3.18-2", "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/IOU.js b/src/libs/actions/IOU.js index d606f668cb06..2f710d5a88a5 100644 --- a/src/libs/actions/IOU.js +++ b/src/libs/actions/IOU.js @@ -1165,7 +1165,11 @@ function payMoneyRequest(paymentType, chatReport, iouReport) { }; const {params, optimisticData, successData, failureData} = getPayMoneyRequestParams(chatReport, iouReport, recipient, paymentType); - API.write('PayMoneyRequest', params, {optimisticData, successData, failureData}); + // For now we need to call the PayMoneyRequestWithWallet API since PayMoneyRequest was not updated to work with + // Expensify Wallets. + const apiCommand = paymentType === CONST.IOU.PAYMENT_TYPE.EXPENSIFY ? 'PayMoneyRequestWithWallet' : 'PayMoneyRequest'; + + API.write(apiCommand, params, {optimisticData, successData, failureData}); Navigation.navigate(ROUTES.getReportRoute(chatReport.reportID)); if (paymentType === CONST.IOU.PAYMENT_TYPE.PAYPAL_ME) { asyncOpenURL(Promise.resolve(), buildPayPalPaymentUrl(iouReport.total, recipient.payPalMeAddress, iouReport.currency));