Skip to content

Commit 7234827

Browse files
authored
Merge pull request #5874 from Expensify/OSBotify-cherry-pick-staging-5868
2 parents f425b9e + 2ba66cd commit 7234827

File tree

6 files changed

+15
-10
lines changed

6 files changed

+15
-10
lines changed

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ android {
150150
minSdkVersion rootProject.ext.minSdkVersion
151151
targetSdkVersion rootProject.ext.targetSdkVersion
152152
multiDexEnabled rootProject.ext.multiDexEnabled
153-
versionCode 1001010722
154-
versionName "1.1.7-22"
153+
versionCode 1001010724
154+
versionName "1.1.7-24"
155155
}
156156
splits {
157157
abi {

ios/NewExpensify/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</dict>
3232
</array>
3333
<key>CFBundleVersion</key>
34-
<string>1.1.7.22</string>
34+
<string>1.1.7.24</string>
3535
<key>ITSAppUsesNonExemptEncryption</key>
3636
<false/>
3737
<key>LSApplicationQueriesSchemes</key>

ios/NewExpensifyTests/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>1.1.7.22</string>
22+
<string>1.1.7.24</string>
2323
</dict>
2424
</plist>

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "new.expensify",
3-
"version": "1.1.7-22",
3+
"version": "1.1.7-24",
44
"author": "Expensify, Inc.",
55
"homepage": "https://new.expensify.com",
66
"description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.",

src/libs/Navigation/AppNavigator/AuthScreens.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,15 @@ class AuthScreens extends React.Component {
170170
// Load policies, maybe creating a new policy first.
171171
Linking.getInitialURL()
172172
.then((url) => {
173-
const path = new URL(url).pathname;
174-
const exitTo = new URLSearchParams(url).get('exitTo');
175-
const shouldCreateFreePolicy = Str.startsWith(path, Str.normalizeUrl(ROUTES.LOGIN_WITH_SHORT_LIVED_TOKEN)) && exitTo === ROUTES.WORKSPACE_NEW;
176-
getPolicyList(shouldCreateFreePolicy);
173+
// url is null on mobile unless the app was opened via a deeplink
174+
if (url) {
175+
const path = new URL(url).pathname;
176+
const exitTo = new URLSearchParams(url).get('exitTo');
177+
const shouldCreateFreePolicy = Str.startsWith(path, Str.normalizeUrl(ROUTES.LOGIN_WITH_SHORT_LIVED_TOKEN)) && exitTo === ROUTES.WORKSPACE_NEW;
178+
getPolicyList(shouldCreateFreePolicy);
179+
} else {
180+
getPolicyList(false);
181+
}
177182
});
178183

179184
// Refresh the personal details, timezone and betas every 30 minutes

0 commit comments

Comments
 (0)