Skip to content

[CP Staging] chore: attempt at fixing infinite loading on android#62827

Merged
marcaaron merged 11 commits intoExpensify:mainfrom
callstack-internal:pac-guerreiro/bug/62688-test-drive-button-loads-infinitely-after-submitting-email
May 27, 2025
Merged

[CP Staging] chore: attempt at fixing infinite loading on android#62827
marcaaron merged 11 commits intoExpensify:mainfrom
callstack-internal:pac-guerreiro/bug/62688-test-drive-button-loads-infinitely-after-submitting-email

Conversation

@pac-guerreiro
Copy link
Copy Markdown
Contributor

@pac-guerreiro pac-guerreiro commented May 26, 2025

Explanation of Change

Fixed Issues

$#62688
PROPOSAL:

The cause for the infinite loading state on Android is due to bad error handling while reading test receipt asset file.

During our test we detected that, on release android builds, the app is unable to open the test receipt file due to a malformed url. This was not detected on debug android builds, since the test receipt file would be fetched from metro bundler. But on release android builds, the image assets are stored in res/drawable folder.

I tried using react-native-blob-util asset method but it didn't work.

I also tried using file:// protocol but it's not allowed.

I was able to fix this using react-native-fs copyFileRes method on release android builds, to copy the test receipt file from res/drawable android folder to our cache folder under a new filename.

Tests

  1. Create a new user account
  2. During onboarding, choose anything but Manage my team's expenses
  3. Confirm that you're able to submit the test drive receipt to any non-existent user

Offline tests

  • Confirm that the offline indicator is provided below the test drive modal

QA Steps

  1. Create a new user account
  2. During onboarding, choose anything but Manage my team's expenses
  3. Confirm that you're able to submit the test drive receipt to any non-existent user

PR Author Checklist

  • I linked the correct issue in the ### Fixed Issues section above
  • I wrote clear testing steps that cover the changes made in this PR
    • I added steps for local testing in the Tests section
    • I added steps for the expected offline behavior in the Offline steps section
    • I added steps for Staging and/or Production testing in the QA steps section
    • I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
    • I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).
  • I included screenshots or videos for tests on all platforms
  • I ran the tests on all platforms & verified they passed on:
    • Android: Native
    • Android: mWeb Chrome
    • iOS: Native
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
    • MacOS: Desktop
  • I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
  • I verified there are no new alerts related to the canBeMissing param for useOnyx
  • I followed proper code patterns (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
      • If any non-english text was added/modified, I used JaimeGPT to get English > Spanish translation. I then posted it in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:
    • I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
    • I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
    • I verified the JSDocs style guidelines (in STYLE.md) were followed
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I followed the guidelines as stated in the Review Guidelines
  • I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
  • I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
  • I verified any variables that can be defined as constants (ie. in CONST.ts or at the top of the file that uses the constant) are defined as such
  • I verified that if a function's arguments changed that all usages have also been updated correctly
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
  • I added unit tests for any new feature or bug fix in this PR to help automatically prevent regressions in this user flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
Screen.Recording.2025-05-27.at.06.44.15.mov
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop

@pac-guerreiro pac-guerreiro requested a review from a team as a code owner May 26, 2025 20:25
@melvin-bot melvin-bot bot requested a review from Ollyws May 26, 2025 20:25
@melvin-bot
Copy link
Copy Markdown

melvin-bot bot commented May 26, 2025

@Ollyws 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]

@melvin-bot melvin-bot bot removed the request for review from a team May 26, 2025 20:25
@pac-guerreiro
Copy link
Copy Markdown
Contributor Author

@Beamanator @marcaaron @mountiny

Can someone trigger an ADHOC build for this PR? I'm currently unable to test my solution with a local production build

@Beamanator
Copy link
Copy Markdown
Contributor

triggered

@Beamanator
Copy link
Copy Markdown
Contributor

Welp it looks like web may have succeeded, but it didn't get posted cuz a few of the actions failed 🤔 - https://github.com/Expensify/App/actions/runs/15261583814

@github-actions
Copy link
Copy Markdown
Contributor

🚧 @Beamanator has triggered a test app build. You can view the workflow run here.

@Beamanator
Copy link
Copy Markdown
Contributor

ok that should work lol 🙃

@github-actions

This comment has been minimized.

@pac-guerreiro
Copy link
Copy Markdown
Contributor Author

@Beamanator testing now!

@pac-guerreiro
Copy link
Copy Markdown
Contributor Author

