diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index e806eba..f228136 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -937,6 +937,8 @@ PODS: - React-Mapbuffer (0.74.0): - glog - React-debug + - react-native-safe-area-context (4.10.1): + - React-Core - react-native-ts-identity-orchestration (0.1.0): - DoubleConversion - glog @@ -1187,6 +1189,27 @@ PODS: - React-logger (= 0.74.0) - React-perflogger (= 0.74.0) - React-utils (= 0.74.0) + - RNGestureHandler (2.16.2): + - DoubleConversion + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Codegen + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-NativeModulesApple + - React-RCTFabric + - React-rendererdebug + - React-utils + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - Yoga - SocketRocket (0.7.0) - TSCoreSDK (1.0.21) - Yoga (0.0.0) @@ -1224,6 +1247,7 @@ DEPENDENCIES: - React-jsitracing (from `../node_modules/react-native/ReactCommon/hermes/executor/`) - React-logger (from `../node_modules/react-native/ReactCommon/logger`) - React-Mapbuffer (from `../node_modules/react-native/ReactCommon`) + - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) - react-native-ts-identity-orchestration (from `../..`) - React-nativeconfig (from `../node_modules/react-native/ReactCommon`) - React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`) @@ -1248,6 +1272,7 @@ DEPENDENCIES: - React-runtimescheduler (from `../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`) - React-utils (from `../node_modules/react-native/ReactCommon/react/utils`) - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) + - RNGestureHandler (from `../node_modules/react-native-gesture-handler`) - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) SPEC REPOS: @@ -1318,6 +1343,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/logger" React-Mapbuffer: :path: "../node_modules/react-native/ReactCommon" + react-native-safe-area-context: + :path: "../node_modules/react-native-safe-area-context" react-native-ts-identity-orchestration: :path: "../.." React-nativeconfig: @@ -1366,6 +1393,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/react/utils" ReactCommon: :path: "../node_modules/react-native/ReactCommon" + RNGestureHandler: + :path: "../node_modules/react-native-gesture-handler" Yoga: :path: "../node_modules/react-native/ReactCommon/yoga" @@ -1401,6 +1430,7 @@ SPEC CHECKSUMS: React-jsitracing: 36a2bbc272300313653d980de5ab700ec86c534a React-logger: 03f2f7b955cfe24593a2b8c9705c23e142d1ad24 React-Mapbuffer: 5e05d78fe6505f4a054b86f415733d4ad02dd314 + react-native-safe-area-context: dcab599c527c2d7de2d76507a523d20a0b83823d react-native-ts-identity-orchestration: b88579a2b517d319b87f0dc565ed41967869c066 React-nativeconfig: 951ec32f632e81cbd7d40aebb3211313251c092e React-NativeModulesApple: 0b3a42ca90069119ef79d8b2327d01441d71abd4 @@ -1425,6 +1455,7 @@ SPEC CHECKSUMS: React-runtimescheduler: 7fe561d179b97cecd0c2bec0bbd08f9fd8581c26 React-utils: f013537c3371270d2095bff1d594d00d4bc9261b ReactCommon: 2cde697fd80bd31da1d6448d25a5803088585219 + RNGestureHandler: 2282cfbcf86c360d29f44ace393203afd5c6cff7 SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d TSCoreSDK: e30a537480334e5b9971f955ec3d3cdaa334f0a4 Yoga: 56f906bf6c11c931588191dde1229fd3e4e3d557 diff --git a/example/jest.config.js b/example/jest.config.js index 8eb675e..7e59993 100644 --- a/example/jest.config.js +++ b/example/jest.config.js @@ -1,3 +1,4 @@ module.exports = { preset: 'react-native', + setupFiles: ["../../node_modules/react-native-gesture-handler/jestSetup.js"], }; diff --git a/example/package.json b/example/package.json index 2d7e4eb..5446b9d 100644 --- a/example/package.json +++ b/example/package.json @@ -11,7 +11,9 @@ }, "dependencies": { "react": "18.2.0", - "react-native": "0.74.0" + "react-native": "0.74.0", + "react-native-gesture-handler": "^2.16.2", + "react-native-safe-area-context": "^4.10.1" }, "devDependencies": { "@babel/core": "^7.20.0", diff --git a/package.json b/package.json index df99c2d..44eaf82 100644 --- a/package.json +++ b/package.json @@ -159,6 +159,9 @@ }, "dependencies": { "@react-navigation/native": "^6.1.17", - "@react-navigation/stack": "^6.3.29" + "@react-navigation/stack": "^6.3.29", + "react-native-gesture-handler": "^2.16.2", + "react-native-safe-area-context": "^4.10.1", + "react-native-safe-area-view": "^1.1.1" } } diff --git a/yarn.lock b/yarn.lock index 8dc0477..1226120 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1900,6 +1900,15 @@ __metadata: languageName: node linkType: hard +"@egjs/hammerjs@npm:^2.0.17": + version: 2.0.17 + resolution: "@egjs/hammerjs@npm:2.0.17" + dependencies: + "@types/hammerjs": ^2.0.36 + checksum: 8945137cec5837edd70af3f2e0ea621543eb0aa3b667e6269ec6485350f4d120c2434b37c7c30b1cf42a65275dd61c1f24626749c616696d3956ac0c008c4766 + languageName: node + linkType: hard + "@eslint-community/eslint-utils@npm:^4.2.0": version: 4.4.0 resolution: "@eslint-community/eslint-utils@npm:4.4.0" @@ -3263,6 +3272,13 @@ __metadata: languageName: node linkType: hard +"@types/hammerjs@npm:^2.0.36": + version: 2.0.45 + resolution: "@types/hammerjs@npm:2.0.45" + checksum: 40a29067c485a2a1f4345718104218fcf769adb1dbe091cdb6f679b3293dfa0798b207eb498ee7fd79ae8664c999117738fa0c01753f7465a639128f38c3ff5b + languageName: node + linkType: hard + "@types/http-cache-semantics@npm:^4.0.2": version: 4.0.4 resolution: "@types/http-cache-semantics@npm:4.0.4" @@ -7224,6 +7240,22 @@ __metadata: languageName: node linkType: hard +"hoist-non-react-statics@npm:^2.3.1": + version: 2.5.5 + resolution: "hoist-non-react-statics@npm:2.5.5" + checksum: ee2d05e5c7e1398ad84a15b0327f66bd78f38a8e0015e852f954b36434e32eb7e942d5357505020a3a1147f247b165bf1e69d72393e3accab67cafdafeb86230 + languageName: node + linkType: hard + +"hoist-non-react-statics@npm:^3.3.0": + version: 3.3.2 + resolution: "hoist-non-react-statics@npm:3.3.2" + dependencies: + react-is: ^16.7.0 + checksum: b1538270429b13901ee586aa44f4cc3ecd8831c061d06cb8322e50ea17b3f5ce4d0e2e66394761e6c8e152cd8c34fb3b4b690116c6ce2bd45b18c746516cb9e8 + languageName: node + linkType: hard + "hosted-git-info@npm:^2.1.4": version: 2.8.9 resolution: "hosted-git-info@npm:2.8.9" @@ -10773,7 +10805,7 @@ __metadata: languageName: node linkType: hard -"prop-types@npm:^15.8.1": +"prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": version: 15.8.1 resolution: "prop-types@npm:15.8.1" dependencies: @@ -10948,7 +10980,7 @@ __metadata: languageName: node linkType: hard -"react-is@npm:^16.13.0, react-is@npm:^16.13.1": +"react-is@npm:^16.13.0, react-is@npm:^16.13.1, react-is@npm:^16.7.0": version: 16.13.1 resolution: "react-is@npm:16.13.1" checksum: f7a19ac3496de32ca9ae12aa030f00f14a3d45374f1ceca0af707c831b2a6098ef0d6bdae51bd437b0a306d7f01d4677fcc8de7c0d331eb47ad0f46130e53c5f @@ -10991,6 +11023,45 @@ __metadata: languageName: node linkType: hard +"react-native-gesture-handler@npm:^2.16.2": + version: 2.16.2 + resolution: "react-native-gesture-handler@npm:2.16.2" + dependencies: + "@egjs/hammerjs": ^2.0.17 + hoist-non-react-statics: ^3.3.0 + invariant: ^2.2.4 + lodash: ^4.17.21 + prop-types: ^15.7.2 + peerDependencies: + react: "*" + react-native: "*" + checksum: 3f3309de471b8de654624c54793f6d72236869156ee61c1adc8bba0f4aca6ffc8ed02035eb85820473091d33eb5ec8b42a0e387a21ec25dc30ee345dff0c1142 + languageName: node + linkType: hard + +"react-native-safe-area-context@npm:^4.10.1": + version: 4.10.1 + resolution: "react-native-safe-area-context@npm:4.10.1" + peerDependencies: + react: "*" + react-native: "*" + checksum: a0f31a66f0aba7050cfdc34512349f49dd65349d53407d461196fa70010f65aca7310212d5c7c47078745db6e02975a4d97881d0340160d40e0feb5a4a5d9de2 + languageName: node + linkType: hard + +"react-native-safe-area-view@npm:^1.1.1": + version: 1.1.1 + resolution: "react-native-safe-area-view@npm:1.1.1" + dependencies: + hoist-non-react-statics: ^2.3.1 + peerDependencies: + react: "*" + react-native: "*" + react-native-safe-area-context: "*" + checksum: 52631df89f53a339fe245b174b2d34945f2591a64fd676d27b5234f7cf15cb7140087574c0c0a7a638cfa336a48b70a4a3730dd3c8945464973f94332c2030a0 + languageName: node + linkType: hard + "react-native-ts-identity-orchestration-example@workspace:example": version: 0.0.0-use.local resolution: "react-native-ts-identity-orchestration-example@workspace:example" @@ -11004,6 +11075,8 @@ __metadata: babel-plugin-module-resolver: ^5.0.0 react: 18.2.0 react-native: 0.74.0 + react-native-gesture-handler: ^2.16.2 + react-native-safe-area-context: ^4.10.1 languageName: unknown linkType: soft @@ -11029,6 +11102,9 @@ __metadata: react: 18.2.0 react-native: 0.74.0 react-native-builder-bob: ^0.23.2 + react-native-gesture-handler: ^2.16.2 + react-native-safe-area-context: ^4.10.1 + react-native-safe-area-view: ^1.1.1 release-it: ^15.0.0 turbo: ^1.10.7 typescript: ^5.2.2