-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Change Expensify.cash to New Expensify #4408
Conversation
@Jag96 Question:
|
@parasharrajat yes let's update that as well, we can use |
@Jag96 I have changed almost all instances. Please check carefully and tested the app by making builds on each platform. There are still a few places that I am confused of
Could you please help me verify all the changes and tell me if I miss somewhere? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Looks like you got most of them, here's what I suggest updating to fix the other usages:
- Update package.json name to
new.expensify
, then update the Config.js valueLine 40 in c78cad6
APP_NAME: 'ExpensifyCash', - Update usages in Timing.js and Session.js https://github.com/Expensify/App/blame/a47c15c9fe5fef0a04105fa6fd0ce01d6e191ef2/src/libs/actions/Session.js#L123 cc @marcaaron since this will likely change some dashboards, not sure if they're being used
- Update a couple of comments in desktop/main.js https://github.com/Expensify/App/blob/2e0d58963a92c8c8533758eba86f264e52df8139/desktop/main.js#L37
- npm install to update package-lock.json (that should fix the detox config)
- Open the Workspace file in Xcode and update the top left folder to be NewExpensify by clicking twice on it and typing (it will ask you to confirm name change after hitting Enter, just confirm)
- Rename the folders in Xcode from Expensify.cash to NewExpensify (Same for ExpensifyCashTests)
- Go into iOS directory in terminal and remove Podfile.lock, then update the
ExpensifyCash
name in Podfile to be NewExpensify (wheretarget
definitions are), same for tests definition in podfile - Run pod install from iOS Directory
- Try building the app on all devices and confirm it works
@Jag96 Renaming the folders breaks a lot of paths in info.plist and other files. How can I autocorrect them? I am new to IOS projects& xcode. |
No worries, Xcode is a pain when it comes to this stuff. Can you give an example of a path that is messed up or a screenshot of what you're seeing? I think the main things here are:
Going to tag @AndrewGable on this since he did the renaming last time, just to make sure there isn't another strategy that is easier for this |
I believe I followed this stack overflow: https://stackoverflow.com/a/35500038/1858217 |
Thanks, @AndrewGable I got hands-on on that post just today. I am following that. |
@Jag96 All set. It was a hack off the task took around 3 days to carefully change and test everything. Xcode is really bad at managing projects. I have to manually change the path for each source file and rename the old ExpensifyCash to NewExpensify in the Xcode Project metadata. I have tested the build on all platforms. |
There is one BasePackageList.java file that is autogenerated every time I run the android build. I think we should include this in the Code. package com.expensify.chat.generated;
import java.util.Arrays;
import java.util.List;
import org.unimodules.core.interfaces.Package;
public class BasePackageList {
public List<Package> getPackageList() {
return Arrays.<Package>asList(
new expo.modules.haptics.HapticsPackage()
);
}
} |
I have not done this. This will affect backend Dashboards statistics. |
@Jag96 Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Enjoy new conflicts. |
There's currently cherry-pick testing happening, so we'll have to hold off on updating/merging this until that is done. I'll post back here when we're good to go, and after confirming I'll have everybody hold off on merging until we're done w/ this. Sorry for the back and forth here. |
Ok, looks like #4578 didn't work the way I expected it to. CP testing is finished atm so let's try this again. @parasharrajat let me know when you're good to push the conflict resolution commit and I can call for a pause on merging before you push to make sure we get it right this time. |
Done @Jag96. Raise the Horn. |
Skipping unnecessary actions to get this merged: #4408 (comment) |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
This PR is failing in iOS #4739 |
Yep! We can check it off. |
This has been deployed to production and is now subject to a 7-day regression period. |
🚀 Deployed to production by @roryabraham in version: 1.0.86-11 🚀
|
This has been deployed to production and is now subject to a 7-day regression period. |
Details
Fixed Issues
$ Fixes #4213 #4462
Tests | QA Steps
Expensify.cash
should not be visible publicly in the App on any platfrom. Instead you should seeNew Expensify
.Tested On
Screenshots
Can't be depicted.