@Beamanator the fix attempt doesn't work. I'll try another idea

@Beamanator
Copy link
Copy Markdown
Contributor

darn ok thanks for the update!

@pac-guerreiro
Copy link
Copy Markdown
Contributor Author

@Beamanator can you trigger another adhoc build, please? 😄

@Beamanator
Copy link
Copy Markdown
Contributor

Beamanator commented May 26, 2025 via email

@github-actions
Copy link
Copy Markdown
Contributor

🚧 @Beamanator has triggered a test app build. You can view the workflow run here.

import CONST from '@src/CONST';

function getFileURL(asset: Asset, assetExtension: AssetExtension) {
const source = Image.resolveAssetSource(asset).uri;

This comment was marked as off-topic.

@github-actions

This comment was marked as outdated.

@pac-guerreiro
Copy link
Copy Markdown
Contributor Author

pac-guerreiro commented May 27, 2025

@Beamanator I was able to create a local release build using ./gradlew assembleRelease, so I tried a different idea since the second one didn't work. Like they say, third time's the charm:

Screen.Recording.2025-05-27.at.06.44.15.mov

cc @fabioh8010

@linhvovan29546 I'm using react-native-fs copyFileRes and it worked! In the screen recording above you can observe that I was able to submit the receipt to Manager McTest 😄

@pac-guerreiro
Copy link
Copy Markdown
Contributor Author

I updated the PR checklist, added a proposal, testing steps and screen recording for android native

@linhvovan29546
Copy link
Copy Markdown
Contributor

@linhvovan29546 I'm using react-native-fs copyFileRes and it worked! In the screen recording above you can observe that the I was able to submit the receipt to Manager McTest 😄

@pac-guerreiro Yeah, I previously tried that solution #62213 (comment), but it didn’t work. I might have passed the wrong value, so I ended up using a different approach.

Copy link
Copy Markdown
Contributor

@fabioh8010 fabioh8010 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good! I will make some testing today too.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest a few changes to getFile:

  1. Create a types.ts file to store getFile types according to our guidelines.
  2. Add comment explaining why we have to do this different code in Android.

type SetTestReceipt = (asset: ImageSourcePropType, assetExtension: ReceiptExtension, onFileRead: OnFileRead) => void;
type AssetExtension = 'jpg' | 'png';

type Asset = ImageSourcePropType;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
type Asset = ImageSourcePropType;

Doesn't seem necessary


type SetTestReceipt = (asset: Asset, assetExtension: AssetExtension, onFileRead: OnFileRead, onFileError?: OnFileError) => void;

// eslint-disable-next-line import/prefer-default-export
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// eslint-disable-next-line import/prefer-default-export

@Ollyws
Copy link
Copy Markdown
Contributor

Ollyws commented May 27, 2025

Are the iOS/Android adhoc builds crashing for anyone else?
Will try and do a release build to test for android.

@pac-guerreiro
Copy link
Copy Markdown
Contributor Author

pac-guerreiro commented May 27, 2025

@Ollyws I'm unable to install iOS adhoc build on my physical iPhone 14 Plus. It says that the app integrity could not be verified. I guess this is due to the fact that my device is not registered

@Ollyws
Copy link
Copy Markdown
Contributor

Ollyws commented May 27, 2025

@pac-guerreiro is the Android adhoc working for you? My release build is taking forever.

@pac-guerreiro
Copy link
Copy Markdown
Contributor Author

@Ollyws I'll give it a try and let you know

@fabioh8010
Copy link
Copy Markdown
Contributor

@Ollyws @pac-guerreiro Tested on my emulator and having crashes too (after I tried to sign in). Not sure what's happening but this PR isn't doing anything that could explain such crash.

Screen.Recording.2025-05-27.at.17.08.59.mov
05-27 17:07:03.143  6723  6896 F libc    : Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x24a1000038 in tid 6896 (mqt_v_js), pid 6723 (xpensifyg.adhoc)
05-27 17:07:03.155  6723  6951 D nativeloader: Load /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libavif_android.so using ns clns-6 from class loader (caller=/data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/base.apk!classes5.dex): ok
05-27 17:07:03.156  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.156  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.157  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.157  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.157  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.158  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.158  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.158  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.158  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.158  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.158  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.158  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.158  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.158  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.158  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.159  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.159  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.159  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.164  4030  4030 D ControlsListingControllerImpl: ServiceConfig reloaded, count: 0
05-27 17:07:03.168  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.168  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.168  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.168  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.168  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.170  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.171  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.171  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.172  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.172  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.173  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.173  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.173  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.173  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.173  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.174  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.174  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.174  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.175  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.176  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.176  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.176  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.176  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.176  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.177  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.178  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.178  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.178  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.178  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.178  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.179  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.180  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.180  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.180  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.180  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.180  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.195  6956  6956 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
05-27 17:07:03.197   204   204 I tombstoned: received crash request for pid 6896
05-27 17:07:03.199  6956  6956 I crash_dump64: performing dump of process 6723 (target tid = 6896)
05-27 17:07:03.201  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.202  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.202  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.202  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.202  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.202  6723  6953 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.203  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.203  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.203  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.204  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.204  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.204  6723  6955 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.210  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.211  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.211  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.211  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.211  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.212  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.212  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.212  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.212  6723  6951 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.213  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.213  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.214  6723  6954 D OpenGLRenderer: --- Failed to create image decoder with message 'unimplemented'
05-27 17:07:03.530  6956  6956 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-27 17:07:03.530  6956  6956 F DEBUG   : Build fingerprint: 'google/sdk_gphone64_arm64/emu64a:14/UE1A.230829.036.A4/12096271:user/release-keys'
05-27 17:07:03.530  6956  6956 F DEBUG   : Revision: '0'
05-27 17:07:03.530  6956  6956 F DEBUG   : ABI: 'arm64'
05-27 17:07:03.530  6956  6956 F DEBUG   : Timestamp: 2025-05-27 17:07:03.203391180+0100
05-27 17:07:03.530  6956  6956 F DEBUG   : Process uptime: 106s
05-27 17:07:03.530  6956  6956 F DEBUG   : Cmdline: org.me.mobiexpensifyg.adhoc
05-27 17:07:03.530  6956  6956 F DEBUG   : pid: 6723, tid: 6896, name: mqt_v_js  >>> org.me.mobiexpensifyg.adhoc <<<
05-27 17:07:03.530  6956  6956 F DEBUG   : uid: 10201
05-27 17:07:03.530  6956  6956 F DEBUG   : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
05-27 17:07:03.530  6956  6956 F DEBUG   : pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
05-27 17:07:03.530  6956  6956 F DEBUG   : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x00000024a1000038
05-27 17:07:03.530  6956  6956 F DEBUG   :     x0  00000024a1000030  x1  000000000000008d  x2  000000000000008d  x3  0000000000000001
05-27 17:07:03.530  6956  6956 F DEBUG   :     x4  00000076d99af850  x5  0000000000000000  x6  6b63617473206f4e  x7  6b63617473206f4e
05-27 17:07:03.530  6956  6956 F DEBUG   :     x8  000000000d000030  x9  00000024a1000030  x10 000000000000000c  x11 fffd000000000000
05-27 17:07:03.530  6956  6956 F DEBUG   :     x12 b400006de1e89514  x13 000000007dc40000  x14 00000076c74faf58  x15 0000000000000001
05-27 17:07:03.530  6956  6956 F DEBUG   :     x16 00000076c76f7c78  x17 0000007ad80baa40  x18 0000006df3a90000  x19 00000076d99af850
05-27 17:07:03.530  6956  6956 F DEBUG   :     x20 000000000000008d  x21 00000024a1000030  x22 0000002494000000  x23 0000000000000001
05-27 17:07:03.530  6956  6956 F DEBUG   :     x24 00000076d99b1000  x25 0000002494000000  x26 00000076d99afb58  x27 b4000079c0c5d6a8
05-27 17:07:03.530  6956  6956 F DEBUG   :     x28 00000076d99afb48  x29 00000076d99af6d0
05-27 17:07:03.530  6956  6956 F DEBUG   :     lr  00000076c759bf9c  sp  00000076d99af6c0  pc  00000076c7599ec4  pst 0000000020001000
05-27 17:07:03.530  6956  6956 F DEBUG   : 42 total frames
05-27 17:07:03.530  6956  6956 F DEBUG   : backtrace:
05-27 17:07:03.530  6956  6956 F DEBUG   :       #00 pc 00000000000c9ec4  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libhermes.so (BuildId: 23ef256261844a31ef4a4823140d00cb9585112c)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #01 pc 00000000000cbf98  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libhermes.so (BuildId: 23ef256261844a31ef4a4823140d00cb9585112c)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #02 pc 00000000000e17c4  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libhermes.so (BuildId: 23ef256261844a31ef4a4823140d00cb9585112c)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #03 pc 00000000000e1dec  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libhermes.so (BuildId: 23ef256261844a31ef4a4823140d00cb9585112c)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #04 pc 00000000000b2a04  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libhermes.so (BuildId: 23ef256261844a31ef4a4823140d00cb9585112c)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #05 pc 00000000000b2844  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libhermes.so (BuildId: 23ef256261844a31ef4a4823140d00cb9585112c)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #06 pc 00000000000b2064  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libhermes.so (BuildId: 23ef256261844a31ef4a4823140d00cb9585112c)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #07 pc 00000000004cf694  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libreactnative.so (facebook::jsi::Value facebook::jsi::Function::call<facebook::jsi::Value, facebook::jsi::String, facebook::jsi::Value>(facebook::jsi::Runtime&, facebook::jsi::Value&&, facebook::jsi::String&&, facebook::jsi::Value&&) const+156) (BuildId: 67662b5cff29b6c1)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #08 pc 00000000004cf4e4  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libreactnative.so (facebook::react::UIManagerBinding::dispatchEventToJS(facebook::jsi::Runtime&, facebook::react::EventTarget const*, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, facebook::react::ReactEventPriority, facebook::react::EventPayload const&) const+576) (BuildId: 67662b5cff29b6c1)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #09 pc 00000000004cb998  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libreactnative.so (facebook::react::UIManager::visitBinding(std::__ndk1::function<void (facebook::react::UIManagerBinding const&)> const&, facebook::jsi::Runtime&) const+68) (BuildId: 67662b5cff29b6c1)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #10 pc 00000000004b4c88  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libreactnative.so (BuildId: 67662b5cff29b6c1)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #11 pc 0000000000478d6c  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libreactnative.so (facebook::react::EventQueueProcessor::flushEvents(facebook::jsi::Runtime&, std::__ndk1::vector<facebook::react::RawEvent, std::__ndk1::allocator<facebook::react::RawEvent> >&&) const+404) (BuildId: 67662b5cff29b6c1)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #12 pc 000000000047847c  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libreactnative.so (facebook::react::EventQueue::flushEvents(facebook::jsi::Runtime&) const+336) (BuildId: 67662b5cff29b6c1)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #13 pc 00000000004751fc  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libreactnative.so (BuildId: 67662b5cff29b6c1)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #14 pc 00000000004b165c  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libreactnative.so (facebook::react::Task::execute(facebook::jsi::Runtime&, bool)+312) (BuildId: 67662b5cff29b6c1)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #15 pc 00000000004af4b4  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libreactnative.so (facebook::react::RuntimeScheduler_Modern::executeTask(facebook::jsi::Runtime&, facebook::react::Task&, bool) const+60) (BuildId: 67662b5cff29b6c1)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #16 pc 00000000004afe88  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libreactnative.so (facebook::react::RuntimeScheduler_Modern::runEventLoopTick(facebook::jsi::Runtime&, facebook::react::Task&, std::__ndk1::chrono::time_point<std::__ndk1::chrono::steady_clock, std::__ndk1::chrono::duration<long long, std::__ndk1::ratio<1l, 1000000000l> > >)+108) (BuildId: 67662b5cff29b6c1)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #17 pc 00000000004afaf4  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libreactnative.so (facebook::react::RuntimeScheduler_Modern::runEventLoop(facebook::jsi::Runtime&, bool)+136) (BuildId: 67662b5cff29b6c1)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #18 pc 0000000000317718  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libreactnative.so (BuildId: 67662b5cff29b6c1)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #19 pc 00000000004eccb4  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libreactnative.so (BuildId: 67662b5cff29b6c1)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #20 pc 0000000000017dd0  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libfbjni.so (facebook::jni::detail::MethodWrapper<void (facebook::jni::JNativeRunnable::*)(), &(facebook::jni::JNativeRunnable::run()), facebook::jni::JNativeRunnable, void>::dispatch(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>)+72) (BuildId: e438f6554af1d86b210a05412e96c4251e570157)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #21 pc 0000000000017d10  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/lib/arm64/libfbjni.so (facebook::jni::detail::FunctionWrapper<void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>), facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*, void>::call(_JNIEnv*, _jobject*, void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>))+60) (BuildId: e438f6554af1d86b210a05412e96c4251e570157)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #22 pc 000000000030c3c0  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+112)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #23 pc 0000000000940a04  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Handler.dispatchMessage+68)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #24 pc 0000000000782420  /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 4ccb65ae9ac5ad5da3af5a342d5b0b92)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #25 pc 00000000004a484c  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/oat/arm64/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage+0)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #26 pc 00000000009443c4  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Looper.loopOnce+980)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #27 pc 0000000000943f54  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (android.os.Looper.loop+916)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #28 pc 0000000000781508  /apex/com.android.art/lib64/libart.so (nterp_helper+152) (BuildId: 4ccb65ae9ac5ad5da3af5a342d5b0b92)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #29 pc 00000000004a4e22  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/oat/arm64/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadImpl.lambda$startNewBackgroundThread$2+70)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #30 pc 0000000000781508  /apex/com.android.art/lib64/libart.so (nterp_helper+152) (BuildId: 4ccb65ae9ac5ad5da3af5a342d5b0b92)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #31 pc 00000000004a4c28  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/oat/arm64/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadImpl.$r8$lambda$A-xptrrouKKkxROXrYr0wU31v4c+0)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #32 pc 0000000000781508  /apex/com.android.art/lib64/libart.so (nterp_helper+152) (BuildId: 4ccb65ae9ac5ad5da3af5a342d5b0b92)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #33 pc 00000000004a48e4  /data/app/~~gil-2Jr7pbp3H1fFAnCwSw==/org.me.mobiexpensifyg.adhoc-w-oP8wfPcugrwyq_28gG0g==/oat/arm64/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadImpl$$ExternalSyntheticLambda1.run+4)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #34 pc 00000000003e54e0  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.lang.Thread.run+64)
05-27 17:07:03.530  6956  6956 F DEBUG   :       #35 pc 0000000000368774  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 4ccb65ae9ac5ad5da3af5a342d5b0b92)
05-27 17:07:03.531  6956  6956 F DEBUG   :       #36 pc 0000000000353f24  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+132) (BuildId: 4ccb65ae9ac5ad5da3af5a342d5b0b92)
05-27 17:07:03.531  6956  6956 F DEBUG   :       #37 pc 0000000000947748  /apex/com.android.art/lib64/libart.so (_ZN3art9ArtMethod14InvokeInstanceILc86ETpTncJEEENS_6detail12ShortyTraitsIXT_EE4TypeEPNS_6ThreadENS_6ObjPtrINS_6mirror6ObjectEEEDpNS3_IXT0_EE4TypeE+60) (BuildId: 4ccb65ae9ac5ad5da3af5a342d5b0b92)
05-27 17:07:03.531  6956  6956 F DEBUG   :       #38 pc 0000000000636e80  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1344) (BuildId: 4ccb65ae9ac5ad5da3af5a342d5b0b92)
05-27 17:07:03.531  6956  6956 F DEBUG   :       #39 pc 0000000000636930  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallbackWithUffdGc(void*)+8) (BuildId: 4ccb65ae9ac5ad5da3af5a342d5b0b92)
05-27 17:07:03.531  6956  6956 F DEBUG   :       #40 pc 00000000000cb6a8  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: a87908b48b368e6282bcc9f34bcfc28c)
05-27 17:07:03.531  6956  6956 F DEBUG   :       #41 pc 000000000006821c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: a87908b48b368e6282bcc9f34bcfc28c)
05-27 17:07:03.544   204   204 E tombstoned: Tombstone written to: tombstone_30
05-27 17:07:03.551   663  6961 W ActivityManager: Process org.me.mobiexpensifyg.adhoc has crashed too many times, killing! Reason: crashed quickly

@pac-guerreiro
Copy link
Copy Markdown
Contributor Author

@fabioh8010 damn 🫨 I confirm that the android app is crashing on my emulator also

@fabioh8010
Copy link
Copy Markdown
Contributor

@Ollyws @mountiny Is possible to trigger a Adhoc build for main?

@github-actions
Copy link
Copy Markdown
Contributor

🚧 @Beamanator has triggered a test app build. You can view the workflow run here.

@github-actions

This comment was marked as outdated.

@Ollyws
Copy link
Copy Markdown
Contributor

Ollyws commented May 27, 2025

It's crashing for me on that build too.

@github-actions
Copy link
Copy Markdown
Contributor

🚧 @marcaaron has triggered a test app build. You can view the workflow run here.

@marcaaron
Copy link
Copy Markdown
Contributor

marcaaron commented May 27, 2025

Going to do one more test on a few Android devices in browser stack to confirm there are no more crashes then will merge and CP this change.

@github-actions
Copy link
Copy Markdown
Contributor

🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪

Android 🤖 iOS 🍎
Android 🤖🔄 iOS 🍎🔄
https://ad-hoc-expensify-cash.s3.amazonaws.com/android/62827-hybrid/index.html
Android iOS
Desktop 💻 Web 🕸️
❌ FAILED ❌ ❌ FAILED ❌
The QR code can't be generated, because the Desktop build failed The QR code can't be generated, because the Web build failed

👀 View the workflow run that generated this build 👀

@Ollyws
Copy link
Copy Markdown
Contributor

Ollyws commented May 27, 2025

Reviewer Checklist

  • I have verified the author checklist is complete (all boxes are checked off).
  • I verified the correct issue is linked in the ### Fixed Issues section above
  • I verified testing steps are clear and they cover the changes made in this PR
    • I verified the steps for local testing are in the Tests section
    • I verified the steps for Staging and/or Production testing are in the QA steps section
    • I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
  • I checked that screenshots or videos are included for tests on all platforms
  • I included screenshots or videos for tests on all platforms
  • I verified that the composer does not automatically focus or open the keyboard on mobile unless explicitly intended. This includes checking that returning the app from the background does not unexpectedly open the keyboard.
  • I verified tests pass on all platforms & I tested again on:
    • Android: HybridApp
    • Android: mWeb Chrome
    • iOS: HybridApp
    • iOS: mWeb Safari
    • MacOS: Chrome / Safari
    • MacOS: Desktop
  • If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
  • I verified there are no new alerts related to the canBeMissing param for useOnyx
  • I verified proper code patterns were followed (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
    • I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
    • I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
    • I verified the JSDocs style guidelines (in STYLE.md) were followed
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I verified that this PR follows the guidelines as stated in the Review Guidelines
  • I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
  • I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
  • I verified any variables that can be defined as constants (ie. in CONST.ts or at the top of the file that uses the constant) are defined as such
  • If a new component is created I verified that:
    • A similar component doesn't exist in the codebase
    • All props are defined accurately and each prop has a /** comment above it */
    • The file is named correctly
    • The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
    • The only data being stored in the state is data necessary for rendering and nothing else
    • For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
    • Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
    • All JSX used for rendering exists in the render method
    • The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
  • If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:
    • I verified that all the inputs inside a form are aligned with each other.
    • I added Design label and/or tagged @Expensify/design so the design team can review the changes.
  • If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
  • For any bug fix or new feature in this PR, I verified that sufficient unit tests are included to prevent regressions in this flow.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
  • I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: HybridApp
01_Android_Native.mp4
Android: mWeb Chrome
02_Android_Chrome.mp4
iOS: HybridApp
03_iOS_Native.mp4
iOS: mWeb Safari
04_iOS_Safari.mp4
MacOS: Chrome / Safari
05_MacOS_Chrome.mp4
MacOS: Desktop
06_MacOS_Desktop.mp4

Copy link
Copy Markdown
Contributor

@Ollyws Ollyws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@melvin-bot melvin-bot bot requested a review from marcaaron May 27, 2025 19:37
@marcaaron marcaaron merged commit 5cf5257 into Expensify:main May 27, 2025
16 checks passed
@marcaaron marcaaron changed the title chore: attempt at fixing infinite loading on android [CP Staging] chore: attempt at fixing infinite loading on android May 27, 2025
@marcaaron
Copy link
Copy Markdown
Contributor

Tested this via BrowserStack and was able to get through the flow 🎉

OSBotify pushed a commit that referenced this pull request May 27, 2025
…2688-test-drive-button-loads-infinitely-after-submitting-email

chore: attempt at fixing infinite loading on android
(cherry picked from commit 5cf5257)

(cherry-picked to staging by marcaaron)
@OSBotify OSBotify added the CP Staging marks PRs that have been CP'd to staging label May 27, 2025
@OSBotify
Copy link
Copy Markdown
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@github-actions
Copy link
Copy Markdown
Contributor

🚀 Cherry-picked to staging by https://github.com/marcaaron in version: 9.1.51-10 🚀

platform result
🖥 desktop 🖥 success ✅
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 failure ❌

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

@github-actions
Copy link
Copy Markdown
Contributor

🚀 Deployed to production by https://github.com/Beamanator in version: 9.1.52-0 🚀

platform result
🖥 desktop 🖥 success ✅
🕸 web 🕸 success ✅
🤖 android 🤖 failure ❌
🍎 iOS 🍎 failure ❌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CP Staging marks PRs that have been CP'd to staging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants