Skip to content

Commit

Permalink
@benisgold/poolsuite (#4982)
Browse files Browse the repository at this point in the history
* add sound

* fix sound

* fix splashscreen calls

* add key check

* fix podfile

* some android

* fix podfile

* icons

* things

* things

* fix issue

* lint

* lint

---------

Co-authored-by: Skylar Barrera <[email protected]>
  • Loading branch information
benisgold and skylarbarrera authored Jul 31, 2023
1 parent 24aba34 commit b499853
Show file tree
Hide file tree
Showing 49 changed files with 200 additions and 44 deletions.
13 changes: 13 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,19 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
<activity-alias
android:name="me.rainbow.MainActivitypoolboy"
android:enabled="false"
android:icon="@mipmap/poolboy"
android:roundIcon="@mipmap/poolboy_round"
android:targetActivity=".MainActivity"
android:exported="true"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
<activity-alias
android:name="me.rainbow.MainActivityfiniliar"
android:enabled="false"
Expand Down
5 changes: 5 additions & 0 deletions android/app/src/main/res/mipmap-anydpi-v26/poolboy.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/poolboy_background"/>
<foreground android:drawable="@mipmap/poolboy_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions android/app/src/main/res/mipmap-anydpi-v26/poolboy_round.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/poolboy_background"/>
<foreground android:drawable="@mipmap/poolboy_foreground"/>
</adaptive-icon>
Binary file added android/app/src/main/res/mipmap-hdpi/poolboy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/app/src/main/res/mipmap-ldpi/poolboy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/app/src/main/res/mipmap-mdpi/poolboy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/app/src/main/res/mipmap-xhdpi/poolboy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ios/AppIcons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ios/AppIcons/[email protected]
92 changes: 52 additions & 40 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ PODS:
- Firebase/RemoteConfig (8.14.0):
- Firebase/CoreOnly
- FirebaseRemoteConfig (~> 8.14.0)
- FirebaseABTesting (8.14.0):
- FirebaseABTesting (8.15.0):
- FirebaseCore (~> 8.0)
- FirebaseCore (8.14.0):
- FirebaseCoreDiagnostics (~> 8.0)
- GoogleUtilities/Environment (~> 7.7)
- GoogleUtilities/Logger (~> 7.7)
- FirebaseCoreDiagnostics (8.14.0):
- FirebaseCoreDiagnostics (8.15.0):
- GoogleDataTransport (~> 9.1)
- GoogleUtilities/Environment (~> 7.7)
- GoogleUtilities/Logger (~> 7.7)
Expand All @@ -48,7 +48,7 @@ PODS:
- GoogleUtilities/Environment (~> 7.7)
- nanopb (~> 2.30908.0)
- PromisesObjC (< 3.0, >= 1.2)
- FirebaseInstallations (8.14.0):
- FirebaseInstallations (8.15.0):
- FirebaseCore (~> 8.0)
- GoogleUtilities/Environment (~> 7.7)
- GoogleUtilities/UserDefaults (~> 7.7)
Expand All @@ -68,7 +68,7 @@ PODS:
- FirebaseInstallations (~> 8.0)
- GoogleUtilities/Environment (~> 7.7)
- "GoogleUtilities/NSData+zlib (~> 7.7)"
- FLAnimatedImage (1.0.16)
- FLAnimatedImage (1.0.17)
- Flipper (0.182.0):
- Flipper-Folly (~> 2.6)
- Flipper-Boost-iOSX (1.76.0.1.11)
Expand Down Expand Up @@ -131,26 +131,26 @@ PODS:
- FlipperKit/FlipperKitNetworkPlugin
- fmt (6.2.1)
- glog (0.3.5)
- GoogleDataTransport (9.1.2):
- GoogleUtilities/Environment (~> 7.2)
- nanopb (~> 2.30908.0)
- GoogleDataTransport (9.2.3):
- GoogleUtilities/Environment (~> 7.7)
- nanopb (< 2.30910.0, >= 2.30908.0)
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/AppDelegateSwizzler (7.7.0):
- GoogleUtilities/AppDelegateSwizzler (7.11.4):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (7.7.0):
- GoogleUtilities/Environment (7.11.4):
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/Logger (7.7.0):
- GoogleUtilities/Logger (7.11.4):
- GoogleUtilities/Environment
- GoogleUtilities/Network (7.7.0):
- GoogleUtilities/Network (7.11.4):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (7.7.0)"
- GoogleUtilities/Reachability (7.7.0):
- "GoogleUtilities/NSData+zlib (7.11.4)"
- GoogleUtilities/Reachability (7.11.4):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (7.7.0):
- GoogleUtilities/UserDefaults (7.11.4):
- GoogleUtilities/Logger
- hermes-engine (0.70.9)
- JWT (3.0.0-beta.14):
Expand All @@ -160,18 +160,21 @@ PODS:
- KTVHTTPCache (2.0.1):
- KTVCocoaHTTPServer
- libevent (2.1.12)
- libwebp (1.2.1):
- libwebp/demux (= 1.2.1)
- libwebp/mux (= 1.2.1)
- libwebp/webp (= 1.2.1)
- libwebp/demux (1.2.1):
- libwebp (1.3.1):
- libwebp/demux (= 1.3.1)
- libwebp/mux (= 1.3.1)
- libwebp/sharpyuv (= 1.3.1)
- libwebp/webp (= 1.3.1)
- libwebp/demux (1.3.1):
- libwebp/webp
- libwebp/mux (1.2.1):
- libwebp/mux (1.3.1):
- libwebp/demux
- libwebp/webp (1.2.1)
- MMKV (1.2.13):
- MMKVCore (~> 1.2.13)
- MMKVCore (1.2.13)
- libwebp/sharpyuv (1.3.1)
- libwebp/webp (1.3.1):
- libwebp/sharpyuv
- MMKV (1.3.0):
- MMKVCore (~> 1.3.0)
- MMKVCore (1.3.0)
- MultiplatformBleAdapter (0.1.9)
- nanopb (2.30908.0):
- nanopb/decode (= 2.30908.0)
Expand All @@ -187,7 +190,7 @@ PODS:
- Permission-Notifications (3.6.1):
- RNPermissions
- Plaid (4.1.0)
- PromisesObjC (2.0.0)
- PromisesObjC (2.3.1)
- Rainbow-Internals (0.1.0):
- React-Core
- RCT-Folly (2021.07.22.00):
Expand Down Expand Up @@ -703,14 +706,19 @@ PODS:
- Sentry (= 7.11.0)
- RNShare (8.2.1):
- React-Core
- RNSound (0.11.2):
- React-Core
- RNSound/Core (= 0.11.2)
- RNSound/Core (0.11.2):
- React-Core
- RNSVG (13.9.0):
- React-Core
- RNTextSize (4.0.0-rc.1):
- React
- SDWebImage (5.12.6):
- SDWebImage/Core (= 5.12.6)
- SDWebImage/Core (5.12.6)
- SDWebImageWebPCoder (0.8.4):
- SDWebImageWebPCoder (0.8.5):
- libwebp (~> 1.0)
- SDWebImage/Core (~> 5.10)
- segment-analytics-react-native (2.7.0):
Expand All @@ -720,7 +728,7 @@ PODS:
- Sentry/Core (= 7.11.0)
- Sentry/Core (7.11.0)
- Shimmer (1.0.2)
- SocketRocket (0.6.0)
- SocketRocket (0.6.1)
- sovran-react-native (0.4.3):
- React-Core
- SRSRadialGradient (1.0.10):
Expand Down Expand Up @@ -870,6 +878,7 @@ DEPENDENCIES:
- RNScreens (from `../node_modules/react-native-screens`)
- "RNSentry (from `../node_modules/@sentry/react-native`)"
- RNShare (from `../node_modules/react-native-share`)
- RNSound (from `../node_modules/react-native-sound`)
- RNSVG (from `../node_modules/react-native-svg`)
- RNTextSize (from `../node_modules/react-native-text-size`)
- "segment-analytics-react-native (from `../node_modules/@segment/analytics-react-native`)"
Expand Down Expand Up @@ -1137,6 +1146,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/@sentry/react-native"
RNShare:
:path: "../node_modules/react-native-share"
RNSound:
:path: "../node_modules/react-native-sound"
RNSVG:
:path: "../node_modules/react-native-svg"
RNTextSize:
Expand Down Expand Up @@ -1170,14 +1181,14 @@ SPEC CHECKSUMS:
FBLazyVector: bc76253beb7463b688aa6af913b822ed631de31a
FBReactNativeSpec: 85d34420d92cb178897de05e3aba90e7a8568162
Firebase: 7e8fe528c161b9271d365217a74c16aaf834578e
FirebaseABTesting: aaa0e096c9fc9972ce6806d596e8fcc077d4371f
FirebaseABTesting: 10cbce8db9985ae2e3847ea44e9947dd18f94e10
FirebaseCore: b84a44ee7ba999e0f9f76d198a9c7f60a797b848
FirebaseCoreDiagnostics: fd0c8490f34287229c1d6c103d3a55f81ec85712
FirebaseCoreDiagnostics: 92e07a649aeb66352b319d43bdd2ee3942af84cb
FirebaseCrashlytics: 079ef36f5c4b7161188928faec40fa276ebefd84
FirebaseInstallations: 7d1d967a307c12f1aadd76844fc321cef699b1ce
FirebaseInstallations: 40bd9054049b2eae9a2c38ef1c3dd213df3605cd
FirebaseMessaging: 5ebc42d281567658a2cb72b9ef3506e4a1a1a6e4
FirebaseRemoteConfig: a5d9188d8f57f602636f111eca6460ebe32b9b71
FLAnimatedImage: 8f3e854ebf9680b71f0b6e700939687fc4d82b4b
FLAnimatedImage: bbf914596368867157cc71b38a8ec834b3eeb32b
Flipper: 6edb735e6c3e332975d1b17956bcc584eccf5818
Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c
Flipper-DoubleConversion: 2dc99b02f658daf147069aad9dbd29d8feb06d30
Expand All @@ -1189,16 +1200,16 @@ SPEC CHECKSUMS:
FlipperKit: 2efad7007d6745a3f95e4034d547be637f89d3f6
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
GoogleDataTransport: 629c20a4d363167143f30ea78320d5a7eb8bd940
GoogleUtilities: e0913149f6b0625b553d70dae12b49fc62914fd1
GoogleDataTransport: f0308f5905a745f94fb91fea9c6cbaf3831cb1bd
GoogleUtilities: c63691989bf362ba0505507da00eeb326192e83e
hermes-engine: 918ec5addfbc430c9f443376d739f088b6dc96c3
JWT: ef71dfb03e1f842081e64dc42eef0e164f35d251
KTVCocoaHTTPServer: df8d7b861e603ff8037e9b2138aca2563a6b768d
KTVHTTPCache: 588c3eb16f6bd1e6fde1e230dabfb7bd4e490a4d
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
libwebp: 98a37e597e40bfdb4c911fc98f2c53d0b12d05fc
MMKV: aac95d817a100479445633f2b3ed8961b4ac5043
MMKVCore: 3388952ded307e41b3ed8a05892736a236ed1b8e
libwebp: 33dc822fbbf4503668d09f7885bbfedc76c45e96
MMKV: 9c6c3fa4ddd849f28c7b9a5c9d23aab84f14ee35
MMKVCore: 9bb7440b170181ac5b81f542ac258103542e693d
MultiplatformBleAdapter: 5a6a897b006764392f9cef785e4360f54fb9477d
nanopb: a0ba3315591a9ae0a16a309ee504766e90db0c96
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
Expand All @@ -1207,7 +1218,7 @@ SPEC CHECKSUMS:
Permission-FaceID: e70223280292a1a5e4b8ad943b70cd9229a7d2c3
Permission-Notifications: 150484ae586eb9be4e32217582a78350a9bb31c3
Plaid: 7d340abeadb46c7aa1a91f896c5b22395a31fcf2
PromisesObjC: 68159ce6952d93e17b2dfe273b8c40907db5ba58
PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4
Rainbow-Internals: 6e69837f173f2017e4fff07e64d77d429e5a958c
RCT-Folly: 0080d0a6ebf2577475bda044aa59e2ca1f909cda
RCTRequired: db184d894eed9e15f1fa80c3372595b7ec360580
Expand Down Expand Up @@ -1299,14 +1310,15 @@ SPEC CHECKSUMS:
RNScreens: c526239bbe0e957b988dacc8d75ac94ec9cb19da
RNSentry: fbbdcd7213058e3de5fbaa452b25a06a16b4b382
RNShare: eaee3dd5a06dad397c7d3b14762007035c5de405
RNSound: 6c156f925295bdc83e8e422e7d8b38d33bc71852
RNSVG: 53c661b76829783cdaf9b7a57258f3d3b4c28315
RNTextSize: 21c94a67819fbf2c358a219bf6d251e3be9e5f29
SDWebImage: a47aea9e3d8816015db4e523daff50cfd294499d
SDWebImageWebPCoder: f93010f3f6c031e2f8fb3081ca4ee6966c539815
SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d
segment-analytics-react-native: e4be824133efd888616f6e6654a2cd4b1b8a3102
Sentry: 0c5cd63d714187b4a39c331c1f0eb04ba7868341
Shimmer: c5374be1c2b0c9e292fb05b339a513cf291cac86
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
sovran-react-native: d9adc84c3666579aacd5d96e315e399cd52241ac
SRSRadialGradient: e5a34825dff88c9cf773b58bf39ed6a02e59a084
SSZipArchive: 62d4947b08730e4cda640473b0066d209ff033c9
Expand All @@ -1319,4 +1331,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 2adc9331fbb742f03e06929d7b5a58fc44e6874c

COCOAPODS: 1.12.1
COCOAPODS: 1.11.2
8 changes: 8 additions & 0 deletions ios/Rainbow.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
B54C1D172935A54F007560D9 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = B54C1D152935A54F007560D9 /* [email protected] */; };
B5C070C62A4A387400D854BA /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = B5C070C42A4A387400D854BA /* [email protected] */; };
B5C070C72A4A387400D854BA /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = B5C070C52A4A387400D854BA /* [email protected] */; };
B5CC6D382A78732A0037D5A3 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = B5CC6D372A78732A0037D5A3 /* [email protected] */; };
B5CC6D3A2A7873300037D5A3 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = B5CC6D392A7873300037D5A3 /* [email protected] */; };
B5CE8FFE29A5758100EB1EFA /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = B5CE8FFC29A5758100EB1EFA /* [email protected] */; };
B5CE8FFF29A5758100EB1EFA /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = B5CE8FFD29A5758100EB1EFA /* [email protected] */; };
B5D7F2F029E8D41E003D6A54 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = B5D7F2EE29E8D41D003D6A54 /* [email protected] */; };
Expand Down Expand Up @@ -265,6 +267,8 @@
B54C1D152935A54F007560D9 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
B5C070C42A4A387400D854BA /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
B5C070C52A4A387400D854BA /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
B5CC6D372A78732A0037D5A3 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
B5CC6D392A7873300037D5A3 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
B5CE8FFC29A5758100EB1EFA /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
B5CE8FFD29A5758100EB1EFA /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
B5D7F2EE29E8D41D003D6A54 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -435,9 +439,11 @@
B54C1D0C29358945007560D9 /* [email protected] */,
B54C1D0F29358946007560D9 /* [email protected] */,
B54C1D0E29358946007560D9 /* [email protected] */,
B5CC6D372A78732A0037D5A3 /* [email protected] */,
B54C1D152935A54F007560D9 /* [email protected] */,
B54C1D142935A54F007560D9 /* [email protected] */,
15CF49BA2889AF7C005F92C9 /* [email protected] */,
B5CC6D392A7873300037D5A3 /* [email protected] */,
15C3987F2880EDFF006033AC /* [email protected] */,
15C3987D2880EDFF006033AC /* [email protected] */,
);
Expand Down Expand Up @@ -858,13 +864,15 @@
B54C1D162935A54F007560D9 /* [email protected] in Resources */,
B5CE8FFE29A5758100EB1EFA /* [email protected] in Resources */,
B5C070C72A4A387400D854BA /* [email protected] in Resources */,
B5CC6D382A78732A0037D5A3 /* [email protected] in Resources */,
15CF49BD2889AF7C005F92C9 /* [email protected] in Resources */,
1539422824C7C7E200E4A9D1 /* Settings.bundle in Resources */,
15C398832880EDFF006033AC /* [email protected] in Resources */,
B54C1D1129358946007560D9 /* [email protected] in Resources */,
B54C1D1229358946007560D9 /* [email protected] in Resources */,
15CF49C12889AFAD005F92C9 /* [email protected] in Resources */,
C04D10F025AFC8C1003BEF7A /* Extras.json in Resources */,
B5CC6D3A2A7873300037D5A3 /* [email protected] in Resources */,
C1C61A82272CBDA100E5C0B3 /* Images.xcassets in Resources */,
AA6228EF24272F510078BDAA /* SF-Pro-Rounded-Bold.otf in Resources */,
AA6228F024272F510078BDAA /* SF-Pro-Rounded-Heavy.otf in Resources */,
Expand Down
9 changes: 9 additions & 0 deletions ios/Rainbow/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
<string>pooly</string>
</array>
</dict>
<key>poolboy</key>
<dict>
<key>UIPrerenderedIcon</key>
<false/>
<key>CFBundleIconFiles</key>
<array>
<string>poolboy</string>
</array>
</dict>
<key>smol</key>
<dict>
<key>UIPrerenderedIcon</key>
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@
"react-native-screens": "2.9.0",
"react-native-section-list-get-item-layout": "2.2.3",
"react-native-share": "8.2.1",
"react-native-sound": "0.11.2",
"react-native-splash-screen": "3.2.0",
"react-native-storage": "1.0.1",
"react-native-store-review": "0.1.5",
Expand Down
Binary file added src/assets/appIconPoolboy.png
Binary file added src/assets/[email protected]
Binary file added src/assets/[email protected]
Binary file added src/assets/sounds/RainbowSega.mp3
Binary file not shown.
4 changes: 3 additions & 1 deletion src/design-system/playground/Playground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ const colorModes: ColorMode[] = ['light', 'dark', 'darkTinted'];

const HideSplashScreen = ({ children }: { children: ReactNode }) => {
const hideSplashScreen = useHideSplashScreen();
useEffect(hideSplashScreen, [hideSplashScreen]);
useEffect(() => {
hideSplashScreen();
}, [hideSplashScreen]);

return <>{children}</>;
};
Expand Down
3 changes: 3 additions & 0 deletions src/featuresToUnlock/featureUnlockChecks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
FiniliarIcon,
GoldDogeIcon,
OptimismIcon,
PoolboyIcon,
PoolyIcon,
RainDogeIcon,
SmolIcon,
Expand Down Expand Up @@ -35,4 +36,6 @@ export const featureUnlockChecks: FeatureUnlockCheck[] = [
await unlockableAppIconCheck(FiniliarIcon, walletsToCheck),
async (walletsToCheck: EthereumAddress[]) =>
await unlockableAppIconCheck(ZorbIcon, walletsToCheck),
async (walletsToCheck: EthereumAddress[]) =>
await unlockableAppIconCheck(PoolboyIcon, walletsToCheck),
];
12 changes: 12 additions & 0 deletions src/featuresToUnlock/unlockableAppIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ const FINILIAR_NFT_ADDRESS: EthereumAddress =
const ZORB_NFT_ADDRESS: EthereumAddress =
'0x12e4527e2807978a49469f8d757abf5e07b32b8f';

// poolboy app icon unlocking NFTs
const POOLBOY_NFT_ADDRESS: EthereumAddress =
'0xf25298fa62a2eb94fc06626966f6f21399b4c508';

export interface UnlockableAppIcon {
key: string; // string used for analytics
network: Network; // network that the unlockingNfts exist on
Expand Down Expand Up @@ -117,3 +121,11 @@ export const ZorbIcon: UnlockableAppIcon = {
unlockingNfts: [ZORB_NFT_ADDRESS],
unlockKey: 'zorb_nft_app_icon',
};

export const PoolboyIcon: UnlockableAppIcon = {
key: 'poolboy',
explainSheetType: 'poolboy_app_icon',
network: Network.mainnet,
unlockingNfts: [POOLBOY_NFT_ADDRESS],
unlockKey: 'poolboy_nft_app_icon',
};
Loading

0 comments on commit b499853

Please sign in to comment.