Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add named params in HybridAppModule methods #151

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
533 commits
Select commit Hold shift + click to select a range
b05d47b
resolve conflict on profileavatar
Kalydosos Dec 7, 2024
fa48b45
resolve conflict on profileavatar
Kalydosos Dec 7, 2024
21da67d
resolve conflict on profileavatar
Kalydosos Dec 7, 2024
f0ba116
Minor cleanup
paultsimura Dec 7, 2024
2eb73a3
Fix IOU amount input flicking
QichenZhu Dec 7, 2024
3ffff5d
Use StyleUtils
QichenZhu Dec 7, 2024
267eb39
Increase spacing
QichenZhu Dec 7, 2024
827b107
minor update.
Krishna2323 Dec 8, 2024
af9117c
Merge branch 'Expensify:main' into krishna2323/issue/fix2_49847
Krishna2323 Dec 8, 2024
b9bcefd
update thumbsUpScale value.
Krishna2323 Dec 8, 2024
2eff212
update animation time of thumbs up icon.
Krishna2323 Dec 8, 2024
24818db
add delay to thumbs-up icon.
Krishna2323 Dec 8, 2024
88d4706
Replace navigation blur listeners with `useFocusEffect`
CyberAndrii Dec 7, 2024
8bbeaef
Fix infinite re-render
CyberAndrii Dec 7, 2024
2f89f4c
Add tests for upgrading workspace and enabling rules
CyberAndrii Dec 8, 2024
117c0fa
Merge branch 'main' into product-training-tooltips
ishpaul777 Dec 8, 2024
3c2ed79
resolve conflcts
ishpaul777 Dec 8, 2024
903e30d
Remove unused NVP_IS_FIRST_TIME_NEW_EXPENSIFY_USER key and related logic
ishpaul777 Dec 8, 2024
a8c9a61
Refactor product training tooltip logic to improve registration and v…
ishpaul777 Dec 8, 2024
c6f7fb6
Merge remote-tracking branch 'upstream/main' into fix/53286
QichenZhu Dec 8, 2024
0958370
Lift prop to a parent component to limit its scope
QichenZhu Dec 8, 2024
b8fdae8
Remove outdated comments
QichenZhu Dec 8, 2024
f20c05d
Apply the same approach to web platforms
QichenZhu Dec 9, 2024
fb82c7d
fix chat isn't scrolled down when deleting attachment
bernhardoj Dec 9, 2024
7547753
prettier
bernhardoj Dec 9, 2024
50d45d8
fix type
bernhardoj Dec 9, 2024
7d10eb8
fix: Quick Action for Scan receipt giving not found page
truph01 Dec 9, 2024
cc1ef7f
merge main
truph01 Dec 9, 2024
3aedfbd
fix: lint
truph01 Dec 9, 2024
f104ffd
fix: remove variable and remove unused export
truph01 Dec 9, 2024
38d3de4
Merge branch 'main' of https://github.com/rezkiy37/Expensify into fea…
rezkiy37 Dec 9, 2024
7966c44
Merge branch 'main' into bugfix/52640
fabioh8010 Dec 9, 2024
c1fa17b
add NVP_LAST_CONTACT_PERMISSION_PROMPT
perunt Dec 9, 2024
560cb80
remove lastContactPermissionPrompt
perunt Dec 9, 2024
2600133
Refactor useProductTrainingContext to improve tooltip visibility logic
ishpaul777 Dec 9, 2024
494613b
fix: move cursor to end of input on focus
daledah Dec 9, 2024
b84cead
minor fix
FitseTLT Dec 9, 2024
641ea6b
updated comment
FitseTLT Dec 9, 2024
1d566c2
Revert "Merge pull request #49907 from Expensify/revert-49595-lucien/…
lakchote Dec 9, 2024
d2def47
use react-native-view-shot stable version for qr code download
lakchote Dec 9, 2024
d7f77d7
update react-native-view-shot stable version
lakchote Dec 9, 2024
6bdeffb
fix phone number formatting issue
Kalydosos Dec 9, 2024
0c573ab
Refactor ProductTrainingContext to enhance tooltip rendering and upda…
ishpaul777 Dec 9, 2024
953d533
Merge branch 'Expensify:main' into fix-53003-on-room-invite-sms-shown
Kalydosos Dec 9, 2024
fd08b48
Code improvements
VickyStash Dec 9, 2024
dbdf43a
improve tooltip visibility conditions
ishpaul777 Dec 9, 2024
b705118
fix phone number formatting issue
Kalydosos Dec 9, 2024
c2b08d4
Update src/libs/actions/Search.ts
luacmartins Dec 10, 2024
0b9de66
add dismiss space for emoji picker when searching
huult Dec 10, 2024
f7366c0
Merge remote-tracking branch 'upstream/main' into 53218-emoji-picker-…
huult Dec 10, 2024
9b93483
update comment to explain why removing keyboard height
huult Dec 10, 2024
9226324
fix rhp is dismissed when workspace initial page is in the nav stack …
bernhardoj Dec 10, 2024
864e0f9
fix: Wrong page when navigating back from access level page
nkdengineer Dec 10, 2024
ae281fa
merge main
truph01 Dec 10, 2024
fb851df
fix: refactor code
truph01 Dec 10, 2024
d01ac8d
Get rid of outdated code
VickyStash Dec 10, 2024
fe555fd
Merge branch 'refs/heads/main' into VickyStash/feature/53141-remove-r…
VickyStash Dec 10, 2024
8123d4d
add more logs
perunt Dec 10, 2024
7bcec41
Update workflow to build and publish to S3 ios adhoc hybrid app
jnowakow Dec 10, 2024
9603c2f
Merge branch 'main' into fix-pending-stuck-on-failing-distance-update…
FitseTLT Dec 10, 2024
90ebc88
fix workflow
jnowakow Dec 10, 2024
25967ae
check correctness linked message after timeout
perunt Dec 10, 2024
f510ccc
Fix chunk load error refresh
narefyev91 Dec 10, 2024
103571d
error type
narefyev91 Dec 10, 2024
fa8ec14
handle case when invoice out of invoice room
rezkiy37 Dec 10, 2024
b7bb607
Add files via upload
joekaufmanexpensify Dec 10, 2024
135dde6
Merge branch 'main' into fix-53003-on-room-invite-sms-shown
Kalydosos Dec 10, 2024
fe38203
Merge branch 'Expensify:main' into fix-53003-on-room-invite-sms-shown
Kalydosos Dec 10, 2024
a3ea05c
fix typing as per review
ishpaul777 Dec 10, 2024
000e112
Merge branch 'main' into product-training-tooltips
ishpaul777 Dec 10, 2024
8e43fe1
fix phone number formatting issue
Kalydosos Dec 10, 2024
f7696fa
refactor: simplify shouldShow logic in PRODUCT_TRAINING_TOOLTIP_DATA
ishpaul777 Dec 10, 2024
0eab9dd
fix: update shouldShowEducationalTooltip logic to use ReportUtils for…
ishpaul777 Dec 10, 2024
f9ec91d
fix: update productTrainingTooltip translations for improved clarity …
ishpaul777 Dec 10, 2024
54d44da
include period at the end of learn more link
NikkiWines Dec 10, 2024
7c5e24e
Merge branch 'main' into cmartins-addSubmitAction
luacmartins Dec 10, 2024
88caced
fix ts
luacmartins Dec 10, 2024
c0eb009
do not show RBR for expense reports
s77rt Dec 10, 2024
01159ea
made billable text color consistent
FitseTLT Dec 10, 2024
82032d4
Bump Onyx to 2.0.86
fabioh8010 Dec 10, 2024
04b8db1
Add comment
QichenZhu Dec 11, 2024
09a26bb
Merge branch 'main' into issue-51970
nyomanjyotisa Dec 11, 2024
8067a93
Merge branch 'main' into fix/52904
nkdengineer Dec 11, 2024
2e8a6ea
Merge branch 'main' into fix-53003-on-room-invite-sms-shown
Kalydosos Dec 11, 2024
52db614
move check directly in function
narefyev91 Dec 11, 2024
d8cf634
fix phone number formatting
Kalydosos Dec 11, 2024
ebde15d
Merge branch 'Expensify:main' into krishna2323/issue/fix2_49847
Krishna2323 Dec 11, 2024
81a912b
Revert "Use ReportUtils.getReport"
VickyStash Dec 11, 2024
ae50129
Remove ReportUtils.getReport usage
VickyStash Dec 11, 2024
666b576
Merge branch 'refs/heads/main' into VickyStash/feature/53141-remove-r…
VickyStash Dec 11, 2024
c5dfcbc
Remove ReportUtils.getReport usage and fix lint error after merging main
VickyStash Dec 11, 2024
815b4ed
Clean up
VickyStash Dec 11, 2024
6aa985e
Lint fix
VickyStash Dec 11, 2024
b0d3624
Re-run checks
VickyStash Dec 11, 2024
9108913
fix action button becomes green when selected
bernhardoj Dec 11, 2024
8ca40f2
refactor the code to avoid nested ternary
bernhardoj Dec 11, 2024
5145d8c
Merge branch 'main' of https://github.com/Expensify/App into @perunt/…
perunt Dec 11, 2024
d99556d
Merge branch 'main' of https://github.com/Expensify/App into @perunt/…
perunt Dec 11, 2024
b3b727e
lint
perunt Dec 11, 2024
d2f0f9c
trigger test
perunt Dec 11, 2024
d4610b2
Merge branch 'main' into product-training-tooltips
ishpaul777 Dec 11, 2024
9456983
Fix createNewHybridVersion
staszekscp Dec 11, 2024
0858c35
Merge branch 'refs/heads/main' into fix/46897-distance-accountant
paultsimura Dec 11, 2024
8749259
Merge pull request #53920 from bernhardoj/fix/53897-approves-button-b…
Gonals Dec 11, 2024
d8f9018
Refactor product training tooltips to support multi-part translations…
ishpaul777 Dec 11, 2024
edfb777
Merge fix
paultsimura Dec 11, 2024
97d5921
Merge pull request #53722 from Expensify/cmartins-fixOnePay
grgia Dec 11, 2024
76b2673
Merge pull request #53927 from software-mansion-labs/fix/create-new-h…
Julesssss Dec 11, 2024
b24b57c
Merge branch 'main' into fix/mask-missing-fields
TMisiukiewicz Dec 11, 2024
e8212bd
Update version to 9.0.74-2
OSBotify Dec 11, 2024
eb863fd
clean
perunt Dec 11, 2024
2029249
fix: restore focus after Modal gets hidden
kirillzyusko Dec 11, 2024
bcb8641
Merge pull request #51940 from truph01/fix/50022
flodnv Dec 11, 2024
dd1060b
minor fix
FitseTLT Dec 11, 2024
766f664
minor fix
FitseTLT Dec 11, 2024
110071a
Merge pull request #53811 from nkdengineer/fix/52904
puneetlath Dec 11, 2024
28c34c6
show Create Expense option by default for all users
JKobrynski Dec 11, 2024
1e50a1f
Merge pull request #53850 from software-mansion-labs/ios-adhoc-hybrid…
Julesssss Dec 11, 2024
a60985d
Update version to 9.0.74-3
OSBotify Dec 11, 2024
5b5c07a
resolve conflicts
luacmartins Dec 11, 2024
6c1d45d
update comment
bernhardoj Dec 11, 2024
661cd2b
Merge pull request #53868 from Expensify/joekaufmanexpensify-patch-5
tgolen Dec 11, 2024
001a6e2
Merge pull request #51018 from margelo/@perunt/contacts-import
blimpich Dec 11, 2024
4f01ab0
Revert "Contacts import"
Julesssss Dec 11, 2024
971a11a
Refactor product training tooltip rendering and remove EducationalToo…
ishpaul777 Dec 11, 2024
cf7a4b9
Merge pull request #53743 from bernhardoj/fix/52861-chat-doesnt-scrol…
puneetlath Dec 11, 2024
09e4108
Merge pull request #53961 from Expensify/revert-51018-@perunt/contact…
Julesssss Dec 11, 2024
9a1b828
Fix Android build
staszekscp Dec 11, 2024
18bbf5f
Merge pull request #53740 from QichenZhu/fix/53286
neil-marcellini Dec 11, 2024
3f9a1ce
Merge pull request #53747 from truph01/fix/53071
francoisl Dec 11, 2024
9b64e36
Merge pull request #53597 from callstack-internal/bugfix/52640
neil-marcellini Dec 11, 2024
012d072
ran prettier and applied diff
Julesssss Dec 11, 2024
b554ade
Merge pull request #53964 from Expensify/jules-fixAndroidBuild
luacmartins Dec 11, 2024
20b4c7d
Update version to 9.0.74-4
OSBotify Dec 11, 2024
2c8fab6
Update en.ts
jamesdeanexpensify Dec 11, 2024
141a951
Update es.ts
jamesdeanexpensify Dec 11, 2024
8f18f39
Merge pull request #53296 from mkzie2/mkzie2-issue/52198
tylerkaraszewski Dec 11, 2024
39361a4
add api changes
ishpaul777 Dec 11, 2024
ec76adc
Merge pull request #52556 from callstack-internal/feature/51528-multi…
cristipaval Dec 11, 2024
05b4e8a
Merge pull request #53965 from Expensify/jamesdeanexpensify-patch-2
pecanoro Dec 11, 2024
949c140
Update `createNewHybridVersion` job to update submodule correctly
AndrewGable Dec 11, 2024
91ce875
Update Android path with new submodule
AndrewGable Dec 11, 2024
3d468fd
Merge pull request #53966 from Expensify/nikki-add-period
carlosmiceli Dec 11, 2024
8476db6
Merge pull request #53968 from Expensify/andrew-generate-hybrid-version
luacmartins Dec 11, 2024
166b9fd
Update version to 9.0.74-5
OSBotify Dec 11, 2024
f4f258d
Update Mobile-Expensify to 9.0.74-5
OSBotify Dec 11, 2024
567bd21
Merge pull request #51517 from paultsimura/fix/46897-distance-accountant
neil-marcellini Dec 11, 2024
b6414b3
Merge pull request #53806 from huult/53218-emoji-picker-no-dismiss-space
marcaaron Dec 11, 2024
1fca5de
Update Export-download-expenses.md
RachCHopkins Dec 11, 2024
39aff4d
Merge pull request #53970 from Expensify/RachCHopkins-patch-2
carlosmiceli Dec 11, 2024
615e4ac
Update to include permissions check and update Spanish translations
ishpaul777 Dec 11, 2024
1584baf
Merge pull request #53641 from Expensify/cmartins-addSubmitAction
luacmartins Dec 11, 2024
bdfeb0e
Fix path for Android rollout step
AndrewGable Dec 12, 2024
1b33f9f
Merge pull request #53974 from Expensify/andrew-rollout-key
luacmartins Dec 12, 2024
ffba30b
Merge pull request #53861 from callstack-internal/fix-chunk-load-erro…
marcaaron Dec 12, 2024
b9c12a0
Update version to 9.0.74-6
OSBotify Dec 12, 2024
7440236
Update Mobile-Expensify to 9.0.74-6
OSBotify Dec 12, 2024
0c984a3
Update version to 9.0.74-7
OSBotify Dec 12, 2024
3c4e693
Update Mobile-Expensify to 9.0.74-7
OSBotify Dec 12, 2024
9dcb077
Update version to 9.0.74-8
OSBotify Dec 12, 2024
e0a8691
Update Mobile-Expensify to 9.0.74-8
OSBotify Dec 12, 2024
3c69128
Update version to 9.0.75-0
OSBotify Dec 12, 2024
5871828
Update Mobile-Expensify to 9.0.75-0
OSBotify Dec 12, 2024
082e14b
Merge pull request #53807 from bernhardoj/fix/53600-filter-icon-is-un…
thienlnam Dec 12, 2024
96400f1
Update Configure-Netsuite.md
RachCHopkins Dec 12, 2024
bf38806
Merge pull request #53982 from Expensify/RachCHopkins-patch-2
MonilBhavsar Dec 12, 2024
819c49a
use shouldAllowDownloadQRCode
lakchote Dec 12, 2024
a38de29
fix style
lakchote Dec 12, 2024
6d245d7
merge comments
dominictb Dec 12, 2024
9dd22de
fix: Hide current user in approver selector when 'prevent self approv…
Krishna2323 Dec 12, 2024
764e286
minor update.
Krishna2323 Dec 12, 2024
50c1db8
Merge pull request #49228 from dominictb/fix/46766
Julesssss Dec 12, 2024
4382c45
Merge branch 'refs/heads/main' into VickyStash/feature/53141-remove-r…
VickyStash Dec 12, 2024
a8ab5c6
changes as per review
ishpaul777 Dec 12, 2024
7f807e3
Fix paths in deploy.yml
jnowakow Dec 12, 2024
bb4dfa5
Merge branch 'main' into fix-paths-in-deploy.yml
jnowakow Dec 12, 2024
8ed48d2
Merge pull request #53385 from callstack-internal/VickyStash/feature/…
mountiny Dec 12, 2024
689ad48
Update hybrid app adhoc builds after repo structure chagne
jnowakow Dec 12, 2024
2c2704f
Merge pull request #53890 from callstack-internal/feature/bump-onyx-2…
mountiny Dec 12, 2024
4f79612
Build grunt file to prevent app crash
jnowakow Dec 12, 2024
55a9bb3
fix: filter approvers from submit to members page if preventSelfAppro…
Krishna2323 Dec 12, 2024
d3cee84
Build grunt files
jnowakow Dec 12, 2024
1f560dd
Execute script in correct folder
jnowakow Dec 12, 2024
5f5b2ac
Run script in correct folder
jnowakow Dec 12, 2024
7bde2de
Merge pull request #53941 from FitseTLT/fix-billable-text-fading-bug
justinpersaud Dec 12, 2024
c2285e6
Merge pull request #52333 from Expensify/cmartins-addRBR
arosiclair Dec 12, 2024
31d9e6c
Merge pull request #54028 from software-mansion-labs/fix-paths-in-dep…
Julesssss Dec 12, 2024
ab583d7
Update version to 9.0.75-1
OSBotify Dec 12, 2024
67ce8f0
Update Mobile-Expensify to 9.0.75-1
OSBotify Dec 12, 2024
e8b87f2
Merge pull request #54034 from software-mansion-labs/update-hybrid-ad…
Julesssss Dec 12, 2024
d56dfec
Merge pull request #53396 from ishpaul777/product-training-tooltips
puneetlath Dec 12, 2024
fc35d1a
Fully clear the form error
paultsimura Dec 12, 2024
94ab9cd
Merge pull request #53735 from CyberAndrii/53360-replace-blur-listene…
mountiny Dec 12, 2024
b8eb012
Revert "Fix pay button after deleting expense"
luacmartins Dec 12, 2024
6064126
minor fix
FitseTLT Dec 12, 2024
40ccc77
Merge pull request #54042 from Expensify/revert-53722-cmartins-fixOnePay
luacmartins Dec 12, 2024
1114ae3
Update version to 9.0.75-2
OSBotify Dec 12, 2024
1f36abb
Update Mobile-Expensify to 9.0.75-2
OSBotify Dec 12, 2024
629a083
Merge pull request #53854 from margelo/@perunt/linking-test-fix
puneetlath Dec 12, 2024
05b22e3
Merge pull request #53559 from callstack-internal/fix/mask-missing-fi…
Gonals Dec 12, 2024
f09b9f4
Merge pull request #53329 from FitseTLT/fix-pending-stuck-on-failing-…
pecanoro Dec 12, 2024
b766c8f
Merge pull request #53953 from callstack-internal/JKobrynski/feat/536…
grgia Dec 12, 2024
55ddfe8
Merge pull request #54039 from paultsimura/fix/53991
Gonals Dec 12, 2024
5ee3d04
Update version to 9.0.75-3
OSBotify Dec 12, 2024
f07e24e
Update Mobile-Expensify to 9.0.75-3
OSBotify Dec 12, 2024
9cdd9d7
Merge pull request #53147 from daledah/fix/52589
puneetlath Dec 12, 2024
28d8607
Skip auto-renew survey for users with no billing history when disabli…
Shahidullah-Muffakir Dec 12, 2024
ff419fe
Merge pull request #53240 from Kalydosos/fix-53003-on-room-invite-sms…
luacmartins Dec 12, 2024
8931dbd
fix eslint error
Shahidullah-Muffakir Dec 12, 2024
72f36b9
Merge pull request #53677 from nyomanjyotisa/issue-51970
youssef-lr Dec 12, 2024
349eda0
fix action
luacmartins Dec 12, 2024
b372ca2
Merge pull request #53886 from s77rt/no-RBR-for-expense-reports
puneetlath Dec 12, 2024
a4b4933
Merge pull request #53949 from margelo/fix/restore-focus-after-modal-…
aldo-expensify Dec 12, 2024
3d5fe98
Revert "Fix IOU amount input flicking"
luacmartins Dec 12, 2024
69aaec3
Merge pull request #54056 from Expensify/cmartins-fixSearchSubmit
francoisl Dec 12, 2024
0a36b7b
Merge pull request #54060 from Expensify/revert-53740-fix/53286
luacmartins Dec 12, 2024
e4ffcba
Update version to 9.0.75-4
OSBotify Dec 12, 2024
8255461
Update Mobile-Expensify to 9.0.75-4
OSBotify Dec 12, 2024
f4732af
Update version to 9.0.75-5
OSBotify Dec 12, 2024
9169920
Update Mobile-Expensify to 9.0.75-5
OSBotify Dec 12, 2024
7f5098b
Reroute to search page for nudge
puneetlath Dec 12, 2024
f336aa3
Update en.ts
jamesdeanexpensify Dec 12, 2024
aa29be2
Update es.ts
jamesdeanexpensify Dec 12, 2024
fce078b
Update en.ts
jamesdeanexpensify Dec 12, 2024
80c3529
Update es.ts
jamesdeanexpensify Dec 12, 2024
4f76f84
Merge pull request #53757 from Expensify/lucien/add-back-qr-code-down…
chiragsalian Dec 12, 2024
2739c9f
Rename search to Reports
puneetlath Dec 12, 2024
2450de3
Merge pull request #54069 from Expensify/puneet-search-reports
luacmartins Dec 12, 2024
6d22e7b
Merge pull request #54067 from Expensify/jamesdeanexpensify-patch-2
pecanoro Dec 12, 2024
b676cd2
Update README.md with `--progress` flag for submodule
AndrewGable Dec 12, 2024
f93814b
Prettier
puneetlath Dec 12, 2024
c59b04f
Merge pull request #54005 from Krishna2323/krishna2323/issue/53612
marcaaron Dec 12, 2024
b9b8208
Merge pull request #54072 from Expensify/andrew-submodule
blimpich Dec 12, 2024
23c95a5
revert
luacmartins Dec 12, 2024
7bff159
Update Accelo-Troubleshooting.md
RachCHopkins Dec 12, 2024
c4abfb1
resolve conflicts
luacmartins Dec 12, 2024
1ca31f9
Add files via upload
RachCHopkins Dec 12, 2024
f48bc89
Merge pull request #54076 from Expensify/revert-paultsimura/fix/46897…
cead22 Dec 12, 2024
5a66237
Update version to 9.0.75-6
OSBotify Dec 12, 2024
607bfaf
Update Mobile-Expensify to 9.0.75-6
OSBotify Dec 12, 2024
0c9c15f
Merge pull request #54083 from Expensify/RachCHopkins-patch-3
blimpich Dec 13, 2024
f84c98d
Merge pull request #53482 from FitseTLT/fix-add-highlight-new-report-…
marcochavezf Dec 13, 2024
85330dc
Merge pull request #53621 from bernhardoj/fix/52975-timezone-is-not-u…
neil-marcellini Dec 13, 2024
10bfe9a
Merge pull request #54065 from Expensify/puneet-search-reroute
srikarparsi Dec 13, 2024
35c2a75
Merge pull request #53373 from Krishna2323/krishna2323/issue/fix2_49847
youssef-lr Dec 13, 2024
29d546b
Merge pull request #53761 from daledah/fix/53011
carlosmiceli Dec 13, 2024
c30420c
Merge pull request #54078 from Expensify/RachCHopkins-patch-2
lakchote Dec 13, 2024
31ad7c7
Merge pull request #54055 from Shahidullah-Muffakir/fix/53382
techievivek Dec 13, 2024
e27c5ea
Merge pull request #53364 from neonbhai/fix-selection-behavior-worksp…
MonilBhavsar Dec 13, 2024
7275e6a
make HybridAppModule methods readable
war-in Dec 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/createNewVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ jobs:
runs-on: macos-latest
needs: [validateActor, createNewVersion]
if: ${{ fromJSON(needs.validateActor.outputs.HAS_WRITE_ACCESS) }}
defaults:
run:
working-directory: Mobile-Expensify
steps:
- name: Run turnstyle
uses: softprops/turnstyle@49108bdfa571e62371bd2c3094893c547ab3fc03
Expand All @@ -121,22 +118,17 @@ jobs:
uses: actions/checkout@v4
with:
ref: main
submodules: true
# The OS_BOTIFY_COMMIT_TOKEN is a personal access token tied to osbotify
# This is a workaround to allow pushes to a protected branch
token: ${{ secrets.OS_BOTIFY_COMMIT_TOKEN }}

- name: Check out `Mobile-Expensify` repo
uses: actions/checkout@v4
with:
repository: 'Expensify/Mobile-Expensify'
submodules: true
path: 'Mobile-Expensify'
token: ${{ secrets.OS_BOTIFY_COMMIT_TOKEN }}

- name: Update submodule
- name: Update submodule and checkout the main branch
run: |
cd react-native
git submodule update --init
cd Mobile-Expensify
git checkout main
git pull origin main

- name: Setup git for OSBotify
uses: ./.github/actions/composite/setupGitForOSBotify
Expand All @@ -146,6 +138,7 @@ jobs:

- name: Generate HybridApp version
run: |
cd Mobile-Expensify
# Generate all flavors of the version
SHORT_APP_VERSION=$(echo "$NEW_VERSION" | awk -F'-' '{print $1}')
BUILD_NUMBER=$(echo "$NEW_VERSION" | awk -F'-' '{print $2}')
Expand Down Expand Up @@ -178,6 +171,7 @@ jobs:

- name: Commit new version
run: |
cd Mobile-Expensify
git add \
./Android/AndroidManifest.xml \
./app/config/config.json \
Expand All @@ -186,8 +180,14 @@ jobs:
./iOS/NotificationServiceExtension/Info.plist
git commit -m "Update version to ${{ needs.createNewVersion.outputs.NEW_VERSION }}"

