fix: Add Transfer owner option#67989
Conversation
|
@ahmedGaber93 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
I am a little stuck on Native builds, will add later |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb Chrome20250811181340653.mp4iOS: HybridAppiOS: mWeb Safari20250811181414762.mp4MacOS: Chrome / Safari20250811180922549.mp4MacOS: Desktop20250815152325262.mp4 |
|
@nkdengineer Let's handle the 20250810180535727.mp420250810180510166.mp4 |
|
Also, not works on native devices 20250810181426453.mp4 |
@ahmedGaber93 i updated |
@ahmedGaber93 as this logic, we must have App/src/libs/shouldRenderTransferOwnerButton/index.native.ts Lines 20 to 22 in 54e5acb |
@nkdengineer Do you know how we can test it? Passing Also, please add screenshots for native devices. 20250811180234612.mp4 |
|
We also need to update the test steps for native apps to cover this #67989 (comment) |
@ahmedGaber93 I have tried many ways but still don't know how to generate |
@mollfpr Do you have any idea about the steps to getting |
|
@nkdengineer why passing App/src/libs/shouldRenderTransferOwnerButton/index.native.ts Lines 20 to 22 in 54e5acb |
@ahmedGaber93 Yes, i think so. This was added in this PR and it seems we didn't test this case on native |
|
@JmillsExpensify Are we support transfer owner via native apps? Asking because we face an issue while testing, and it turns out the feature is not work on native apps because of the App/src/pages/settings/Subscription/CardAuthenticationModal/index.tsx Lines 59 to 62 in cd80be5
Note: you must have App/src/libs/shouldRenderTransferOwnerButton/index.native.ts Lines 20 to 22 in 54e5acb |
|
No we don't support transfer on native platforms. |
|
@JmillsExpensify @ahmedGaber93 should we update this funtion to return App/src/libs/shouldRenderTransferOwnerButton/index.native.ts Lines 20 to 22 in 54e5acb |
Based on #67989 (comment), we should hide the button on native apps even if user have |
|
Mostly the changes looks good! @nkdengineer Could you resolve the conflict? Thanks! |
|
@mollfpr i merged |
|
@nkdengineer We got another conflict 😅 |
|
@mollfpr resolved |
Just got back from OOO. Wanted to say thank you @mollfpr for testing this. Looks good and your reasoning sounds correct to me! 👍 🙂. Can you link to where you made the changes so I can double check the code? |
|
@blimpich I didn't change anything, I just had the wrong data setup for the amount owed and realized that need more that |
mollfpr
left a comment
There was a problem hiding this comment.
The changes look good to me! Sorry @nkdengineer maybe pull main again to resolve the failing perf-test 😄
|
@mollfpr it's ready now |
|
All yours @blimpich! |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.2.3-0 🚀
|
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.2.5-0 🚀
|
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.2.8-0 🚀
|
|
@nkdengineer @blimpich Transfer owner option not displayed in Native apps, Is this expected? For the same account the option is displayed in desktop. pr_67989.mp4 |
|
@m-natarajan, do you follow this precondition step?
On the web, we can ask the user to add a payment card during the transfer flow, but on native apps, we can't because add payment is not allowed on native apps. So it's required to add them on the web to see the transfer option on native. |
|
@ahmedGaber93 Yes, The payment card was added in web. The user able to see the transfer option in web but with the same account the option not displayed in native apps. Video added in the previous comment |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.2.8-4 🚀
|
Hmm! Not sure what is missing here #67989 (comment), maybe @blimpich and @mollfpr can help. |

Explanation of Change
Fixed Issues
$ #67497
PROPOSAL: #67497 (comment)
Tests
Precondition:
Transfer owneroptionTransfer owneroption in workspace overview pageOffline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
android-mweb.mov
iOS: Native
iOS: mWeb Safari
ios-mweb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov