File tree Expand file tree Collapse file tree 3 files changed +212
-24
lines changed
Expand file tree Collapse file tree 3 files changed +212
-24
lines changed Original file line number Diff line number Diff line change 55 "license" : " GNU" ,
66 "scripts" : {
77 "prepare" : " husky install" ,
8+ "postinstall" : " patch-package" ,
89 "start" : " expo start --dev-client" ,
910 "android" : " expo run:android" ,
1011 "ios" : " expo run:ios" ,
166167 "jest" : " ^29.3.1" ,
167168 "jest-expo" : " ~50.0.4" ,
168169 "metro-react-native-babel-transformer" : " ^0.77.0" ,
170+ "patch-package" : " ^8.0.1" ,
169171 "path" : " ^0.12.7" ,
170172 "postcss" : " ^8.2.15" ,
173+ "postinstall-postinstall" : " ^2.1.0" ,
171174 "prettier" : " ^2.3.2" ,
172175 "react-native-svg-transformer" : " ^0.14.3" ,
173176 "react-test-renderer" : " ^18.2.0" ,
179182 },
180183 "engines" : {
181184 "node" : " >=16.16.0"
185+ },
186+ "resolutions" : {
187+ "pbkdf2" : " ^3.1.3"
182188 }
183189}
Original file line number Diff line number Diff line change 1+ diff --git a/node_modules/expo-device/ios/UIDevice.swift b/node_modules/expo-device/ios/UIDevice.swift
2+ index 7d58ee8..9c2969e 100644
3+ --- a/node_modules/expo-device/ios/UIDevice.swift
4+ +++ b/node_modules/expo-device/ios/UIDevice.swift
5+ @@ -184,9 +184,13 @@ public extension UIDevice {
6+ // swiftlint:enable closure_body_length
7+
8+ // Credit: https://github.com/developerinsider/isJailBroken/blob/master/IsJailBroken/Extension/UIDevice%2BJailBroken.swift
9+ - var isSimulator: Bool {
10+ - return TARGET_OS_SIMULATOR != 0
11+ - }
12+ + var isSimulator: Bool {
13+ + #if targetEnvironment(simulator)
14+ + return true
15+ + #else
16+ + return false
17+ + #endif
18+ + }
19+
20+ var isJailbroken: Bool {
21+ if UIDevice.current.isSimulator {
You can’t perform that action at this time.
0 commit comments