diff --git a/Mobile-Expensify b/Mobile-Expensify index 7df7a0a1002d..6a1522a909fa 160000 --- a/Mobile-Expensify +++ b/Mobile-Expensify @@ -1 +1 @@ -Subproject commit 7df7a0a1002d7622fd8b9c59a5dbfcc39164e736 +Subproject commit 6a1522a909fa4e0b03c5a7252f1a985d6f7127f2 diff --git a/react-native.config.js b/react-native.config.js index a8c2436688e4..773375378acd 100644 --- a/react-native.config.js +++ b/react-native.config.js @@ -1,7 +1,10 @@ +const iosSourceDir = process.env.PROJECT_ROOT_PATH ? process.env.PROJECT_ROOT_PATH + 'ios' : 'ios'; +const androidSourceDir = process.env.PROJECT_ROOT_PATH ? process.env.PROJECT_ROOT_PATH + 'android' : 'android'; + module.exports = { project: { - ios: {sourceDir: process.env.PROJECT_ROOT_PATH + 'ios'}, - android: {sourceDir: process.env.PROJECT_ROOT_PATH + 'android'}, + ios: {sourceDir: iosSourceDir}, + android: {sourceDir: androidSourceDir}, }, assets: ['./assets/fonts/native'], };