- name: Update main branch
run: git push origin main
- name: Update main branch on Mobile-Expensify and App
run: |
cd Mobile-Expensify
git push origin main
cd ..
git add Mobile-Expensify
git commit -m "Update Mobile-Expensify to ${{ needs.createNewVersion.outputs.NEW_VERSION }}"
git push origin main

- name: Announce failed workflow in Slack
if: ${{ failure() }}
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,11 @@ jobs:
id: setup-node
uses: ./.github/actions/composite/setupNode

- name: Run grunt build
run: |
cd Mobile-Expensify
npm run grunt:build:shared

- name: Setup Java
uses: actions/setup-java@v4
with:
Expand Down Expand Up @@ -222,7 +227,7 @@ jobs:

- name: Get Android native version
id: getAndroidVersion
run: echo "VERSION_CODE=$(grep -oP 'android:versionCode="\K[0-9]+' ../Android/AndroidManifest.xml)" >> "$GITHUB_OUTPUT"
run: echo "VERSION_CODE=$(grep -oP 'android:versionCode="\K[0-9]+' Mobile-Expensify/Android/AndroidManifest.xml)" >> "$GITHUB_OUTPUT"

- name: Build Android app
if: ${{ !fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
Expand All @@ -239,10 +244,11 @@ jobs:
VERSION: ${{ steps.getAndroidVersion.outputs.VERSION_CODE }}

- name: Get current Android rollout percentage
if: ${{ fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }}
id: getAndroidRolloutPercentage
uses: ./.github/actions/javascript/getAndroidRolloutPercentage
with:
GOOGLE_KEY_FILE: Mobile-Expensify/react-native/android-fastlane-json-key.json
GOOGLE_KEY_FILE: ./android-fastlane-json-key.json
PACKAGE_NAME: org.me.mobiexpensifyg

- name: Submit production build for Google Play review and a slow rollout
Expand Down Expand Up @@ -507,12 +513,12 @@ jobs:
uses: actions/cache@v4
id: pods-cache
with:
path: Mobile-Expensify/ios/Pods
key: ${{ runner.os }}-pods-cache-${{ hashFiles('Mobile-Expensify/ios/Podfile.lock', 'firebase.json') }}
path: Mobile-Expensify/iOS/Pods
key: ${{ runner.os }}-pods-cache-${{ hashFiles('Mobile-Expensify/iOS/Podfile.lock', 'firebase.json') }}

- name: Compare Podfile.lock and Manifest.lock
id: compare-podfile-and-manifest
run: echo "IS_PODFILE_SAME_AS_MANIFEST=${{ hashFiles('Mobile-Expensify/ios/Podfile.lock') == hashFiles('Mobile-Expensify/ios/Pods/Manifest.lock') }}" >> "$GITHUB_OUTPUT"
run: echo "IS_PODFILE_SAME_AS_MANIFEST=${{ hashFiles('Mobile-Expensify/iOS/Podfile.lock') == hashFiles('Mobile-Expensify/iOS/Pods/Manifest.lock') }}" >> "$GITHUB_OUTPUT"

- name: Install cocoapods
uses: nick-fields/retry@3f757583fb1b1f940bc8ef4bf4734c8dc02a5847
Expand Down
175 changes: 143 additions & 32 deletions .github/workflows/testBuildHybrid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
OLD_DOT_COMMIT:
description: The branch, tag or SHA to checkout on Old Dot side
required: false
default: 'main'
pull_request_target:
types: [opened, synchronize, labeled]
branches: ['*ci-test/**']
Expand Down Expand Up @@ -86,53 +85,48 @@ jobs:
androidHybrid:
name: Build Android HybridApp
needs: [validateActor, getBranchRef]
if: ${{ fromJSON(needs.validateActor.outputs.READY_TO_BUILD) }}
runs-on: ubuntu-latest-xl
defaults:
run:
working-directory: Mobile-Expensify/react-native
outputs:
S3_APK_PATH: ${{ steps.exportAndroidS3Path.outputs.S3_APK_PATH }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: 'Expensify/Mobile-Expensify'
submodules: true
path: 'Mobile-Expensify'
ref: ${{ env.OLD_DOT_COMMIT }}
ref: ${{ github.event.pull_request.head.sha || needs.getBranchRef.outputs.REF }}
token: ${{ secrets.OS_BOTIFY_TOKEN }}
# fetch-depth: 0 is required in order to fetch the correct submodule branch
fetch-depth: 0

- name: Update submodule
- name: Update submodule to match main
env:
OLD_DOT_COMMIT: ${{ env.OLD_DOT_COMMIT }}
run: |
git submodule update --init
git fetch
git checkout ${{ github.event.pull_request.head.sha || needs.getBranchRef.outputs.REF }}
git submodule update --init --remote
if [[ -z "$OLD_DOT_COMMIT" ]]; then
git fetch
git checkout ${{ env.OLD_DOT_COMMIT }}
fi

- name: Configure MapBox SDK
run: ./scripts/setup-mapbox-sdk.sh ${{ secrets.MAPBOX_SDK_DOWNLOAD_TOKEN }}

- uses: actions/setup-node@v4
with:
node-version-file: 'Mobile-Expensify/react-native/.nvmrc'
cache: npm
cache-dependency-path: 'Mobile-Expensify/react-native'
- name: Setup Node
id: setup-node
uses: ./.github/actions/composite/setupNode

- name: Run grunt build
run: |
cd Mobile-Expensify
npm run grunt:build:shared

- name: Setup dotenv
run: |
cp .env.staging .env.adhoc
sed -i 's/ENVIRONMENT=staging/ENVIRONMENT=adhoc/' .env.adhoc
echo "PULL_REQUEST_NUMBER=${{ inputs.pull_request_number }}" >> .env.adhoc

- name: Install node modules
run: |
npm install
cd .. && npm install

# Fixes https://github.com/Expensify/App/issues/51682
npm run grunt:build:shared

- name: Setup Java
uses: actions/setup-java@v4
with:
Expand All @@ -143,7 +137,6 @@ jobs:
uses: ruby/[email protected]
with:
bundler-cache: true
working-directory: 'Mobile-Expensify/react-native'

- name: Install 1Password CLI
uses: 1password/install-cli-action@v1
Expand All @@ -155,7 +148,7 @@ jobs:
op document get --output ./upload-key.keystore upload-key.keystore
op document get --output ./android-fastlane-json-key.json android-fastlane-json-key.json
# Copy the keystore to the Android directory for Fullstory
cp ./upload-key.keystore ../Android
cp ./upload-key.keystore Mobile-Expensify/Android

- name: Load Android upload keystore credentials from 1Password
id: load-credentials
Expand All @@ -168,10 +161,6 @@ jobs:
ANDROID_UPLOAD_KEYSTORE_ALIAS: op://Mobile-Deploy-CI/Repository-Secrets/ANDROID_UPLOAD_KEYSTORE_ALIAS
ANDROID_UPLOAD_KEY_PASSWORD: op://Mobile-Deploy-CI/Repository-Secrets/ANDROID_UPLOAD_KEY_PASSWORD

- name: Get Android native version
id: getAndroidVersion
run: echo "VERSION_CODE=$(grep -o 'versionCode\s\+[0-9]\+' android/app/build.gradle | awk '{ print $2 }')" >> "$GITHUB_OUTPUT"

- name: Build Android app
id: build
env:
Expand Down Expand Up @@ -200,11 +189,120 @@ jobs:
run: |
# $s3APKPath is set from within the Fastfile, android upload_s3 lane
echo "S3_APK_PATH=$s3APKPath" >> "$GITHUB_OUTPUT"

iosHybrid:
name: Build and deploy iOS for testing
needs: [validateActor, getBranchRef]
if: ${{ fromJSON(needs.validateActor.outputs.READY_TO_BUILD) }}
env:
DEVELOPER_DIR: /Applications/Xcode_15.2.0.app/Contents/Developer
runs-on: macos-13-xlarge
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
ref: ${{ github.event.pull_request.head.sha || needs.getBranchRef.outputs.REF }}
token: ${{ secrets.OS_BOTIFY_TOKEN }}
# fetch-depth: 0 is required in order to fetch the correct submodule branch
fetch-depth: 0

- name: Update submodule to match main
env:
OLD_DOT_COMMIT: ${{ env.OLD_DOT_COMMIT }}
run: |
git submodule update --init --remote
if [[ -z "$OLD_DOT_COMMIT" ]]; then
git fetch
git checkout ${{ env.OLD_DOT_COMMIT }}
fi

- name: Configure MapBox SDK
run: ./scripts/setup-mapbox-sdk.sh ${{ secrets.MAPBOX_SDK_DOWNLOAD_TOKEN }}

- name: Setup Node
id: setup-node
uses: ./.github/actions/composite/setupNode

- name: Create .env.adhoc file based on staging and add PULL_REQUEST_NUMBER env to it
run: |
cp .env.staging .env.adhoc
sed -i '' 's/ENVIRONMENT=staging/ENVIRONMENT=adhoc/' .env.adhoc
echo "PULL_REQUEST_NUMBER=$PULL_REQUEST_NUMBER" >> .env.adhoc

- name: Setup Ruby
uses: ruby/[email protected]
with:
bundler-cache: true

- name: Install New Expensify Gems
run: bundle install

- name: Cache Pod dependencies
uses: actions/cache@v4
id: pods-cache
with:
path: Mobile-Expensify/iOS/Pods
key: ${{ runner.os }}-pods-cache-${{ hashFiles('Mobile-Expensify/iOS/Podfile.lock', 'firebase.json') }}

- name: Compare Podfile.lock and Manifest.lock
id: compare-podfile-and-manifest
run: echo "IS_PODFILE_SAME_AS_MANIFEST=${{ hashFiles('Mobile-Expensify/iOS/Podfile.lock') == hashFiles('Mobile-Expensify/iOS/Manifest.lock') }}" >> "$GITHUB_OUTPUT"

- name: Install cocoapods
uses: nick-fields/retry@3f757583fb1b1f940bc8ef4bf4734c8dc02a5847
if: steps.pods-cache.outputs.cache-hit != 'true' || steps.compare-podfile-and-manifest.outputs.IS_PODFILE_SAME_AS_MANIFEST != 'true' || steps.setup-node.outputs.cache-hit != 'true'
with:
timeout_minutes: 10
max_attempts: 5
command: npm run pod-install

- name: Install 1Password CLI
uses: 1password/install-cli-action@v1

- name: Load files from 1Password
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
run: |
op document get --output ./OldApp_AdHoc.mobileprovision OldApp_AdHoc
op document get --output ./OldApp_AdHoc_Share_Extension.mobileprovision OldApp_AdHoc_Share_Extension
op document get --output ./OldApp_AdHoc_Notification_Service.mobileprovision OldApp_AdHoc_Notification_Service

- name: Decrypt certificate
run: cd ios && gpg --quiet --batch --yes --decrypt --passphrase="$LARGE_SECRET_PASSPHRASE" --output Certificates.p12 Certificates.p12.gpg
env:
LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}

- name: Build AdHoc app
run: bundle exec fastlane ios build_adhoc_hybrid

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- name: Upload AdHoc build to S3
run: bundle exec fastlane ios upload_s3
env:
S3_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY_ID }}
S3_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
S3_BUCKET: ad-hoc-expensify-cash
S3_REGION: us-east-1

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: ios
path: ./ios_paths.json



postGithubComment:
runs-on: ubuntu-latest
name: Post a GitHub comment with app download links for testing
needs: [validateActor, getBranchRef, androidHybrid]
needs: [validateActor, getBranchRef, androidHybrid, iosHybrid]
if: ${{ always() }}
steps:
- name: Checkout
Expand All @@ -217,11 +315,24 @@ jobs:
uses: actions/download-artifact@v4
if: ${{ fromJSON(needs.validateActor.outputs.READY_TO_BUILD) }}

- name: Read JSONs with iOS paths
id: get_ios_path
if: ${{ needs.iosHybrid.result == 'success' }}
run: |
content_ios="$(cat ./ios/ios_paths.json)"
content_ios="${content_ios//'%'/'%25'}"
content_ios="${content_ios//$'\n'/'%0A'}"
content_ios="${content_ios//$'\r'/'%0D'}"
ios_path=$(echo "$content_ios" | jq -r '.html_path')
echo "ios_path=$ios_path" >> "$GITHUB_OUTPUT"

- name: Publish links to apps for download
if: ${{ fromJSON(needs.validateActor.outputs.READY_TO_BUILD) }}
uses: ./.github/actions/javascript/postTestBuildComment
with:
PR_NUMBER: ${{ env.PULL_REQUEST_NUMBER }}
GITHUB_TOKEN: ${{ github.token }}
ANDROID: ${{ needs.androidHybrid.result }}
ANDROID_LINK: ${{ needs.androidHybrid.outputs.S3_APK_PATH }}
IOS: ${{ needs.iosHybrid.result }}
ANDROID_LINK: ${{ needs.androidHybrid.outputs.S3_APK_PATH }}
IOS_LINK: ${{ steps.get_ios_path.outputs.ios_path }}
2 changes: 1 addition & 1 deletion Mobile-Expensify
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ You can only build HybridApp if you have been granted access to [`Mobile-Expensi
## Getting started with HybridApp

1. If you haven't, please follow [these instructions](https://github.com/Expensify/App?tab=readme-ov-file#getting-started) to setup the NewDot local environment.
2. Run `git submodule update --init` to download the `Mobile-Expensify` sourcecode.
2. Run `git submodule update --init --progress` to download the `Mobile-Expensify` sourcecode.
- If you have access to `Mobile-Expensify` and the command fails with a https-related error add this to your `~/.gitconfig` file:

```
Expand Down
Loading
Loading