Skip to content

Commit 971f544

Browse files
authored
Merge pull request #315 from OP-Engineering/oscar/get-rid-of-circular-dep
2 parents 6e1a9e6 + e69ae28 commit 971f544

21 files changed

+585
-479
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,8 @@ jobs:
6464
api-level: 29
6565
emulator-options: -no-window -no-boot-anim -no-audio -no-snapshot-load
6666
script: |
67-
adb wait-for-device
68-
adb shell input keyevent 82
6967
./scripts/test-android.sh
68+
7069
test-ios:
7170
runs-on: macos-latest
7271
steps:

example/ios/Podfile.lock

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,6 +1289,75 @@ PODS:
12891289
- React
12901290
- react-native-restart (0.0.27):
12911291
- React-Core
1292+
- react-native-safe-area-context (5.6.1):
1293+
- hermes-engine
1294+
- RCTRequired
1295+
- RCTTypeSafety
1296+
- React-Core
1297+
- React-Core-prebuilt
1298+
- React-debug
1299+
- React-Fabric
1300+
- React-featureflags
1301+
- React-graphics
1302+
- React-ImageManager
1303+
- React-jsi
1304+
- react-native-safe-area-context/common (= 5.6.1)
1305+
- react-native-safe-area-context/fabric (= 5.6.1)
1306+
- React-NativeModulesApple
1307+
- React-RCTFabric
1308+
- React-renderercss
1309+
- React-rendererdebug
1310+
- React-utils
1311+
- ReactCodegen
1312+
- ReactCommon/turbomodule/bridging
1313+
- ReactCommon/turbomodule/core
1314+
- ReactNativeDependencies
1315+
- Yoga
1316+
- react-native-safe-area-context/common (5.6.1):
1317+
- hermes-engine
1318+
- RCTRequired
1319+
- RCTTypeSafety
1320+
- React-Core
1321+
- React-Core-prebuilt
1322+
- React-debug
1323+
- React-Fabric
1324+
- React-featureflags
1325+
- React-graphics
1326+
- React-ImageManager
1327+
- React-jsi
1328+
- React-NativeModulesApple
1329+
- React-RCTFabric
1330+
- React-renderercss
1331+
- React-rendererdebug
1332+
- React-utils
1333+
- ReactCodegen
1334+
- ReactCommon/turbomodule/bridging
1335+
- ReactCommon/turbomodule/core
1336+
- ReactNativeDependencies
1337+
- Yoga
1338+
- react-native-safe-area-context/fabric (5.6.1):
1339+
- hermes-engine
1340+
- RCTRequired
1341+
- RCTTypeSafety
1342+
- React-Core
1343+
- React-Core-prebuilt
1344+
- React-debug
1345+
- React-Fabric
1346+
- React-featureflags
1347+
- React-graphics
1348+
- React-ImageManager
1349+
- React-jsi
1350+
- react-native-safe-area-context/common
1351+
- React-NativeModulesApple
1352+
- React-RCTFabric
1353+
- React-renderercss
1354+
- React-rendererdebug
1355+
- React-utils
1356+
- ReactCodegen
1357+
- ReactCommon/turbomodule/bridging
1358+
- ReactCommon/turbomodule/core
1359+
- ReactNativeDependencies
1360+
- Yoga
12921361
- React-NativeModulesApple (0.81.0):
12931362
- hermes-engine
12941363
- React-callinvoker
@@ -1680,6 +1749,7 @@ DEPENDENCIES:
16801749
- React-microtasksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`)
16811750
- react-native-http-bridge-refurbished (from `../node_modules/react-native-http-bridge-refurbished`)
16821751
- react-native-restart (from `../node_modules/react-native-restart`)
1752+
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
16831753
- React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`)
16841754
- React-oscompat (from `../node_modules/react-native/ReactCommon/oscompat`)
16851755
- React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
@@ -1795,6 +1865,8 @@ EXTERNAL SOURCES:
17951865
:path: "../node_modules/react-native-http-bridge-refurbished"
17961866
react-native-restart:
17971867
:path: "../node_modules/react-native-restart"
1868+
react-native-safe-area-context:
1869+
:path: "../node_modules/react-native-safe-area-context"
17981870
React-NativeModulesApple:
17991871
:path: "../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios"
18001872
React-oscompat:
@@ -1900,6 +1972,7 @@ SPEC CHECKSUMS:
19001972
React-microtasksnativemodule: d7f49e916033c30e1f64bb6b91e5db6c619df220
19011973
react-native-http-bridge-refurbished: 1bd13b32a8e62abe61bab809c26e2dcf21256ed7
19021974
react-native-restart: 0bc732f4461709022a742bb29bcccf6bbc5b4863
1975+
react-native-safe-area-context: 42a1b4f8774b577d03b53de7326e3d5757fe9513
19031976
React-NativeModulesApple: a93cccc5bd37290cf1e2f40cb32718e74df6e8b5
19041977
React-oscompat: eef0d02e3175b37e2c0eb99f69df82ea2f85f943
19051978
React-perflogger: 3e93a5384103e04f176c257ee463ba810254856c

example/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"android": "react-native run-android",
77
"ios": "react-native run-ios --scheme='debug' --simulator='iPhone 16 Pro'",
88
"run:ios:unused": "xcodebuild -workspace ios/OPSQLiteExample.xcworkspace -scheme release -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 16 Pro' clean build",
9-
"run:ios": "react-native run-ios --scheme='release' --no-packager",
9+
"run:ios:release": "react-native run-ios --scheme='release' --no-packager",
1010
"start": "react-native start",
1111
"pods": "cd ios && bundle exec pod install && rm -f .xcode.env.local",
1212
"pods:nuke": "cd ios && rm -rf Pods && rm -rf Podfile.lock && bundle exec pod install",
@@ -21,7 +21,8 @@
2121
"events": "^3.3.0",
2222
"nativewind": "^2.0.11",
2323
"react": "19.1.1",
24-
"react-native": "0.81.0"
24+
"react-native": "0.81.0",
25+
"react-native-safe-area-context": "^5.6.1"
2526
},
2627
"devDependencies": {
2728
"@babel/core": "^7.25.2",

example/src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import './tests'; // import all tests to register them
1414
export default function App() {
1515
const [results, setResults] = useState<any>(null);
1616
useEffect(() => {
17+
// registerTests();
1718
runTests()
1819
.then(newResults => {
1920
setServerResults(allTestsPassed(newResults));
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

example/src/tests/index.ts

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
import './blob.spec';
2-
import './constants.spec';
3-
import './dbsetup.spec';
4-
import './hooks.spec';
5-
import './preparedStatements.spec';
6-
import './queries.spec';
7-
import './reactive.spec';
8-
import './storage.spec';
9-
import './tokenizer.spec';
1+
import './blob';
2+
import './constants';
3+
import './dbsetup';
4+
import './hooks';
5+
import './preparedStatements';
6+
import './queries';
7+
import './reactive';
8+
import './storage';
9+
import './tokenizer';
10+
11+
// export function registerTests() {
12+
// queries();
13+
// }
File renamed without changes.

0 commit comments

Comments
 (0)