From 1b8169e333961898968c957efa083327f23b99dd Mon Sep 17 00:00:00 2001
From: Aswin S <mr.aswin@gmail.com>
Date: Wed, 26 Jul 2023 13:40:48 +0530
Subject: [PATCH 1/3] fix: handle path prefixes for split bill, request money
 and new chat

---
 .well-known/apple-app-site-association   | 12 ++++++++++++
 android/app/src/main/AndroidManifest.xml | 10 ++++++++--
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/.well-known/apple-app-site-association b/.well-known/apple-app-site-association
index 8318b394d778..cf6bdf1dedef 100644
--- a/.well-known/apple-app-site-association
+++ b/.well-known/apple-app-site-association
@@ -47,6 +47,18 @@
                     {
                         "/": "/concierge/*",
                         "comment": "Concierge"
+                    },
+                    {
+                        "/": "/split/*",
+                        "comment": "Split Bill"
+                    },
+                    {
+                        "/": "/request/*",
+                        "comment": "Request Money"
+                    },
+                    {
+                        "/": "/new/*",
+                        "comment": "New Chat"
                     }
                 ]
             }
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index b95d68c9c935..3597d6be924d 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -54,7 +54,7 @@
 
                 <!-- Production URLs -->
                 <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/r"/>
-                <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/a"/>
+                <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/a"/>                
                 <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/settings"/>
                 <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/details"/>
                 <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/v"/>
@@ -63,10 +63,13 @@
                 <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/enable-payments"/>
                 <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/statements"/>
                 <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/concierge"/>
+                <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/split"/>
+                <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/request"/>
+                <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/new"/>
 
                 <!-- Staging URLs -->
                 <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/r"/>
-                <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/a"/>
+                <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/a"/>                
                 <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/settings"/>
                 <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/details"/>
                 <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/v"/>
@@ -75,6 +78,9 @@
                 <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/enable-payments"/>
                 <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/statements"/>
                 <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/concierge"/>
+                <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/split"/>
+                <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/request"/>
+                <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/new"/>
             </intent-filter>
         </activity>
 

From 96fc4f2d8506ba9e4948b8aec47e9ed1249ca14b Mon Sep 17 00:00:00 2001
From: Aswin S <mr.aswin@gmail.com>
Date: Fri, 4 Aug 2023 00:06:52 +0530
Subject: [PATCH 2/3] fix: remove redundant white space

---
 android/app/src/main/AndroidManifest.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 3597d6be924d..e8247447edac 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -54,7 +54,7 @@
 
                 <!-- Production URLs -->
                 <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/r"/>
-                <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/a"/>                
+                <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/a"/>           
                 <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/settings"/>
                 <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/details"/>
                 <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/v"/>
@@ -69,7 +69,7 @@
 
                 <!-- Staging URLs -->
                 <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/r"/>
-                <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/a"/>                
+                <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/a"/>
                 <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/settings"/>
                 <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/details"/>
                 <data android:scheme="https" android:host="staging.new.expensify.com" android:pathPrefix="/v"/>

From 97554c33aabaaa05b8edc680255fa63c5aeb8d8c Mon Sep 17 00:00:00 2001
From: Aswin S <mr.aswin@gmail.com>
Date: Fri, 4 Aug 2023 00:08:54 +0530
Subject: [PATCH 3/3] fix: remove whitespace

---
 android/app/src/main/AndroidManifest.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index e8247447edac..f7b50f62369c 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -54,7 +54,7 @@
 
                 <!-- Production URLs -->
                 <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/r"/>
-                <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/a"/>           
+                <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/a"/>
                 <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/settings"/>
                 <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/details"/>
                 <data android:scheme="https" android:host="new.expensify.com" android:pathPrefix="/v"/>
