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

chore: remove native advanced settings #5416

Merged
merged 5 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/macstadium-e2e.yml
Expand Up @@ -22,20 +22,26 @@ jobs:
- uses: actions/checkout@v3

- name: Set up github keys
run: git config core.sshCommand "ssh -i ~/.ssh/id_ed25519 -F /dev/null"
run: echo 'hi 00' && git config core.sshCommand "ssh -i ~/.ssh/id_ed25519 -F /dev/null" && echo 'hi 0'

- name: Set up ENV vars & scripts
run: |
# read local env vars
echo 'hi'
source ~/.bashrc
echo 'hi 1'
# fetch env vars
git clone git@github.com:rainbow-me/rainbow-env.git
echo '2'
# unpack dotenv
mv rainbow-env/dotenv .env && rm -rf rainbow-env
# run CI scripts
echo 'hi 3'
eval $CI_SCRIPTS
echo 'hi 4'
# tweak dotenv for e2e
sed -i''-e "s/\IS_TESTING=false/IS_TESTING=true/" .env && rm -f .env-e
echo 'hi 5'
- name: Install deps via Yarn
run: yarn setup-ci

Expand Down
16 changes: 0 additions & 16 deletions ios/Rainbow.xcodeproj/project.pbxproj
Expand Up @@ -12,8 +12,6 @@
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
1539422824C7C7E200E4A9D1 /* Settings.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 1539422724C7C7E100E4A9D1 /* Settings.bundle */; };
1539422D24C7CF9300E4A9D1 /* SettingsBundleHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1539422C24C7CF9300E4A9D1 /* SettingsBundleHelper.swift */; };
15C398812880EDFF006033AC /* og@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 15C3987D2880EDFF006033AC /* og@3x.png */; };
15C398832880EDFF006033AC /* og@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 15C3987F2880EDFF006033AC /* og@2x.png */; };
15CF49BC2889AF7C005F92C9 /* optimism@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 15CF49BA2889AF7C005F92C9 /* optimism@3x.png */; };
Expand Down Expand Up @@ -191,8 +189,6 @@
13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Rainbow/Info.plist; sourceTree = "<group>"; };
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Rainbow/main.m; sourceTree = "<group>"; };
1539422724C7C7E100E4A9D1 /* Settings.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Settings.bundle; sourceTree = "<group>"; };
1539422C24C7CF9300E4A9D1 /* SettingsBundleHelper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsBundleHelper.swift; sourceTree = "<group>"; };
157155032418733F009B698B /* RainbowRelease.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = RainbowRelease.entitlements; path = Rainbow/RainbowRelease.entitlements; sourceTree = "<group>"; };
157155042418734C009B698B /* RainbowDebug.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = RainbowDebug.entitlements; path = Rainbow/RainbowDebug.entitlements; sourceTree = "<group>"; };
15C3987D2880EDFF006033AC /* og@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "og@3x.png"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -401,7 +397,6 @@
children = (
15C398772880DF82006033AC /* AppIcons */,
4D098C2C2811A95F006A801A /* RNStartTime */,
1539422B24C7CF7B00E4A9D1 /* Settings */,
66A1FEAE24AB63D600C3F539 /* RNCoolModals */,
15E531D7242DAB3500797B89 /* NSNotifications */,
15E531D6242B28F800797B89 /* Animations */,
Expand All @@ -419,22 +414,13 @@
A4277D9E23CBD1910042BAF4 /* Extensions.swift */,
A4277DA223CFE85F0042BAF4 /* Theme.swift */,
6635730524939991006ACFA6 /* SafeStoreReview.m */,
1539422724C7C7E100E4A9D1 /* Settings.bundle */,
66A28EAF24CAF1B500410A88 /* TestFlight.m */,
C04D10EF25AFC8C1003BEF7A /* Extras.json */,
6655FFB325BB2B0700642961 /* ThemeModule.m */,
);
name = Rainbow;
sourceTree = "<group>";
};
1539422B24C7CF7B00E4A9D1 /* Settings */ = {
isa = PBXGroup;
children = (
1539422C24C7CF9300E4A9D1 /* SettingsBundleHelper.swift */,
);
name = Settings;
sourceTree = "<group>";
};
15C398772880DF82006033AC /* AppIcons */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -889,7 +875,6 @@
B5C070C72A4A387400D854BA /* zorb@2x.png in Resources */,
B5CC6D382A78732A0037D5A3 /* poolboy@2x.png in Resources */,
15CF49BD2889AF7C005F92C9 /* optimism@2x.png in Resources */,
1539422824C7C7E200E4A9D1 /* Settings.bundle in Resources */,
15C398832880EDFF006033AC /* og@2x.png in Resources */,
AA0B1CBB2B00C5E100EAF77D /* SF-Mono-Semibold.otf in Resources */,
B50C9AEC2A9D18DC00EB0019 /* adworld@2x.png in Resources */,
Expand Down Expand Up @@ -1178,7 +1163,6 @@
C18FCD3C273C64D10079CE28 /* TokenDetails.swift in Sources */,
C179298527499A5B00044684 /* Constants.swift in Sources */,
6655FFB425BB2B0700642961 /* ThemeModule.m in Sources */,
1539422D24C7CF9300E4A9D1 /* SettingsBundleHelper.swift in Sources */,
C18C8E022798B02700D38B34 /* CurrencyProvider.swift in Sources */,
66A1FEB624AB641100C3F539 /* RNCMScreen.m in Sources */,
C18FCD3F273C64D80079CE28 /* CoinGeckoToken.swift in Sources */,
Expand Down
5 changes: 0 additions & 5 deletions ios/Rainbow/AppDelegate.mm
Expand Up @@ -163,11 +163,6 @@ - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDiction
}

- (void)applicationDidBecomeActive:(UIApplication *)application{
BOOL action = [SettingsBundleHelper checkAndExecuteSettings];
if(action){
[SentrySDK captureMessage:@"Keychain Wiped!"];
RCTTriggerReloadCommandListeners(@"keychain wiped");
}
// delete the badge
[UIApplication sharedApplication].applicationIconBadgeNumber = 0;
// delete the notifications from WC
Expand Down
27 changes: 0 additions & 27 deletions ios/Settings.bundle/Advanced.plist

This file was deleted.

19 changes: 0 additions & 19 deletions ios/Settings.bundle/Root.plist

This file was deleted.

Binary file removed ios/Settings.bundle/en.lproj/Root.strings
Binary file not shown.
32 changes: 0 additions & 32 deletions ios/SettingsBundleHelper.swift

This file was deleted.

196 changes: 0 additions & 196 deletions src/state/nonces/index.test.skip

This file was deleted.