-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Switch to classic - iOS - The survey is skipped after tapping "Switch to Expensify classic" #51526
Comments
Triggered auto assignment to @strepanier03 ( |
@strepanier03 FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
ProposalPlease re-state the problem that we are trying to solve in this issue.The survey is skipped after tapping "Switch to Expensify classic" What is the root cause of that problem?We directly navigate to OD in hybrid app: App/src/pages/settings/InitialSettingsPage.tsx Lines 232 to 242 in 9f97734
That is why survey is skipped What changes do you think we should make in order to solve the problem?We should navigate to the survey link regardless of hybrid app or New App. and then on the confirmation page of the survey we should decide the switching based on the type of app: {
translationKey: 'exitSurvey.goToExpensifyClassic',
icon: Expensicons.ExpensifyLogoNew,
action() {
resetExitSurveyForm(() => Navigation.navigate(ROUTES.SETTINGS_EXIT_SURVEY_REASON));
},
}, Then on confirmation page of exist survey: App/src/pages/settings/ExitSurvey/ExitSurveyConfirmPage.tsx Lines 78 to 87 in 9f97734
<Button
success
large
text={translate('exitSurvey.goToExpensifyClassic')}
pressOnEnter
onPress={() => {
ExitSurvey.switchToOldDot();
Navigation.dismissModal();
if (NativeModules.HybridAppModule) {
NativeModules.HybridAppModule.closeReactNativeApp(false, true);
setInitialURL(undefined);
} else {
Link.openOldDotLink(CONST.OLDDOT_URLS.INBOX);
}
}}
isDisabled={isOffline}
/> What alternative solutions did you explore? (Optional) |
@strepanier03 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
I'll test this tomorrow, running out of steam today. |
@strepanier03 Looks like this is intentional #47856 cc: @war-in |
Hi 👋 cc @AndrewGable since he has a context on internal discussions 🙏 |
Yes we decided to remove this survey and it's expected behavior. @danielrvidal and @anmurali are discussing a cross platform solution in the #convert room and will open up a new issue to handle this, so we can close this one. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.54-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR #51376
Action Performed:
Expected Result:
A survey opens asking for a reason to switch to classic app after tapping "Switch to Expensify classic"
Actual Result:
The survey is skipped, user redirected to the classic app
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6646164_1729895154369.Switch_to_classic_iOS.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: