diff --git a/.github/workflows/create-release-pr.yml b/.github/workflows/create-release-pr.yml index 9a764f6f..8da602b4 100644 --- a/.github/workflows/create-release-pr.yml +++ b/.github/workflows/create-release-pr.yml @@ -182,14 +182,13 @@ jobs: fi echo "✓ Updated Package.swift with iOS SDK ${VERSION}" - for PODFILE in examples/demo/ios/Podfile examples/demo-pods/ios/Podfile; do - sed -i '' -E "s/^([[:space:]]*pod 'OneSignalXCFramework', )'[^']+'.*$/\1'${VERSION}'/" "$PODFILE" - if [ "$(grep -c "pod 'OneSignalXCFramework', '${VERSION}'$" "$PODFILE")" -ne 2 ]; then - echo "::error::Failed to update OneSignalXCFramework pins in ${PODFILE} to ${VERSION}" - exit 1 - fi - echo "✓ Updated ${PODFILE} extension pods to iOS SDK ${VERSION}" - done + PODFILE=examples/demo-pods/ios/Podfile + sed -i '' -E "s/^([[:space:]]*pod 'OneSignalXCFramework', )'[^']+'.*$/\1'${VERSION}'/" "$PODFILE" + if [ "$(grep -c "pod 'OneSignalXCFramework', '${VERSION}'$" "$PODFILE")" -ne 2 ]; then + echo "::error::Failed to update OneSignalXCFramework pins in ${PODFILE} to ${VERSION}" + exit 1 + fi + echo "✓ Updated ${PODFILE} extension pods to iOS SDK ${VERSION}" # Only commit if there are changes git add -A @@ -242,17 +241,19 @@ jobs: for DEMO in examples/demo examples/demo-pods; do (cd "$DEMO" && vp run setup) echo "✓ Refreshed ${DEMO}/bun.lock" - - if [ -n "$IOS_VERSION" ]; then - (cd "$DEMO/ios" && pod update OneSignalXCFramework) - else - # Still refresh the local react-native-onesignal pod's version and - # checksum; pod install keeps OneSignalXCFramework at its locked version. - (cd "$DEMO/ios" && pod install) - fi - echo "✓ Refreshed ${DEMO}/ios/Podfile.lock" done + # demo resolves OneSignal-XCFramework through Package.swift, so only + # demo-pods has a Podfile.lock to refresh. + if [ -n "$IOS_VERSION" ]; then + (cd examples/demo-pods/ios && pod update OneSignalXCFramework) + else + # Still refresh the local react-native-onesignal pod's version and + # checksum; pod install keeps OneSignalXCFramework at its locked version. + (cd examples/demo-pods/ios && pod install) + fi + echo "✓ Refreshed examples/demo-pods/ios/Podfile.lock" + # Only commit if there are changes git add -A git diff --staged --quiet && exit 0 diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 1951af7b..afa2d3d6 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -89,15 +89,25 @@ jobs: with: onesignal-app-id: ${{ vars.APPIUM_ONESIGNAL_APP_ID }} onesignal-api-key: ${{ secrets.APPIUM_ONESIGNAL_API_KEY }} - install-pods: 'true' + + - name: Cache React Native SwiftPM artifacts + uses: actions/cache@v5 + with: + path: ~/Library/Caches/ReactNative/spm-artifacts + key: rn-spm-artifacts-${{ runner.os }}-${{ hashFiles('examples/demo/bun.lock') }} + restore-keys: rn-spm-artifacts-${{ runner.os }}- - name: Cache Xcode DerivedData uses: actions/cache@v5 with: path: examples/demo/ios/build - key: deriveddata-${{ runner.os }}-${{ hashFiles('examples/demo/ios/Podfile.lock') }} + key: deriveddata-${{ runner.os }}-${{ hashFiles('examples/demo/bun.lock', 'examples/demo/ios/demo.xcodeproj/project.pbxproj') }} restore-keys: deriveddata-${{ runner.os }}- + - name: Generate SwiftPM packages + working-directory: examples/demo + run: vp run update:spm + - name: Set up iOS codesigning uses: OneSignal/sdk-shared/.github/actions/setup-ios-demo-codesigning@main with: @@ -111,7 +121,7 @@ jobs: working-directory: examples/demo/ios run: | xcodebuild archive \ - -workspace demo.xcworkspace \ + -project demo.xcodeproj \ -scheme demo \ -configuration Release \ -sdk iphoneos \ diff --git a/.github/workflows/ios-spm.yml b/.github/workflows/ios-spm.yml new file mode 100644 index 00000000..be6f1dcc --- /dev/null +++ b/.github/workflows/ios-spm.yml @@ -0,0 +1,59 @@ +name: iOS Swift Package Manager + +# Builds examples/demo, which links the SDK through Package.swift. Nothing else +# in CI builds the manifest. +on: + pull_request: + paths: + - 'Package.swift' + - 'ios/**' + - 'package.json' + - 'examples/demo/**' + - '.github/workflows/ios-spm.yml' + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + build-demo: + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Set up demo + uses: ./.github/actions/setup-demo + with: + # Debug simulator builds do not bundle JS, so the app never reads these. + onesignal-app-id: 00000000-0000-0000-0000-000000000000 + onesignal-api-key: unused + + - name: Cache React Native SwiftPM artifacts + uses: actions/cache@v5 + with: + path: ~/Library/Caches/ReactNative/spm-artifacts + key: rn-spm-artifacts-${{ runner.os }}-${{ hashFiles('examples/demo/bun.lock') }} + restore-keys: rn-spm-artifacts-${{ runner.os }}- + + - name: Generate SwiftPM packages + working-directory: examples/demo + run: vp run update:spm + + - name: Build + working-directory: examples/demo/ios + run: | + xcodebuild build \ + -project demo.xcodeproj \ + -scheme demo \ + -configuration Debug \ + -sdk iphonesimulator \ + -destination 'generic/platform=iOS Simulator' \ + -derivedDataPath build \ + -quiet \ + CODE_SIGNING_ALLOWED=NO \ + COMPILER_INDEX_STORE_ENABLE=NO diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..8cf1feb4 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,2 @@ +# Generated by react-native spm add/update +examples/demo/ios/demo.xcodeproj/.spm-injected.json diff --git a/examples/build-ios.md b/examples/build-ios.md index 6903c9c8..4009a7a7 100644 --- a/examples/build-ios.md +++ b/examples/build-ios.md @@ -1,6 +1,8 @@ # iOS Setup (React Native): Push Notifications + Live Activities -Configure the React Native demo iOS project for OneSignal push notifications and live activities. Set the iOS app bundle id to `com.onesignal.sdkdemo` before completing the steps below. All paths below are relative to `examples/demo/ios/` unless stated otherwise. +Configure the React Native demo iOS project for OneSignal push notifications and live activities. Set the iOS app bundle id to `com.onesignal.sdkdemo` before completing the steps below. All paths below are relative to `examples/demo-pods/ios/` unless stated otherwise. + +This guide describes the CocoaPods setup that [`demo-pods`](demo-pods) uses. [`demo`](demo) builds with Swift Package Manager instead: its extension targets link the `OneSignalExtension` (service extension) and `OneSignalFramework` (widget) products of `https://github.com/OneSignal/OneSignal-XCFramework`, and there is no Podfile target. --- diff --git a/examples/demo-pods/bun.lock b/examples/demo-pods/bun.lock index fe302420..22f70776 100644 --- a/examples/demo-pods/bun.lock +++ b/examples/demo-pods/bun.lock @@ -8,9 +8,9 @@ "@react-native-async-storage/async-storage": "^2.1.0", "@react-navigation/native": "^7.5.2", "@react-navigation/native-stack": "^7.21.1", - "react-native-onesignal": "file:../../react-native-onesignal.tgz", "react": "19.3.0", "react-native": "0.88.1", + "react-native-onesignal": "file:../../react-native-onesignal.tgz", "react-native-safe-area-context": "^5.11.1", "react-native-screens": "^4.30.1", "react-native-svg": "^15.16.1", @@ -21,9 +21,9 @@ "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.3", "@babel/runtime": "^7.25.0", - "@react-native-community/cli": "20.2.0", - "@react-native-community/cli-platform-android": "20.2.0", - "@react-native-community/cli-platform-ios": "20.2.0", + "@react-native-community/cli": "21.0.0", + "@react-native-community/cli-platform-android": "21.0.0", + "@react-native-community/cli-platform-ios": "21.0.0", "@react-native/babel-preset": "0.88.1", "@react-native/metro-config": "0.88.1", "@react-native/typescript-config": "0.88.1", @@ -278,29 +278,29 @@ "@react-native-async-storage/async-storage": ["@react-native-async-storage/async-storage@2.2.0", "", { "dependencies": { "merge-options": "^3.0.4" }, "peerDependencies": { "react-native": "^0.0.0-0 || >=0.65 <1.0" } }, "sha512-gvRvjR5JAaUZF8tv2Kcq/Gbt3JHwbKFYfmb445rhOj6NUMx3qPLixmDx5pZAyb9at1bYvJ4/eTUipU5aki45xw=="], - "@react-native-community/cli": ["@react-native-community/cli@20.2.0", "", { "dependencies": { "@react-native-community/cli-clean": "20.2.0", "@react-native-community/cli-config": "20.2.0", "@react-native-community/cli-doctor": "20.2.0", "@react-native-community/cli-server-api": "20.2.0", "@react-native-community/cli-tools": "20.2.0", "@react-native-community/cli-types": "20.2.0", "commander": "^9.4.1", "deepmerge": "^4.3.0", "execa": "^5.0.0", "find-up": "^5.0.0", "fs-extra": "^8.1.0", "graceful-fs": "^4.1.3", "picocolors": "^1.1.1", "prompts": "^2.4.2", "semver": "^7.5.2" }, "bin": { "rnc-cli": "build/bin.js" } }, "sha512-5RZKkBeUFC4hhrzySzxWmRJwXBTc2PE3L6QUgvnJk3QDxNYMY7aGuI8Gr9eZRS1DbiY10IPWqpJfqSIplzVG6A=="], + "@react-native-community/cli": ["@react-native-community/cli@21.0.0", "", { "dependencies": { "@react-native-community/cli-clean": "21.0.0", "@react-native-community/cli-config": "21.0.0", "@react-native-community/cli-doctor": "21.0.0", "@react-native-community/cli-platform-android": "21.0.0", "@react-native-community/cli-platform-ios": "21.0.0", "@react-native-community/cli-server-api": "21.0.0", "@react-native-community/cli-tools": "21.0.0", "@react-native-community/cli-types": "21.0.0", "commander": "^9.4.1", "deepmerge": "^4.3.0", "execa": "^5.0.0", "find-up": "^5.0.0", "fs-extra": "^8.1.0", "graceful-fs": "^4.1.3", "picocolors": "^1.1.1", "prompts": "^2.4.2", "semver": "^7.5.2" }, "bin": { "rnc-cli": "build/bin.js" } }, "sha512-c3MsRYtjOF+6zQuOtBhHaL6sJdOE1jN5lVEeiNebeO2xwQnC0t1QCcuHz1yWQf16LOT0bpMLhar7LR6IDTf9Uw=="], - "@react-native-community/cli-clean": ["@react-native-community/cli-clean@20.2.0", "", { "dependencies": { "@react-native-community/cli-tools": "20.2.0", "execa": "^5.0.0", "fast-glob": "^3.3.2", "picocolors": "^1.1.1" } }, "sha512-krqbhFiwHN8l5wZ2XTcrNq9N+DqDWHxW8RK0bIcrK0O+fMvjYi9e/1Pnx2W0CTotOVcZpHzUbgZ4TQVF231Skw=="], + "@react-native-community/cli-clean": ["@react-native-community/cli-clean@21.0.0", "", { "dependencies": { "@react-native-community/cli-tools": "21.0.0", "execa": "^5.0.0", "fast-glob": "^3.3.2", "picocolors": "^1.1.1" } }, "sha512-On9NJk9S/tJi6nOUbj1qMvcZy+w1WXdhDiEI+aVmjfGNSu4KNwhSFeNF4P1IzdipbhNbG5XUWzorrHUfBvAIiA=="], - "@react-native-community/cli-config": ["@react-native-community/cli-config@20.2.0", "", { "dependencies": { "@react-native-community/cli-tools": "20.2.0", "cosmiconfig": "^9.0.0", "deepmerge": "^4.3.0", "fast-glob": "^3.3.2", "joi": "^17.2.1", "picocolors": "^1.1.1" } }, "sha512-GF5FxgDfOSLPi/bSiE/xvOGELwzV2GLQnDED+7ArbPi01W1Vu+hD/m+J+bwX34Pocpo767eXAVxc2h9WFUTUfQ=="], + "@react-native-community/cli-config": ["@react-native-community/cli-config@21.0.0", "", { "dependencies": { "@react-native-community/cli-tools": "21.0.0", "cosmiconfig": "^9.0.0", "deepmerge": "^4.3.0", "fast-glob": "^3.3.2", "joi": "^17.2.1", "picocolors": "^1.1.1" } }, "sha512-Ei37PJlMAj+iar1VprG77QK+nTgJsGystW6KgoIqoBhonLVxgrZ20wbgMZ8rByopd6ZYkLQODXgDsSMv4Yt4sA=="], - "@react-native-community/cli-config-android": ["@react-native-community/cli-config-android@20.2.0", "", { "dependencies": { "@react-native-community/cli-tools": "20.2.0", "fast-glob": "^3.3.2", "fast-xml-parser": "^5.3.6", "picocolors": "^1.1.1" } }, "sha512-lASofUNBVK0Pq3VEJ1JrCfAW94Rnk38DikauycRcoHl0hWjHIN3XhsN20dEq+CaIJoq37aCg5NSSSpmkET+ShA=="], + "@react-native-community/cli-config-android": ["@react-native-community/cli-config-android@21.0.0", "", { "dependencies": { "@react-native-community/cli-tools": "21.0.0", "fast-glob": "^3.3.2", "fast-xml-parser": "^5.3.6", "picocolors": "^1.1.1" } }, "sha512-jho8//7s4YSCGv/jr22lLiIKf/M9y/S33OqzsnFhFYmA+U62tyfcLl0rc7s+Si+IyXz1k9EOI6nrkJ1EHGE//A=="], - "@react-native-community/cli-config-apple": ["@react-native-community/cli-config-apple@20.2.0", "", { "dependencies": { "@react-native-community/cli-tools": "20.2.0", "execa": "^5.0.0", "fast-glob": "^3.3.2", "picocolors": "^1.1.1" } }, "sha512-oohr6BV2riWJ5PYjayi1u52bG3H95MwKPkJCZo9pnOlYTjifZQVkMxZ8VTuk392efh0bijVTYfxH8iJPi97SIQ=="], + "@react-native-community/cli-config-apple": ["@react-native-community/cli-config-apple@21.0.0", "", { "dependencies": { "@react-native-community/cli-tools": "21.0.0", "execa": "^5.0.0", "fast-glob": "^3.3.2", "picocolors": "^1.1.1" } }, "sha512-BLYT6AT/LlJgFtkM3AhjRgxvY9EOPr7WbTq0E5iSTl61sEygPzAQsCy1VSKGOVi674ei/gTnuUzt58jeXUINcA=="], - "@react-native-community/cli-doctor": ["@react-native-community/cli-doctor@20.2.0", "", { "dependencies": { "@react-native-community/cli-config": "20.2.0", "@react-native-community/cli-platform-android": "20.2.0", "@react-native-community/cli-platform-apple": "20.2.0", "@react-native-community/cli-platform-ios": "20.2.0", "@react-native-community/cli-tools": "20.2.0", "command-exists": "^1.2.8", "deepmerge": "^4.3.0", "envinfo": "^7.13.0", "execa": "^5.0.0", "node-stream-zip": "^1.9.1", "ora": "^5.4.1", "picocolors": "^1.1.1", "semver": "^7.5.2", "wcwidth": "^1.0.1", "yaml": "^2.2.1" } }, "sha512-eZjlwmjPoBXgyD6nV5oDDocL1VH5UW4LxZcMAqyN3rQw5vq3CeJikFpNedKTtSl3P6JizIkInyIHpfrW+9qfJA=="], + "@react-native-community/cli-doctor": ["@react-native-community/cli-doctor@21.0.0", "", { "dependencies": { "@react-native-community/cli-config": "21.0.0", "@react-native-community/cli-platform-android": "21.0.0", "@react-native-community/cli-platform-apple": "21.0.0", "@react-native-community/cli-platform-ios": "21.0.0", "@react-native-community/cli-tools": "21.0.0", "command-exists": "^1.2.8", "deepmerge": "^4.3.0", "envinfo": "^7.13.0", "execa": "^5.0.0", "node-stream-zip": "^1.9.1", "ora": "^5.4.1", "picocolors": "^1.1.1", "semver": "^7.5.2", "wcwidth": "^1.0.1", "yaml": "^2.2.1" } }, "sha512-qsSA5cFqE5uahGps8VHA9dAJwxBw+zN+RrlDrjSgRho8dFXQHY2ldKocji2H24/MyXe0f3OvqlVpBEODnk+UzA=="], - "@react-native-community/cli-platform-android": ["@react-native-community/cli-platform-android@20.2.0", "", { "dependencies": { "@react-native-community/cli-config-android": "20.2.0", "@react-native-community/cli-tools": "20.2.0", "execa": "^5.0.0", "logkitty": "^0.7.1", "picocolors": "^1.1.1" } }, "sha512-fRglzcf/Yq5lnIkqdA8uf1GvlG18x3Dm48Yvo+l7KiWgh/SVtfVhfvalrtX5rmx+KeJkDA534bGoPvi5+ruWjw=="], + "@react-native-community/cli-platform-android": ["@react-native-community/cli-platform-android@21.0.0", "", { "dependencies": { "@react-native-community/cli-config-android": "21.0.0", "@react-native-community/cli-tools": "21.0.0", "execa": "^5.0.0", "logkitty": "^0.7.1", "picocolors": "^1.1.1" } }, "sha512-qFJo/IjTiOWVilhdGz+A2Yxe0+8xQnLXe+8otpZE3UU2XMFhgcg51zQBDNH4mfE77fDNbZrNQaEo9iXdA76gLw=="], - "@react-native-community/cli-platform-apple": ["@react-native-community/cli-platform-apple@20.2.0", "", { "dependencies": { "@react-native-community/cli-config-apple": "20.2.0", "@react-native-community/cli-tools": "20.2.0", "execa": "^5.0.0", "fast-xml-parser": "^5.3.6", "picocolors": "^1.1.1" } }, "sha512-jkEPLAd8C/ZRu39a3nhxwSXe0iisUiJC808GExnrnTcViLtg3sad2ciQ/HjjvbdsPCS9sT+Jr7xh3MzBsPojsQ=="], + "@react-native-community/cli-platform-apple": ["@react-native-community/cli-platform-apple@21.0.0", "", { "dependencies": { "@react-native-community/cli-config-apple": "21.0.0", "@react-native-community/cli-tools": "21.0.0", "execa": "^5.0.0", "fast-xml-parser": "^5.3.6", "picocolors": "^1.1.1" } }, "sha512-OWZOzCZatwv8uzJmLnP8axz3DoXtc0DG/jBrJyARwsrYVWUmNLadlaNM81QAjgsnjk1R602KTAAHuRi7WGb7og=="], - "@react-native-community/cli-platform-ios": ["@react-native-community/cli-platform-ios@20.2.0", "", { "dependencies": { "@react-native-community/cli-platform-apple": "20.2.0" } }, "sha512-bCKlBt2HoD7WTl/HX60+4HFhR1lKY64Y9MPWu7yWQwOCEqYRMi6MkRxLimiONj9M2/lNf0z9BPHDzdDe5HM2ag=="], + "@react-native-community/cli-platform-ios": ["@react-native-community/cli-platform-ios@21.0.0", "", { "dependencies": { "@react-native-community/cli-platform-apple": "21.0.0" } }, "sha512-aREOLVpJlCV6n2rXd4XkhVzWSORnjPbltm35/ZKmu8DtjrdFH9Wm5lzf+dHgVAO40wMnFJ8QVoWUNCrkFzy6mA=="], - "@react-native-community/cli-server-api": ["@react-native-community/cli-server-api@20.2.0", "", { "dependencies": { "@react-native-community/cli-tools": "20.2.0", "body-parser": "^2.2.2", "compression": "^1.7.1", "connect": "^3.6.5", "errorhandler": "^1.5.1", "nocache": "^3.0.1", "open": "^6.2.0", "pretty-format": "^29.7.0", "serve-static": "^1.13.1", "ws": "^6.2.3" } }, "sha512-AI1fsl+6LNuOoDcdWsnF3s9ozqminGCUlbFcrgdZIJWyOuFBeQclNydI22VO3vWaO4dHQkfVa3Zo10AncWQvwA=="], + "@react-native-community/cli-server-api": ["@react-native-community/cli-server-api@21.0.0", "", { "dependencies": { "@react-native-community/cli-tools": "21.0.0", "body-parser": "^2.2.2", "compression": "^1.7.1", "connect": "^3.6.5", "errorhandler": "^1.5.1", "nocache": "^3.0.1", "open": "^6.2.0", "pretty-format": "^29.7.0", "serve-static": "^1.13.1", "ws": "^6.2.3" } }, "sha512-mprCywUnoyd6lAD8Q93W8LPsStxyplL3KXjwYLQbcwZPTwYgbpg2CYm3ZYaYA7i1ieF22gGIwZhNaOnfjNw7lQ=="], - "@react-native-community/cli-tools": ["@react-native-community/cli-tools@20.2.0", "", { "dependencies": { "@vscode/sudo-prompt": "^9.0.0", "appdirsjs": "^1.2.4", "execa": "^5.0.0", "find-up": "^5.0.0", "launch-editor": "^2.9.1", "mime": "^2.4.1", "ora": "^5.4.1", "picocolors": "^1.1.1", "prompts": "^2.4.2", "semver": "^7.5.2" } }, "sha512-A5W2nqlTidPzGyXzS57jvHsMpQd8iOGSjePj4H318uMbhIdeIHQ5e59fNbdHahS62ISs+2p9s78sVHMbGVa1bg=="], + "@react-native-community/cli-tools": ["@react-native-community/cli-tools@21.0.0", "", { "dependencies": { "@vscode/sudo-prompt": "^9.0.0", "appdirsjs": "^1.2.4", "execa": "^5.0.0", "find-up": "^5.0.0", "launch-editor": "^2.9.1", "mime": "^2.4.1", "ora": "^5.4.1", "picocolors": "^1.1.1", "prompts": "^2.4.2", "semver": "^7.5.2" } }, "sha512-kx+mkxacaOfcHJji8KrsxOz7oTL9G/H3m99kOSipwrnsIE6sx7Hnf4N57l7lj5PGicjomfLXPSK41tVS9dQmJw=="], - "@react-native-community/cli-types": ["@react-native-community/cli-types@20.2.0", "", { "dependencies": { "joi": "^17.2.1" } }, "sha512-K60zY/ly8G9rGJQzZ+bFRyLEckAUzyF8Fu9a2Kw6JipCrOl7SiVRBVqjvOr/XnCRKuOpH8i9y7RVg07wkSGRBQ=="], + "@react-native-community/cli-types": ["@react-native-community/cli-types@21.0.0", "", { "dependencies": { "joi": "^17.2.1" } }, "sha512-lvhbZfq7Qau7HoxPoiGWmZQQ2c5Lt7TnNKMP7De1m6oepHXchQDXLwafNQE+yuerA0mK25xJQAmRt+CGJwNx8w=="], "@react-native/asset-utils": ["@react-native/asset-utils@0.88.1", "", {}, "sha512-BLb5FF7NgggGYiCsA7KKkK2qFhn0K+6iGXOI+4Ucd+G7Robzw9Gt4WsWwxLt+Od+G+/hyqfz8ASokyWFZ6VcLw=="], diff --git a/examples/demo-pods/package.json b/examples/demo-pods/package.json index c834e60c..2d9e28e0 100644 --- a/examples/demo-pods/package.json +++ b/examples/demo-pods/package.json @@ -27,9 +27,9 @@ "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.3", "@babel/runtime": "^7.25.0", - "@react-native-community/cli": "20.2.0", - "@react-native-community/cli-platform-android": "20.2.0", - "@react-native-community/cli-platform-ios": "20.2.0", + "@react-native-community/cli": "21.0.0", + "@react-native-community/cli-platform-android": "21.0.0", + "@react-native-community/cli-platform-ios": "21.0.0", "@react-native/babel-preset": "0.88.1", "@react-native/metro-config": "0.88.1", "@react-native/typescript-config": "0.88.1", diff --git a/examples/demo/.bundle/config b/examples/demo/.bundle/config deleted file mode 100644 index 848943bb..00000000 --- a/examples/demo/.bundle/config +++ /dev/null @@ -1,2 +0,0 @@ -BUNDLE_PATH: "vendor/bundle" -BUNDLE_FORCE_RUBY_PLATFORM: 1 diff --git a/examples/demo/Gemfile b/examples/demo/Gemfile deleted file mode 100644 index 51515233..00000000 --- a/examples/demo/Gemfile +++ /dev/null @@ -1,17 +0,0 @@ -source 'https://rubygems.org' - -# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version -ruby ">= 2.6.10" - -# Exclude problematic versions of cocoapods and activesupport that causes build failures. -gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1' -gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0' -gem 'xcodeproj', '< 1.26.0' -gem 'concurrent-ruby', '< 1.3.4' - -# Ruby 3.4.0 has removed some libraries from the standard library. -gem 'bigdecimal' -gem 'logger' -gem 'benchmark' -gem 'mutex_m' -gem 'nkf' diff --git a/examples/demo/README.md b/examples/demo/README.md index d21ed3d0..39c03d0d 100644 --- a/examples/demo/README.md +++ b/examples/demo/README.md @@ -8,7 +8,6 @@ The demo uses the app ID `com.onesignal.sdkdemo` on Android and iOS. - [React Native environment setup](https://reactnative.dev/docs/set-up-your-environment) for Android and iOS - Vite+ (`vp`) and Bun -- Ruby with Bundler, for CocoaPods - Android Studio with a running emulator, and/or Xcode with a booted simulator ## Setup @@ -41,12 +40,9 @@ The OneSignal app needs FCM (Android) and APNs (iOS) credentials for `com.onesig To use Firebase on Android, put a `google-services.json` with a `com.onesignal.sdkdemo` client in `android/app/`. It's gitignored, and the Google Services plugin is applied only when it exists. Pass `-PFIREBASE_INSTALLATION_ID_ENABLED=true` to Gradle to turn on Firebase Installation ID registration; the build fails if the flag is on without the file. -For iOS, install CocoaPods on first run: +iOS builds with React Native's Swift Package Manager mode; there is no `pod install`. `vp run ios` generates the Swift packages (`vp run update:spm`) before building. For the CocoaPods build of this app, see [`demo-pods`](../demo-pods). -```sh -bundle install -cd ios && bundle exec pod install && cd .. -``` +`react-native-screens`, `@react-native-async-storage/async-storage`, and `react-native-vector-icons` do not ship a `Package.swift` yet, so `patches/` adds one to each (scaffolded with `react-native spm scaffold`, then fixed by hand) and Bun applies them on install. Drop a patch once its library ships its own manifest. ## Run @@ -65,13 +61,13 @@ It then builds and launches the app with the React Native CLI, which starts Metr ## Other scripts -| Script | Purpose | -| ---------------------- | --------------------------------------------------------------------- | -| `vp run setup` | Build, pack, and install the SDK into the demo. | -| `vp run start` | Start Metro. | -| `vp run update:pods` | Run `pod update OneSignalXCFramework` after native SDK changes. | -| `vp run clean:android` | Wipe Android build outputs and uninstall the app from the device. | -| `vp run clean:ios` | Wipe iOS build outputs and `ios/Pods`. Run `pod install` again after. | +| Script | Purpose | +| ---------------------- | ----------------------------------------------------------------- | +| `vp run setup` | Build, pack, and install the SDK into the demo. | +| `vp run start` | Start Metro. | +| `vp run update:spm` | Regenerate the Swift packages after dependency or native changes. | +| `vp run clean:android` | Wipe Android build outputs and uninstall the app from the device. | +| `vp run clean:ios` | Wipe iOS build outputs, including the generated Swift packages. | ## Testing iOS Action Button Icons diff --git a/examples/demo/bun.lock b/examples/demo/bun.lock index b4226954..58033bda 100644 --- a/examples/demo/bun.lock +++ b/examples/demo/bun.lock @@ -21,9 +21,9 @@ "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.3", "@babel/runtime": "^7.25.0", - "@react-native-community/cli": "20.2.0", - "@react-native-community/cli-platform-android": "20.2.0", - "@react-native-community/cli-platform-ios": "20.2.0", + "@react-native-community/cli": "21.0.0", + "@react-native-community/cli-platform-android": "21.0.0", + "@react-native-community/cli-platform-ios": "21.0.0", "@react-native/babel-preset": "0.88.1", "@react-native/metro-config": "0.88.1", "@react-native/typescript-config": "0.88.1", @@ -35,6 +35,11 @@ }, }, }, + "patchedDependencies": { + "react-native-screens@4.30.1": "patches/react-native-screens@4.30.1.patch", + "react-native-vector-icons@10.3.0": "patches/react-native-vector-icons@10.3.0.patch", + "@react-native-async-storage/async-storage@2.2.0": "patches/@react-native-async-storage%2Fasync-storage@2.2.0.patch", + }, "packages": { "@babel/code-frame": ["@babel/code-frame@7.29.0", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw=="], @@ -278,29 +283,29 @@ "@react-native-async-storage/async-storage": ["@react-native-async-storage/async-storage@2.2.0", "", { "dependencies": { "merge-options": "^3.0.4" }, "peerDependencies": { "react-native": "^0.0.0-0 || >=0.65 <1.0" } }, "sha512-gvRvjR5JAaUZF8tv2Kcq/Gbt3JHwbKFYfmb445rhOj6NUMx3qPLixmDx5pZAyb9at1bYvJ4/eTUipU5aki45xw=="], - "@react-native-community/cli": ["@react-native-community/cli@20.2.0", "", { "dependencies": { "@react-native-community/cli-clean": "20.2.0", "@react-native-community/cli-config": "20.2.0", "@react-native-community/cli-doctor": "20.2.0", "@react-native-community/cli-server-api": "20.2.0", "@react-native-community/cli-tools": "20.2.0", "@react-native-community/cli-types": "20.2.0", "commander": "^9.4.1", "deepmerge": "^4.3.0", "execa": "^5.0.0", "find-up": "^5.0.0", "fs-extra": "^8.1.0", "graceful-fs": "^4.1.3", "picocolors": "^1.1.1", "prompts": "^2.4.2", "semver": "^7.5.2" }, "bin": { "rnc-cli": "build/bin.js" } }, "sha512-5RZKkBeUFC4hhrzySzxWmRJwXBTc2PE3L6QUgvnJk3QDxNYMY7aGuI8Gr9eZRS1DbiY10IPWqpJfqSIplzVG6A=="], + "@react-native-community/cli": ["@react-native-community/cli@21.0.0", "", { "dependencies": { "@react-native-community/cli-clean": "21.0.0", "@react-native-community/cli-config": "21.0.0", "@react-native-community/cli-doctor": "21.0.0", "@react-native-community/cli-platform-android": "21.0.0", "@react-native-community/cli-platform-ios": "21.0.0", "@react-native-community/cli-server-api": "21.0.0", "@react-native-community/cli-tools": "21.0.0", "@react-native-community/cli-types": "21.0.0", "commander": "^9.4.1", "deepmerge": "^4.3.0", "execa": "^5.0.0", "find-up": "^5.0.0", "fs-extra": "^8.1.0", "graceful-fs": "^4.1.3", "picocolors": "^1.1.1", "prompts": "^2.4.2", "semver": "^7.5.2" }, "bin": { "rnc-cli": "build/bin.js" } }, "sha512-c3MsRYtjOF+6zQuOtBhHaL6sJdOE1jN5lVEeiNebeO2xwQnC0t1QCcuHz1yWQf16LOT0bpMLhar7LR6IDTf9Uw=="], - "@react-native-community/cli-clean": ["@react-native-community/cli-clean@20.2.0", "", { "dependencies": { "@react-native-community/cli-tools": "20.2.0", "execa": "^5.0.0", "fast-glob": "^3.3.2", "picocolors": "^1.1.1" } }, "sha512-krqbhFiwHN8l5wZ2XTcrNq9N+DqDWHxW8RK0bIcrK0O+fMvjYi9e/1Pnx2W0CTotOVcZpHzUbgZ4TQVF231Skw=="], + "@react-native-community/cli-clean": ["@react-native-community/cli-clean@21.0.0", "", { "dependencies": { "@react-native-community/cli-tools": "21.0.0", "execa": "^5.0.0", "fast-glob": "^3.3.2", "picocolors": "^1.1.1" } }, "sha512-On9NJk9S/tJi6nOUbj1qMvcZy+w1WXdhDiEI+aVmjfGNSu4KNwhSFeNF4P1IzdipbhNbG5XUWzorrHUfBvAIiA=="], - "@react-native-community/cli-config": ["@react-native-community/cli-config@20.2.0", "", { "dependencies": { "@react-native-community/cli-tools": "20.2.0", "cosmiconfig": "^9.0.0", "deepmerge": "^4.3.0", "fast-glob": "^3.3.2", "joi": "^17.2.1", "picocolors": "^1.1.1" } }, "sha512-GF5FxgDfOSLPi/bSiE/xvOGELwzV2GLQnDED+7ArbPi01W1Vu+hD/m+J+bwX34Pocpo767eXAVxc2h9WFUTUfQ=="], + "@react-native-community/cli-config": ["@react-native-community/cli-config@21.0.0", "", { "dependencies": { "@react-native-community/cli-tools": "21.0.0", "cosmiconfig": "^9.0.0", "deepmerge": "^4.3.0", "fast-glob": "^3.3.2", "joi": "^17.2.1", "picocolors": "^1.1.1" } }, "sha512-Ei37PJlMAj+iar1VprG77QK+nTgJsGystW6KgoIqoBhonLVxgrZ20wbgMZ8rByopd6ZYkLQODXgDsSMv4Yt4sA=="], - "@react-native-community/cli-config-android": ["@react-native-community/cli-config-android@20.2.0", "", { "dependencies": { "@react-native-community/cli-tools": "20.2.0", "fast-glob": "^3.3.2", "fast-xml-parser": "^5.3.6", "picocolors": "^1.1.1" } }, "sha512-lASofUNBVK0Pq3VEJ1JrCfAW94Rnk38DikauycRcoHl0hWjHIN3XhsN20dEq+CaIJoq37aCg5NSSSpmkET+ShA=="], + "@react-native-community/cli-config-android": ["@react-native-community/cli-config-android@21.0.0", "", { "dependencies": { "@react-native-community/cli-tools": "21.0.0", "fast-glob": "^3.3.2", "fast-xml-parser": "^5.3.6", "picocolors": "^1.1.1" } }, "sha512-jho8//7s4YSCGv/jr22lLiIKf/M9y/S33OqzsnFhFYmA+U62tyfcLl0rc7s+Si+IyXz1k9EOI6nrkJ1EHGE//A=="], - "@react-native-community/cli-config-apple": ["@react-native-community/cli-config-apple@20.2.0", "", { "dependencies": { "@react-native-community/cli-tools": "20.2.0", "execa": "^5.0.0", "fast-glob": "^3.3.2", "picocolors": "^1.1.1" } }, "sha512-oohr6BV2riWJ5PYjayi1u52bG3H95MwKPkJCZo9pnOlYTjifZQVkMxZ8VTuk392efh0bijVTYfxH8iJPi97SIQ=="], + "@react-native-community/cli-config-apple": ["@react-native-community/cli-config-apple@21.0.0", "", { "dependencies": { "@react-native-community/cli-tools": "21.0.0", "execa": "^5.0.0", "fast-glob": "^3.3.2", "picocolors": "^1.1.1" } }, "sha512-BLYT6AT/LlJgFtkM3AhjRgxvY9EOPr7WbTq0E5iSTl61sEygPzAQsCy1VSKGOVi674ei/gTnuUzt58jeXUINcA=="], - "@react-native-community/cli-doctor": ["@react-native-community/cli-doctor@20.2.0", "", { "dependencies": { "@react-native-community/cli-config": "20.2.0", "@react-native-community/cli-platform-android": "20.2.0", "@react-native-community/cli-platform-apple": "20.2.0", "@react-native-community/cli-platform-ios": "20.2.0", "@react-native-community/cli-tools": "20.2.0", "command-exists": "^1.2.8", "deepmerge": "^4.3.0", "envinfo": "^7.13.0", "execa": "^5.0.0", "node-stream-zip": "^1.9.1", "ora": "^5.4.1", "picocolors": "^1.1.1", "semver": "^7.5.2", "wcwidth": "^1.0.1", "yaml": "^2.2.1" } }, "sha512-eZjlwmjPoBXgyD6nV5oDDocL1VH5UW4LxZcMAqyN3rQw5vq3CeJikFpNedKTtSl3P6JizIkInyIHpfrW+9qfJA=="], + "@react-native-community/cli-doctor": ["@react-native-community/cli-doctor@21.0.0", "", { "dependencies": { "@react-native-community/cli-config": "21.0.0", "@react-native-community/cli-platform-android": "21.0.0", "@react-native-community/cli-platform-apple": "21.0.0", "@react-native-community/cli-platform-ios": "21.0.0", "@react-native-community/cli-tools": "21.0.0", "command-exists": "^1.2.8", "deepmerge": "^4.3.0", "envinfo": "^7.13.0", "execa": "^5.0.0", "node-stream-zip": "^1.9.1", "ora": "^5.4.1", "picocolors": "^1.1.1", "semver": "^7.5.2", "wcwidth": "^1.0.1", "yaml": "^2.2.1" } }, "sha512-qsSA5cFqE5uahGps8VHA9dAJwxBw+zN+RrlDrjSgRho8dFXQHY2ldKocji2H24/MyXe0f3OvqlVpBEODnk+UzA=="], - "@react-native-community/cli-platform-android": ["@react-native-community/cli-platform-android@20.2.0", "", { "dependencies": { "@react-native-community/cli-config-android": "20.2.0", "@react-native-community/cli-tools": "20.2.0", "execa": "^5.0.0", "logkitty": "^0.7.1", "picocolors": "^1.1.1" } }, "sha512-fRglzcf/Yq5lnIkqdA8uf1GvlG18x3Dm48Yvo+l7KiWgh/SVtfVhfvalrtX5rmx+KeJkDA534bGoPvi5+ruWjw=="], + "@react-native-community/cli-platform-android": ["@react-native-community/cli-platform-android@21.0.0", "", { "dependencies": { "@react-native-community/cli-config-android": "21.0.0", "@react-native-community/cli-tools": "21.0.0", "execa": "^5.0.0", "logkitty": "^0.7.1", "picocolors": "^1.1.1" } }, "sha512-qFJo/IjTiOWVilhdGz+A2Yxe0+8xQnLXe+8otpZE3UU2XMFhgcg51zQBDNH4mfE77fDNbZrNQaEo9iXdA76gLw=="], - "@react-native-community/cli-platform-apple": ["@react-native-community/cli-platform-apple@20.2.0", "", { "dependencies": { "@react-native-community/cli-config-apple": "20.2.0", "@react-native-community/cli-tools": "20.2.0", "execa": "^5.0.0", "fast-xml-parser": "^5.3.6", "picocolors": "^1.1.1" } }, "sha512-jkEPLAd8C/ZRu39a3nhxwSXe0iisUiJC808GExnrnTcViLtg3sad2ciQ/HjjvbdsPCS9sT+Jr7xh3MzBsPojsQ=="], + "@react-native-community/cli-platform-apple": ["@react-native-community/cli-platform-apple@21.0.0", "", { "dependencies": { "@react-native-community/cli-config-apple": "21.0.0", "@react-native-community/cli-tools": "21.0.0", "execa": "^5.0.0", "fast-xml-parser": "^5.3.6", "picocolors": "^1.1.1" } }, "sha512-OWZOzCZatwv8uzJmLnP8axz3DoXtc0DG/jBrJyARwsrYVWUmNLadlaNM81QAjgsnjk1R602KTAAHuRi7WGb7og=="], - "@react-native-community/cli-platform-ios": ["@react-native-community/cli-platform-ios@20.2.0", "", { "dependencies": { "@react-native-community/cli-platform-apple": "20.2.0" } }, "sha512-bCKlBt2HoD7WTl/HX60+4HFhR1lKY64Y9MPWu7yWQwOCEqYRMi6MkRxLimiONj9M2/lNf0z9BPHDzdDe5HM2ag=="], + "@react-native-community/cli-platform-ios": ["@react-native-community/cli-platform-ios@21.0.0", "", { "dependencies": { "@react-native-community/cli-platform-apple": "21.0.0" } }, "sha512-aREOLVpJlCV6n2rXd4XkhVzWSORnjPbltm35/ZKmu8DtjrdFH9Wm5lzf+dHgVAO40wMnFJ8QVoWUNCrkFzy6mA=="], - "@react-native-community/cli-server-api": ["@react-native-community/cli-server-api@20.2.0", "", { "dependencies": { "@react-native-community/cli-tools": "20.2.0", "body-parser": "^2.2.2", "compression": "^1.7.1", "connect": "^3.6.5", "errorhandler": "^1.5.1", "nocache": "^3.0.1", "open": "^6.2.0", "pretty-format": "^29.7.0", "serve-static": "^1.13.1", "ws": "^6.2.3" } }, "sha512-AI1fsl+6LNuOoDcdWsnF3s9ozqminGCUlbFcrgdZIJWyOuFBeQclNydI22VO3vWaO4dHQkfVa3Zo10AncWQvwA=="], + "@react-native-community/cli-server-api": ["@react-native-community/cli-server-api@21.0.0", "", { "dependencies": { "@react-native-community/cli-tools": "21.0.0", "body-parser": "^2.2.2", "compression": "^1.7.1", "connect": "^3.6.5", "errorhandler": "^1.5.1", "nocache": "^3.0.1", "open": "^6.2.0", "pretty-format": "^29.7.0", "serve-static": "^1.13.1", "ws": "^6.2.3" } }, "sha512-mprCywUnoyd6lAD8Q93W8LPsStxyplL3KXjwYLQbcwZPTwYgbpg2CYm3ZYaYA7i1ieF22gGIwZhNaOnfjNw7lQ=="], - "@react-native-community/cli-tools": ["@react-native-community/cli-tools@20.2.0", "", { "dependencies": { "@vscode/sudo-prompt": "^9.0.0", "appdirsjs": "^1.2.4", "execa": "^5.0.0", "find-up": "^5.0.0", "launch-editor": "^2.9.1", "mime": "^2.4.1", "ora": "^5.4.1", "picocolors": "^1.1.1", "prompts": "^2.4.2", "semver": "^7.5.2" } }, "sha512-A5W2nqlTidPzGyXzS57jvHsMpQd8iOGSjePj4H318uMbhIdeIHQ5e59fNbdHahS62ISs+2p9s78sVHMbGVa1bg=="], + "@react-native-community/cli-tools": ["@react-native-community/cli-tools@21.0.0", "", { "dependencies": { "@vscode/sudo-prompt": "^9.0.0", "appdirsjs": "^1.2.4", "execa": "^5.0.0", "find-up": "^5.0.0", "launch-editor": "^2.9.1", "mime": "^2.4.1", "ora": "^5.4.1", "picocolors": "^1.1.1", "prompts": "^2.4.2", "semver": "^7.5.2" } }, "sha512-kx+mkxacaOfcHJji8KrsxOz7oTL9G/H3m99kOSipwrnsIE6sx7Hnf4N57l7lj5PGicjomfLXPSK41tVS9dQmJw=="], - "@react-native-community/cli-types": ["@react-native-community/cli-types@20.2.0", "", { "dependencies": { "joi": "^17.2.1" } }, "sha512-K60zY/ly8G9rGJQzZ+bFRyLEckAUzyF8Fu9a2Kw6JipCrOl7SiVRBVqjvOr/XnCRKuOpH8i9y7RVg07wkSGRBQ=="], + "@react-native-community/cli-types": ["@react-native-community/cli-types@21.0.0", "", { "dependencies": { "joi": "^17.2.1" } }, "sha512-lvhbZfq7Qau7HoxPoiGWmZQQ2c5Lt7TnNKMP7De1m6oepHXchQDXLwafNQE+yuerA0mK25xJQAmRt+CGJwNx8w=="], "@react-native/asset-utils": ["@react-native/asset-utils@0.88.1", "", {}, "sha512-BLb5FF7NgggGYiCsA7KKkK2qFhn0K+6iGXOI+4Ucd+G7Robzw9Gt4WsWwxLt+Od+G+/hyqfz8ASokyWFZ6VcLw=="], diff --git a/examples/demo/ios/.gitignore b/examples/demo/ios/.gitignore new file mode 100644 index 00000000..c1e540af --- /dev/null +++ b/examples/demo/ios/.gitignore @@ -0,0 +1,6 @@ + +# SPM – auto-generated at build time (do not commit) +Package.resolved +build/generated/ +build/xcframeworks/ +.build/ diff --git a/examples/demo/ios/Podfile b/examples/demo/ios/Podfile deleted file mode 100644 index 8347b78a..00000000 --- a/examples/demo/ios/Podfile +++ /dev/null @@ -1,54 +0,0 @@ -# Resolve react_native_pods.rb with node to allow for hoisting -require Pod::Executable.execute_command('node', ['-p', - 'require.resolve( - "react-native/scripts/react_native_pods.rb", - {paths: [process.argv[1]]}, - )', __dir__]).strip - -platform :ios, min_ios_version_supported -prepare_react_native_project! - -linkage = ENV['USE_FRAMEWORKS'] -if linkage != nil - Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green - use_frameworks! :linkage => linkage.to_sym -end - -target 'OneSignalNotificationServiceExtension' do - # use_frameworks! :linkage => :static - pod 'OneSignalXCFramework', '5.8.1' -end - -target 'OneSignalWidgetExtension' do - # use_frameworks! :linkage => :static - pod 'OneSignalXCFramework', '5.8.1' -end - -target 'demo' do - config = use_native_modules! - - use_react_native!( - :path => config[:reactNativePath], - # An absolute path to your application root. - :app_path => "#{Pod::Config.instance.installation_root}/.." - ) - - post_install do |installer| - react_native_post_install( - installer, - config[:reactNativePath], - :mac_catalyst_enabled => false, - # ccache doesn't work with Xcode's explicit modules feature - :ccache_enabled => false - ) - # Xcode 27 rejects pod deployment targets below iOS 15; some third-party - # pods still declare older minimums. - installer.pods_project.targets.each do |target| - target.build_configurations.each do |config| - if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < min_ios_version_supported.to_f - config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = min_ios_version_supported - end - end - end - end -end diff --git a/examples/demo/ios/Podfile.lock b/examples/demo/ios/Podfile.lock deleted file mode 100644 index 9207b88f..00000000 --- a/examples/demo/ios/Podfile.lock +++ /dev/null @@ -1,2420 +0,0 @@ -PODS: - - boost (1.84.0): - - ReactNativeDependencies - - DoubleConversion (1.1.6): - - ReactNativeDependencies - - fast_float (8.0.0): - - ReactNativeDependencies - - FBLazyVector (0.88.1): - - React-Core-prebuilt - - fmt (12.1.0): - - ReactNativeDependencies - - glog (0.3.5): - - ReactNativeDependencies - - hermes-engine (260318099.0.5): - - hermes-engine/Pre-built (= 260318099.0.5) - - hermes-engine/Pre-built (260318099.0.5) - - OneSignalXCFramework (5.8.1): - - OneSignalXCFramework/OneSignalComplete (= 5.8.1) - - OneSignalXCFramework/OneSignal (5.8.1): - - OneSignalXCFramework/OneSignalCore - - OneSignalXCFramework/OneSignalExtension - - OneSignalXCFramework/OneSignalLiveActivities - - OneSignalXCFramework/OneSignalNotifications - - OneSignalXCFramework/OneSignalOSCore - - OneSignalXCFramework/OneSignalOutcomes - - OneSignalXCFramework/OneSignalUser - - OneSignalXCFramework/OneSignalComplete (5.8.1): - - OneSignalXCFramework/OneSignal - - OneSignalXCFramework/OneSignalInAppMessages - - OneSignalXCFramework/OneSignalLocation - - OneSignalXCFramework/OneSignalCore (5.8.1) - - OneSignalXCFramework/OneSignalExtension (5.8.1): - - OneSignalXCFramework/OneSignalCore - - OneSignalXCFramework/OneSignalOSCore - - OneSignalXCFramework/OneSignalOutcomes - - OneSignalXCFramework/OneSignalInAppMessages (5.8.1): - - OneSignalXCFramework/OneSignalCore - - OneSignalXCFramework/OneSignalNotifications - - OneSignalXCFramework/OneSignalOSCore - - OneSignalXCFramework/OneSignalOutcomes - - OneSignalXCFramework/OneSignalUser - - OneSignalXCFramework/OneSignalLiveActivities (5.8.1): - - OneSignalXCFramework/OneSignalCore - - OneSignalXCFramework/OneSignalOSCore - - OneSignalXCFramework/OneSignalUser - - OneSignalXCFramework/OneSignalLocation (5.8.1): - - OneSignalXCFramework/OneSignalCore - - OneSignalXCFramework/OneSignalNotifications - - OneSignalXCFramework/OneSignalOSCore - - OneSignalXCFramework/OneSignalUser - - OneSignalXCFramework/OneSignalNotifications (5.8.1): - - OneSignalXCFramework/OneSignalCore - - OneSignalXCFramework/OneSignalExtension - - OneSignalXCFramework/OneSignalOSCore - - OneSignalXCFramework/OneSignalOutcomes - - OneSignalXCFramework/OneSignalOSCore (5.8.1): - - OneSignalXCFramework/OneSignalCore - - OneSignalXCFramework/OneSignalOutcomes (5.8.1): - - OneSignalXCFramework/OneSignalCore - - OneSignalXCFramework/OneSignalOSCore - - OneSignalXCFramework/OneSignalUser (5.8.1): - - OneSignalXCFramework/OneSignalCore - - OneSignalXCFramework/OneSignalNotifications - - OneSignalXCFramework/OneSignalOSCore - - OneSignalXCFramework/OneSignalOutcomes - - RCT-Folly (2024.11.18.00): - - RCT-Folly/Default (= 2024.11.18.00) - - ReactNativeDependencies - - RCT-Folly/Default (2024.11.18.00): - - ReactNativeDependencies - - RCTDeprecation (0.88.1): - - React-Core-prebuilt - - RCTRequired (0.88.1): - - React-Core-prebuilt - - RCTSwiftUI (0.88.1) - - RCTSwiftUIWrapper (0.88.1): - - RCTSwiftUI - - RCTTypeSafety (0.88.1): - - FBLazyVector (= 0.88.1) - - RCTRequired (= 0.88.1) - - React-Core (= 0.88.1) - - React (0.88.1): - - React-Core (= 0.88.1) - - React-Core/DevSupport (= 0.88.1) - - React-Core/RCTWebSocket (= 0.88.1) - - React-RCTActionSheet (= 0.88.1) - - React-RCTAnimation (= 0.88.1) - - React-RCTBlob (= 0.88.1) - - React-RCTImage (= 0.88.1) - - React-RCTLinking (= 0.88.1) - - React-RCTNetwork (= 0.88.1) - - React-RCTSettings (= 0.88.1) - - React-RCTText (= 0.88.1) - - React-RCTVibration (= 0.88.1) - - React-bridging (0.88.1): - - React-callinvoker - - React-Core-prebuilt - - React-jsi - - React-timing - - ReactNativeDependencies - - React-callinvoker (0.88.1): - - React-callinvoker/callinvokerUmbrella (= 0.88.1) - - React-cxxstableapi - - React-callinvoker/callinvokerUmbrella (0.88.1): - - React-cxxstableapi - - React-Core (0.88.1): - - React-Core-prebuilt - - React-Core/Default (= 0.88.1) - - React-Core-prebuilt (0.88.1): - - ReactNativeDependencies - - React-Core/CoreModulesHeaders (0.88.1): - - React-Core-prebuilt - - React-Core/Default (0.88.1): - - React-Core-prebuilt - - React-Core/DevSupport (0.88.1): - - React-Core-prebuilt - - React-Core/RCTActionSheetHeaders (0.88.1): - - React-Core-prebuilt - - React-Core/RCTAnimationHeaders (0.88.1): - - React-Core-prebuilt - - React-Core/RCTBlobHeaders (0.88.1): - - React-Core-prebuilt - - React-Core/RCTImageHeaders (0.88.1): - - React-Core-prebuilt - - React-Core/RCTLinkingHeaders (0.88.1): - - React-Core-prebuilt - - React-Core/RCTNetworkHeaders (0.88.1): - - React-Core-prebuilt - - React-Core/RCTSettingsHeaders (0.88.1): - - React-Core-prebuilt - - React-Core/RCTTextHeaders (0.88.1): - - React-Core-prebuilt - - React-Core/RCTVibrationHeaders (0.88.1): - - React-Core-prebuilt - - React-Core/RCTWebSocket (0.88.1): - - React-Core-prebuilt - - React-CoreModules (0.88.1): - - RCTTypeSafety (= 0.88.1) - - React-Core-prebuilt - - React-Core/CoreModulesHeaders (= 0.88.1) - - React-debug - - React-featureflags - - React-jsi (= 0.88.1) - - React-jsinspector - - React-jsinspectorcdp - - React-jsinspectortracing - - React-NativeModulesApple - - React-networking - - React-RCTBlob - - React-RCTFBReactNativeSpec - - React-RCTImage (= 0.88.1) - - React-runtimeexecutor - - React-utils - - ReactCommon - - ReactNativeDependencies - - React-cxxreact (0.88.1): - - hermes-engine - - React-callinvoker (= 0.88.1) - - React-Core-prebuilt - - React-debug (= 0.88.1) - - React-jserrorhandler (= 0.88.1) - - React-jsi (= 0.88.1) - - React-jsinspector - - React-jsinspectorcdp - - React-jsinspectortracing - - React-logger (= 0.88.1) - - React-perflogger (= 0.88.1) - - React-runtimeexecutor - - React-timing (= 0.88.1) - - React-utils - - ReactNativeDependencies - - React-cxxstableapi (0.88.1) - - React-debug (0.88.1): - - React-cxxstableapi - - React-debug/debugUmbrella (= 0.88.1) - - React-debug/redbox (= 0.88.1) - - React-debug/debugUmbrella (0.88.1): - - React-cxxstableapi - - React-debug/redbox (0.88.1): - - React-cxxstableapi - - React-defaultsnativemodule (0.88.1): - - hermes-engine - - React-Core-prebuilt - - React-cxxstableapi - - React-domnativemodule - - React-Fabric/animated - - React-featureflags - - React-featureflagsnativemodule - - React-idlecallbacksnativemodule - - React-intersectionobservernativemodule - - React-jsi - - React-jsiexecutor - - React-microtasksnativemodule - - React-mutationobservernativemodule - - React-RCTFBReactNativeSpec - - React-resizeobservernativemodule - - React-viewtransitionnativemodule - - React-webperformancenativemodule - - ReactNativeDependencies - - Yoga - - React-domnativemodule (0.88.1): - - hermes-engine - - React-bridging - - React-Core-prebuilt - - React-cxxstableapi - - React-Fabric - - React-Fabric/bridging - - React-FabricComponents - - React-graphics - - React-jsi - - React-jsiexecutor - - React-RCTFBReactNativeSpec - - React-runtimeexecutor - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-Fabric (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric/animated (= 0.88.1) - - React-Fabric/animationbackend (= 0.88.1) - - React-Fabric/animations (= 0.88.1) - - React-Fabric/attributedstring (= 0.88.1) - - React-Fabric/bridging (= 0.88.1) - - React-Fabric/componentregistry (= 0.88.1) - - React-Fabric/componentregistrynative (= 0.88.1) - - React-Fabric/components (= 0.88.1) - - React-Fabric/consistency (= 0.88.1) - - React-Fabric/core (= 0.88.1) - - React-Fabric/dom (= 0.88.1) - - React-Fabric/imagemanager (= 0.88.1) - - React-Fabric/leakchecker (= 0.88.1) - - React-Fabric/mounting (= 0.88.1) - - React-Fabric/observers (= 0.88.1) - - React-Fabric/scheduler (= 0.88.1) - - React-Fabric/telemetry (= 0.88.1) - - React-Fabric/uimanager (= 0.88.1) - - React-Fabric/viewtransition (= 0.88.1) - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/animated (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric/animationbackend - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/animationbackend (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/animations (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/attributedstring (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/bridging (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/componentregistry (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/componentregistrynative (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/components (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric/components/legacyviewmanagerinterop (= 0.88.1) - - React-Fabric/components/root (= 0.88.1) - - React-Fabric/components/scrollview (= 0.88.1) - - React-Fabric/components/view (= 0.88.1) - - React-Fabric/components/viewUmbrella (= 0.88.1) - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/components/legacyviewmanagerinterop (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/components/root (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/components/scrollview (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/components/view (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-renderercss - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-Fabric/components/viewUmbrella (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/consistency (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/core (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/dom (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/imagemanager (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/leakchecker (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/mounting (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-jsinspectortracing - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/observers (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric/observers/events (= 0.88.1) - - React-Fabric/observers/intersection (= 0.88.1) - - React-Fabric/observers/mutation (= 0.88.1) - - React-Fabric/observers/resize (= 0.88.1) - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/observers/events (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/observers/intersection (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/observers/mutation (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/observers/resize (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/scheduler (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric/animationbackend - - React-Fabric/observers/events - - React-Fabric/viewtransition - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-performancecdpmetrics - - React-performancetimeline - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/telemetry (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/uimanager (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric/uimanager/consistency (= 0.88.1) - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererconsistency - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/uimanager/consistency (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererconsistency - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-Fabric/viewtransition (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-rendererdebug - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-FabricComponents (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric - - React-FabricComponents/components (= 0.88.1) - - React-FabricComponents/textlayoutmanager (= 0.88.1) - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-RCTFBReactNativeSpec - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-FabricComponents/components (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric - - React-FabricComponents/components/inputaccessory (= 0.88.1) - - React-FabricComponents/components/iostextinput (= 0.88.1) - - React-FabricComponents/components/modal (= 0.88.1) - - React-FabricComponents/components/rncore (= 0.88.1) - - React-FabricComponents/components/safeareaview (= 0.88.1) - - React-FabricComponents/components/switch (= 0.88.1) - - React-FabricComponents/components/text (= 0.88.1) - - React-FabricComponents/components/textinput (= 0.88.1) - - React-FabricComponents/components/unimplementedview (= 0.88.1) - - React-FabricComponents/components/virtualview (= 0.88.1) - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-RCTFBReactNativeSpec - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-FabricComponents/components/inputaccessory (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-RCTFBReactNativeSpec - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-FabricComponents/components/iostextinput (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-RCTFBReactNativeSpec - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-FabricComponents/components/modal (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-RCTFBReactNativeSpec - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-FabricComponents/components/rncore (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-RCTFBReactNativeSpec - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-FabricComponents/components/safeareaview (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-RCTFBReactNativeSpec - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-FabricComponents/components/switch (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-RCTFBReactNativeSpec - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-FabricComponents/components/text (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-RCTFBReactNativeSpec - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-FabricComponents/components/textinput (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-RCTFBReactNativeSpec - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-FabricComponents/components/unimplementedview (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-RCTFBReactNativeSpec - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-FabricComponents/components/virtualview (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-RCTFBReactNativeSpec - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-FabricComponents/textlayoutmanager (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-logger - - React-RCTFBReactNativeSpec - - React-rendererdebug - - React-runtimescheduler - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-FabricImage (0.88.1): - - hermes-engine - - RCTRequired (= 0.88.1) - - RCTTypeSafety (= 0.88.1) - - React-Core-prebuilt - - React-cxxstableapi - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-jsiexecutor (= 0.88.1) - - React-logger - - React-rendererdebug - - React-utils - - ReactCommon - - ReactNativeDependencies - - Yoga - - React-featureflags (0.88.1): - - React-Core-prebuilt - - React-cxxstableapi - - React-featureflags/featureflagsUmbrella (= 0.88.1) - - ReactNativeDependencies - - React-featureflags/featureflagsUmbrella (0.88.1): - - React-Core-prebuilt - - React-cxxstableapi - - ReactNativeDependencies - - React-featureflagsnativemodule (0.88.1): - - hermes-engine - - React-Core-prebuilt - - React-cxxstableapi - - React-featureflags - - React-jsi - - React-jsiexecutor - - React-RCTFBReactNativeSpec - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-graphics (0.88.1): - - hermes-engine - - React-Core-prebuilt - - React-featureflags - - React-jsi - - React-jsiexecutor - - React-rendererdebug - - React-utils - - ReactNativeDependencies - - React-hermes (0.88.1): - - hermes-engine - - React-Core-prebuilt - - React-cxxreact (= 0.88.1) - - React-cxxstableapi - - React-jsi - - React-jsiexecutor (= 0.88.1) - - React-jsinspector - - React-jsinspectorcdp - - React-jsinspectortracing - - React-jsitooling - - React-oscompat - - React-perflogger (= 0.88.1) - - React-runtimeexecutor - - ReactNativeDependencies - - React-idlecallbacksnativemodule (0.88.1): - - hermes-engine - - React-bridging - - React-Core-prebuilt - - React-cxxstableapi - - React-jsi - - React-jsiexecutor - - React-RCTFBReactNativeSpec - - React-runtimeexecutor - - React-runtimescheduler - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-ImageManager (0.88.1): - - React-Core-prebuilt - - React-Core/Default - - React-cxxstableapi - - React-debug - - React-Fabric - - React-graphics - - React-rendererdebug - - React-utils - - ReactNativeDependencies - - React-intersectionobservernativemodule (0.88.1): - - hermes-engine - - React-bridging - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-Fabric - - React-Fabric/bridging - - React-graphics - - React-jsi - - React-jsiexecutor - - React-RCTFBReactNativeSpec - - React-runtimeexecutor - - React-runtimescheduler - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-jserrorhandler (0.88.1): - - hermes-engine - - React-bridging - - React-Core-prebuilt - - React-cxxstableapi - - React-debug - - React-featureflags - - React-jsi - - ReactNativeDependencies - - React-jsi (0.88.1): - - hermes-engine - - React-Core-prebuilt - - ReactNativeDependencies - - React-jsiexecutor (0.88.1): - - hermes-engine - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-jserrorhandler - - React-jsi - - React-jsinspector - - React-jsinspectorcdp - - React-jsinspectortracing - - React-jsitooling - - React-perflogger - - React-runtimeexecutor - - React-utils - - ReactNativeDependencies - - React-jsinspector (0.88.1): - - hermes-engine - - React-Core-prebuilt - - React-featureflags - - React-jsi - - React-jsinspectorcdp - - React-jsinspectornetwork - - React-jsinspectortracing - - React-oscompat - - React-perflogger (= 0.88.1) - - React-runtimeexecutor - - React-utils - - ReactNativeDependencies - - React-jsinspectorcdp (0.88.1): - - React-Core-prebuilt - - React-cxxstableapi - - ReactNativeDependencies - - React-jsinspectornetwork (0.88.1): - - React-Core-prebuilt - - React-cxxstableapi - - React-jsinspectorcdp - - ReactNativeDependencies - - React-jsinspectortracing (0.88.1): - - hermes-engine - - React-Core-prebuilt - - React-cxxstableapi - - React-jsi - - React-jsinspectornetwork - - React-oscompat - - React-timing - - React-utils - - ReactNativeDependencies - - React-jsitooling (0.88.1): - - hermes-engine - - React-Core-prebuilt - - React-cxxreact (= 0.88.1) - - React-cxxstableapi - - React-debug - - React-jsi (= 0.88.1) - - React-jsinspector - - React-jsinspectorcdp - - React-jsinspectortracing - - React-runtimeexecutor - - React-utils - - ReactNativeDependencies - - React-jsitracing (0.88.1): - - React-jsi - - React-logger (0.88.1): - - React-Core-prebuilt - - ReactNativeDependencies - - React-Mapbuffer (0.88.1): - - React-Core-prebuilt - - React-cxxstableapi - - React-debug - - React-Mapbuffer/mapbufferUmbrella (= 0.88.1) - - ReactNativeDependencies - - React-Mapbuffer/mapbufferUmbrella (0.88.1): - - React-Core-prebuilt - - React-cxxstableapi - - React-debug - - ReactNativeDependencies - - React-microtasksnativemodule (0.88.1): - - hermes-engine - - React-Core-prebuilt - - React-cxxstableapi - - React-jsi - - React-jsiexecutor - - React-RCTFBReactNativeSpec - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-mutationobservernativemodule (0.88.1): - - hermes-engine - - React-bridging - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-Fabric - - React-Fabric/bridging - - React-Fabric/observers/mutation - - React-featureflags - - React-jsi - - React-jsiexecutor - - React-RCTFBReactNativeSpec - - React-runtimeexecutor - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - react-native-onesignal (5.5.17): - - hermes-engine - - OneSignalXCFramework (= 5.8.1) - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-renderercss - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - react-native-safe-area-context (5.11.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - react-native-safe-area-context/common (= 5.11.1) - - react-native-safe-area-context/fabric (= 5.11.1) - - React-NativeModulesApple - - React-RCTFabric - - React-renderercss - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - react-native-safe-area-context/common (5.11.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-renderercss - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - react-native-safe-area-context/fabric (5.11.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - react-native-safe-area-context/common - - React-NativeModulesApple - - React-RCTFabric - - React-renderercss - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-NativeModulesApple (0.88.1): - - hermes-engine - - React-bridging - - React-callinvoker - - React-Core - - React-Core-prebuilt - - React-cxxreact - - React-debug - - React-featureflags - - React-jsi - - React-jsinspector - - React-jsinspectorcdp - - React-runtimeexecutor - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - React-networking (0.88.1): - - React-Core-prebuilt - - React-cxxstableapi - - React-jsinspectornetwork - - React-jsinspectortracing - - React-performancetimeline - - React-timing - - ReactNativeDependencies - - React-oscompat (0.88.1): - - React-cxxstableapi - - React-perflogger (0.88.1): - - React-Core-prebuilt - - ReactNativeDependencies - - React-performancecdpmetrics (0.88.1): - - hermes-engine - - React-Core-prebuilt - - React-cxxstableapi - - React-jsi - - React-performancetimeline - - React-runtimeexecutor - - React-timing - - ReactNativeDependencies - - React-performancetimeline (0.88.1): - - React-Core-prebuilt - - React-cxxstableapi - - React-featureflags - - React-jsinspector - - React-jsinspectortracing - - React-perflogger - - React-timing - - ReactNativeDependencies - - React-RCTActionSheet (0.88.1): - - React-Core/RCTActionSheetHeaders (= 0.88.1) - - React-RCTAnimatedModuleProvider (0.88.1): - - hermes-engine - - React-Core - - React-Core-prebuilt - - React-Fabric/animated - - React-featureflags - - ReactCommon - - ReactNativeDependencies - - Yoga - - React-RCTAnimation (0.88.1): - - RCTTypeSafety - - React-Core-prebuilt - - React-Core/RCTAnimationHeaders - - React-debug - - React-featureflags - - React-jsi - - React-NativeModulesApple - - React-RCTFBReactNativeSpec - - ReactCommon - - ReactNativeDependencies - - React-RCTAppDelegate (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-Core - - React-Core-prebuilt - - React-CoreModules - - React-debug - - React-defaultsnativemodule - - React-Fabric - - React-featureflags - - React-graphics - - React-hermes - - React-jsitooling - - React-NativeModulesApple - - React-RCTAnimatedModuleProvider - - React-RCTFabric - - React-RCTFBReactNativeSpec - - React-RCTImage - - React-RCTLinking - - React-RCTNetwork - - React-RCTRuntime - - React-rendererdebug - - React-RuntimeApple - - React-RuntimeCore - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactCommon - - ReactNativeDependencies - - React-RCTBlob (0.88.1): - - hermes-engine - - React-Core-prebuilt - - React-Core/RCTBlobHeaders - - React-Core/RCTWebSocket - - React-jsi - - React-jsinspector - - React-jsinspectorcdp - - React-NativeModulesApple - - React-RCTFBReactNativeSpec - - React-RCTNetwork - - ReactCommon - - ReactNativeDependencies - - React-RCTFabric (0.88.1): - - React-Core-prebuilt - - React-RCTFBReactNativeSpec (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-jsi - - React-NativeModulesApple - - React-RCTFBReactNativeSpec/components (= 0.88.1) - - ReactCommon - - ReactNativeDependencies - - React-RCTFBReactNativeSpec/components (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-jsi - - React-NativeModulesApple - - React-rendererdebug - - React-utils - - ReactCommon - - ReactNativeDependencies - - Yoga - - React-RCTImage (0.88.1): - - RCTTypeSafety - - React-Core-prebuilt - - React-Core/RCTImageHeaders - - React-jsi - - React-NativeModulesApple - - React-RCTFBReactNativeSpec - - React-RCTNetwork - - ReactCommon - - ReactNativeDependencies - - React-RCTLinking (0.88.1): - - React-Core/RCTLinkingHeaders (= 0.88.1) - - React-jsi (= 0.88.1) - - React-NativeModulesApple - - React-RCTFBReactNativeSpec - - ReactCommon - - ReactCommon/turbomodule/core (= 0.88.1) - - React-RCTNetwork (0.88.1): - - RCTTypeSafety - - React-Core-prebuilt - - React-Core/RCTNetworkHeaders - - React-debug - - React-featureflags - - React-jsi - - React-jsinspectorcdp - - React-jsinspectornetwork - - React-NativeModulesApple - - React-networking - - React-RCTFBReactNativeSpec - - ReactCommon - - ReactNativeDependencies - - React-RCTRuntime (0.88.1): - - React-Core-prebuilt - - React-RCTSettings (0.88.1): - - RCTTypeSafety - - React-Core-prebuilt - - React-Core/RCTSettingsHeaders - - React-jsi - - React-NativeModulesApple - - React-RCTFBReactNativeSpec - - ReactCommon - - ReactNativeDependencies - - React-RCTText (0.88.1): - - React-Core/RCTTextHeaders (= 0.88.1) - - Yoga - - React-RCTVibration (0.88.1): - - React-Core-prebuilt - - React-Core/RCTVibrationHeaders - - React-jsi - - React-NativeModulesApple - - React-RCTFBReactNativeSpec - - ReactCommon - - ReactNativeDependencies - - React-rendererconsistency (0.88.1) - - React-renderercss (0.88.1): - - React-debug - - React-utils - - React-rendererdebug (0.88.1): - - React-Core-prebuilt - - React-debug - - ReactNativeDependencies - - React-resizeobservernativemodule (0.88.1): - - hermes-engine - - React-bridging - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-Fabric - - React-Fabric/bridging - - React-Fabric/observers/resize - - React-graphics - - React-jsi - - React-jsiexecutor - - React-RCTFBReactNativeSpec - - React-runtimeexecutor - - React-runtimescheduler - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-RuntimeApple (0.88.1): - - hermes-engine - - React-callinvoker - - React-Core-prebuilt - - React-Core/Default - - React-CoreModules - - React-cxxreact - - React-cxxstableapi - - React-featureflags - - React-jserrorhandler - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-jsitooling - - React-Mapbuffer - - React-NativeModulesApple - - React-RCTFabric - - React-RCTFBReactNativeSpec - - React-RuntimeCore - - React-runtimeexecutor - - React-RuntimeHermes - - React-runtimescheduler - - React-utils - - ReactNativeDependencies - - React-RuntimeCore (0.88.1): - - hermes-engine - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-Fabric - - React-featureflags - - React-jserrorhandler - - React-jsi - - React-jsiexecutor - - React-jsinspector - - React-jsitooling - - React-performancetimeline - - React-runtimeexecutor - - React-runtimescheduler - - React-utils - - ReactNativeDependencies - - React-runtimeexecutor (0.88.1): - - React-Core-prebuilt - - React-debug - - React-featureflags - - React-jsi (= 0.88.1) - - React-utils - - ReactNativeDependencies - - React-RuntimeHermes (0.88.1): - - hermes-engine - - React-Core-prebuilt - - React-cxxstableapi - - React-featureflags - - React-hermes - - React-jsi - - React-jsinspector - - React-jsinspectorcdp - - React-jsinspectortracing - - React-jsitooling - - React-jsitracing - - React-RuntimeCore - - React-runtimeexecutor - - React-utils - - ReactNativeDependencies - - React-runtimescheduler (0.88.1): - - hermes-engine - - React-callinvoker - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-debug - - React-featureflags - - React-jserrorhandler - - React-jsi - - React-jsinspectortracing - - React-performancetimeline - - React-rendererconsistency - - React-rendererdebug - - React-runtimeexecutor - - React-timing - - React-utils - - ReactNativeDependencies - - React-timing (0.88.1): - - React-cxxstableapi - - React-debug - - React-timing/timingUmbrella (= 0.88.1) - - React-timing/timingUmbrella (0.88.1): - - React-cxxstableapi - - React-debug - - React-utils (0.88.1): - - hermes-engine - - React-Core-prebuilt - - React-debug - - React-jsi (= 0.88.1) - - ReactNativeDependencies - - React-viewtransitionnativemodule (0.88.1): - - hermes-engine - - React-Core-prebuilt - - React-Fabric - - React-Fabric/bridging - - React-jsi - - React-jsiexecutor - - React-RCTFBReactNativeSpec - - React-runtimeexecutor - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - React-webperformancenativemodule (0.88.1): - - hermes-engine - - React-bridging - - React-Core-prebuilt - - React-cxxreact - - React-cxxstableapi - - React-jsi - - React-jsiexecutor - - React-performancetimeline - - React-RCTFBReactNativeSpec - - React-runtimeexecutor - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - ReactAppDependencyProvider (0.88.1): - - ReactCodegen - - ReactCodegen (0.88.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-debug - - React-Fabric - - React-FabricImage - - React-featureflags - - React-graphics - - React-jsi - - React-jsiexecutor - - React-NativeModulesApple - - React-RCTAppDelegate - - React-rendererdebug - - React-utils - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - ReactCommon (0.88.1): - - React-Core-prebuilt - - ReactCommon/turbomodule (= 0.88.1) - - ReactNativeDependencies - - ReactCommon/turbomodule (0.88.1): - - hermes-engine - - React-callinvoker (= 0.88.1) - - React-Core-prebuilt - - React-jsi (= 0.88.1) - - React-logger (= 0.88.1) - - React-perflogger (= 0.88.1) - - ReactCommon/turbomodule/core (= 0.88.1) - - ReactNativeDependencies - - ReactCommon/turbomodule/core (0.88.1): - - hermes-engine - - React-bridging - - React-callinvoker (= 0.88.1) - - React-Core-prebuilt - - React-cxxreact (= 0.88.1) - - React-debug (= 0.88.1) - - React-featureflags (= 0.88.1) - - React-jsi (= 0.88.1) - - React-logger (= 0.88.1) - - React-perflogger (= 0.88.1) - - React-utils (= 0.88.1) - - ReactNativeDependencies - - ReactNativeDependencies (0.88.1) - - RNCAsyncStorage (2.2.0): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-renderercss - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - RNScreens (4.30.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-RCTImage - - React-renderercss - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - RNScreens/common (= 4.30.1) - - Yoga - - RNScreens/common (4.30.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-RCTImage - - React-renderercss - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - RNSVG (15.16.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-renderercss - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - RNSVG/common (= 15.16.1) - - Yoga - - RNSVG/common (15.16.1): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-renderercss - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - RNVectorIcons (10.3.0): - - hermes-engine - - RCTRequired - - RCTTypeSafety - - React-bridging - - React-Core - - React-Core-prebuilt - - React-cxxstableapi - - React-debug - - React-Fabric - - React-featureflags - - React-graphics - - React-ImageManager - - React-jsi - - React-NativeModulesApple - - React-RCTFabric - - React-renderercss - - React-rendererdebug - - React-utils - - ReactCodegen - - ReactCommon/turbomodule/core - - ReactNativeDependencies - - Yoga - - SocketRocket (0.7.1): - - ReactNativeDependencies - - Yoga (0.0.0): - - React-Core-prebuilt - -DEPENDENCIES: - - boost (from `build/rndeps-facades/boost`) - - DoubleConversion (from `build/rndeps-facades/DoubleConversion`) - - fast_float (from `build/rndeps-facades/fast_float`) - - FBLazyVector (from `build/rncore-facades/FBLazyVector`) - - fmt (from `build/rndeps-facades/fmt`) - - glog (from `build/rndeps-facades/glog`) - - hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`) - - OneSignalXCFramework (= 5.8.1) - - RCT-Folly (from `build/rndeps-facades/RCT-Folly`) - - RCTDeprecation (from `build/rncore-facades/RCTDeprecation`) - - RCTRequired (from `build/rncore-facades/RCTRequired`) - - RCTSwiftUI (from `../node_modules/react-native/ReactApple/RCTSwiftUI`) - - RCTSwiftUIWrapper (from `../node_modules/react-native/ReactApple/RCTSwiftUIWrapper`) - - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) - - React (from `../node_modules/react-native/`) - - React-bridging (from `../node_modules/react-native/ReactCommon/react/bridging`) - - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`) - - React-Core (from `build/rncore-facades/React-Core`) - - React-Core-prebuilt (from `../node_modules/react-native/React-Core-prebuilt.podspec`) - - React-Core/RCTWebSocket (from `build/rncore-facades/React-Core`) - - React-CoreModules (from `../node_modules/react-native/React/CoreModules`) - - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) - - React-cxxstableapi (from `../node_modules/react-native/ReactCommon/react/cxxstableapi`) - - React-debug (from `../node_modules/react-native/ReactCommon/react/debug`) - - React-defaultsnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/defaults`) - - React-domnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/dom`) - - React-Fabric (from `../node_modules/react-native/ReactCommon`) - - React-FabricComponents (from `../node_modules/react-native/ReactCommon`) - - React-FabricImage (from `../node_modules/react-native/ReactCommon`) - - React-featureflags (from `../node_modules/react-native/ReactCommon/react/featureflags`) - - React-featureflagsnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/featureflags`) - - React-graphics (from `../node_modules/react-native/ReactCommon/react/renderer/graphics`) - - React-hermes (from `../node_modules/react-native/ReactCommon/hermes`) - - React-idlecallbacksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/idlecallbacks`) - - React-ImageManager (from `../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios`) - - React-intersectionobservernativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/intersectionobserver`) - - React-jserrorhandler (from `../node_modules/react-native/ReactCommon/jserrorhandler`) - - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) - - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) - - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector-modern`) - - React-jsinspectorcdp (from `../node_modules/react-native/ReactCommon/jsinspector-modern/cdp`) - - React-jsinspectornetwork (from `../node_modules/react-native/ReactCommon/jsinspector-modern/network`) - - React-jsinspectortracing (from `../node_modules/react-native/ReactCommon/jsinspector-modern/tracing`) - - React-jsitooling (from `../node_modules/react-native/ReactCommon/jsitooling`) - - 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-microtasksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`) - - React-mutationobservernativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/mutationobserver`) - - react-native-onesignal (from `../node_modules/react-native-onesignal`) - - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) - - React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`) - - React-networking (from `../node_modules/react-native/ReactCommon/react/networking`) - - React-oscompat (from `../node_modules/react-native/ReactCommon/oscompat`) - - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) - - React-performancecdpmetrics (from `../node_modules/react-native/ReactCommon/react/performance/cdpmetrics`) - - React-performancetimeline (from `../node_modules/react-native/ReactCommon/react/performance/timeline`) - - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) - - React-RCTAnimatedModuleProvider (from `../node_modules/react-native/ReactApple/RCTAnimatedModuleProvider`) - - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) - - React-RCTAppDelegate (from `../node_modules/react-native/Libraries/AppDelegate`) - - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) - - React-RCTFabric (from `build/rncore-facades/React-RCTFabric`) - - React-RCTFBReactNativeSpec (from `../node_modules/react-native/React`) - - React-RCTImage (from `../node_modules/react-native/Libraries/Image`) - - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`) - - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`) - - React-RCTRuntime (from `build/rncore-facades/React-RCTRuntime`) - - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) - - React-RCTText (from `../node_modules/react-native/Libraries/Text`) - - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) - - React-rendererconsistency (from `../node_modules/react-native/ReactCommon/react/renderer/consistency`) - - React-renderercss (from `../node_modules/react-native/ReactCommon/react/renderer/css`) - - React-rendererdebug (from `../node_modules/react-native/ReactCommon/react/renderer/debug`) - - React-resizeobservernativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/resizeobserver`) - - React-RuntimeApple (from `../node_modules/react-native/ReactCommon/react/runtime/platform/ios`) - - React-RuntimeCore (from `../node_modules/react-native/ReactCommon/react/runtime`) - - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) - - React-RuntimeHermes (from `../node_modules/react-native/ReactCommon/react/runtime`) - - React-runtimescheduler (from `../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`) - - React-timing (from `../node_modules/react-native/ReactCommon/react/timing`) - - React-utils (from `../node_modules/react-native/ReactCommon/react/utils`) - - React-viewtransitionnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/viewtransition`) - - React-webperformancenativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/webperformance`) - - ReactAppDependencyProvider (from `build/generated/ios/ReactAppDependencyProvider`) - - ReactCodegen (from `build/generated/ios/ReactCodegen`) - - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) - - ReactNativeDependencies (from `../node_modules/react-native/third-party-podspecs/ReactNativeDependencies.podspec`) - - "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)" - - RNScreens (from `../node_modules/react-native-screens`) - - RNSVG (from `../node_modules/react-native-svg`) - - RNVectorIcons (from `../node_modules/react-native-vector-icons`) - - SocketRocket (from `build/rndeps-facades/SocketRocket`) - - Yoga (from `build/rncore-facades/Yoga`) - -SPEC REPOS: - trunk: - - OneSignalXCFramework - -EXTERNAL SOURCES: - boost: - :path: build/rndeps-facades/boost - DoubleConversion: - :path: build/rndeps-facades/DoubleConversion - fast_float: - :path: build/rndeps-facades/fast_float - FBLazyVector: - :path: build/rncore-facades/FBLazyVector - fmt: - :path: build/rndeps-facades/fmt - glog: - :path: build/rndeps-facades/glog - hermes-engine: - :podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec" - :tag: hermes-v260318099.0.5 - RCT-Folly: - :path: build/rndeps-facades/RCT-Folly - RCTDeprecation: - :path: build/rncore-facades/RCTDeprecation - RCTRequired: - :path: build/rncore-facades/RCTRequired - RCTSwiftUI: - :path: "../node_modules/react-native/ReactApple/RCTSwiftUI" - RCTSwiftUIWrapper: - :path: "../node_modules/react-native/ReactApple/RCTSwiftUIWrapper" - RCTTypeSafety: - :path: "../node_modules/react-native/Libraries/TypeSafety" - React: - :path: "../node_modules/react-native/" - React-bridging: - :path: "../node_modules/react-native/ReactCommon/react/bridging" - React-callinvoker: - :path: "../node_modules/react-native/ReactCommon/callinvoker" - React-Core: - :path: build/rncore-facades/React-Core - React-Core-prebuilt: - :podspec: "../node_modules/react-native/React-Core-prebuilt.podspec" - React-CoreModules: - :path: "../node_modules/react-native/React/CoreModules" - React-cxxreact: - :path: "../node_modules/react-native/ReactCommon/cxxreact" - React-cxxstableapi: - :path: "../node_modules/react-native/ReactCommon/react/cxxstableapi" - React-debug: - :path: "../node_modules/react-native/ReactCommon/react/debug" - React-defaultsnativemodule: - :path: "../node_modules/react-native/ReactCommon/react/nativemodule/defaults" - React-domnativemodule: - :path: "../node_modules/react-native/ReactCommon/react/nativemodule/dom" - React-Fabric: - :path: "../node_modules/react-native/ReactCommon" - React-FabricComponents: - :path: "../node_modules/react-native/ReactCommon" - React-FabricImage: - :path: "../node_modules/react-native/ReactCommon" - React-featureflags: - :path: "../node_modules/react-native/ReactCommon/react/featureflags" - React-featureflagsnativemodule: - :path: "../node_modules/react-native/ReactCommon/react/nativemodule/featureflags" - React-graphics: - :path: "../node_modules/react-native/ReactCommon/react/renderer/graphics" - React-hermes: - :path: "../node_modules/react-native/ReactCommon/hermes" - React-idlecallbacksnativemodule: - :path: "../node_modules/react-native/ReactCommon/react/nativemodule/idlecallbacks" - React-ImageManager: - :path: "../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios" - React-intersectionobservernativemodule: - :path: "../node_modules/react-native/ReactCommon/react/nativemodule/intersectionobserver" - React-jserrorhandler: - :path: "../node_modules/react-native/ReactCommon/jserrorhandler" - React-jsi: - :path: "../node_modules/react-native/ReactCommon/jsi" - React-jsiexecutor: - :path: "../node_modules/react-native/ReactCommon/jsiexecutor" - React-jsinspector: - :path: "../node_modules/react-native/ReactCommon/jsinspector-modern" - React-jsinspectorcdp: - :path: "../node_modules/react-native/ReactCommon/jsinspector-modern/cdp" - React-jsinspectornetwork: - :path: "../node_modules/react-native/ReactCommon/jsinspector-modern/network" - React-jsinspectortracing: - :path: "../node_modules/react-native/ReactCommon/jsinspector-modern/tracing" - React-jsitooling: - :path: "../node_modules/react-native/ReactCommon/jsitooling" - React-jsitracing: - :path: "../node_modules/react-native/ReactCommon/hermes/executor/" - React-logger: - :path: "../node_modules/react-native/ReactCommon/logger" - React-Mapbuffer: - :path: "../node_modules/react-native/ReactCommon" - React-microtasksnativemodule: - :path: "../node_modules/react-native/ReactCommon/react/nativemodule/microtasks" - React-mutationobservernativemodule: - :path: "../node_modules/react-native/ReactCommon/react/nativemodule/mutationobserver" - react-native-onesignal: - :path: "../node_modules/react-native-onesignal" - react-native-safe-area-context: - :path: "../node_modules/react-native-safe-area-context" - React-NativeModulesApple: - :path: "../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios" - React-networking: - :path: "../node_modules/react-native/ReactCommon/react/networking" - React-oscompat: - :path: "../node_modules/react-native/ReactCommon/oscompat" - React-perflogger: - :path: "../node_modules/react-native/ReactCommon/reactperflogger" - React-performancecdpmetrics: - :path: "../node_modules/react-native/ReactCommon/react/performance/cdpmetrics" - React-performancetimeline: - :path: "../node_modules/react-native/ReactCommon/react/performance/timeline" - React-RCTActionSheet: - :path: "../node_modules/react-native/Libraries/ActionSheetIOS" - React-RCTAnimatedModuleProvider: - :path: "../node_modules/react-native/ReactApple/RCTAnimatedModuleProvider" - React-RCTAnimation: - :path: "../node_modules/react-native/Libraries/NativeAnimation" - React-RCTAppDelegate: - :path: "../node_modules/react-native/Libraries/AppDelegate" - React-RCTBlob: - :path: "../node_modules/react-native/Libraries/Blob" - React-RCTFabric: - :path: build/rncore-facades/React-RCTFabric - React-RCTFBReactNativeSpec: - :path: "../node_modules/react-native/React" - React-RCTImage: - :path: "../node_modules/react-native/Libraries/Image" - React-RCTLinking: - :path: "../node_modules/react-native/Libraries/LinkingIOS" - React-RCTNetwork: - :path: "../node_modules/react-native/Libraries/Network" - React-RCTRuntime: - :path: build/rncore-facades/React-RCTRuntime - React-RCTSettings: - :path: "../node_modules/react-native/Libraries/Settings" - React-RCTText: - :path: "../node_modules/react-native/Libraries/Text" - React-RCTVibration: - :path: "../node_modules/react-native/Libraries/Vibration" - React-rendererconsistency: - :path: "../node_modules/react-native/ReactCommon/react/renderer/consistency" - React-renderercss: - :path: "../node_modules/react-native/ReactCommon/react/renderer/css" - React-rendererdebug: - :path: "../node_modules/react-native/ReactCommon/react/renderer/debug" - React-resizeobservernativemodule: - :path: "../node_modules/react-native/ReactCommon/react/nativemodule/resizeobserver" - React-RuntimeApple: - :path: "../node_modules/react-native/ReactCommon/react/runtime/platform/ios" - React-RuntimeCore: - :path: "../node_modules/react-native/ReactCommon/react/runtime" - React-runtimeexecutor: - :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" - React-RuntimeHermes: - :path: "../node_modules/react-native/ReactCommon/react/runtime" - React-runtimescheduler: - :path: "../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler" - React-timing: - :path: "../node_modules/react-native/ReactCommon/react/timing" - React-utils: - :path: "../node_modules/react-native/ReactCommon/react/utils" - React-viewtransitionnativemodule: - :path: "../node_modules/react-native/ReactCommon/react/nativemodule/viewtransition" - React-webperformancenativemodule: - :path: "../node_modules/react-native/ReactCommon/react/nativemodule/webperformance" - ReactAppDependencyProvider: - :path: build/generated/ios/ReactAppDependencyProvider - ReactCodegen: - :path: build/generated/ios/ReactCodegen - ReactCommon: - :path: "../node_modules/react-native/ReactCommon" - ReactNativeDependencies: - :podspec: "../node_modules/react-native/third-party-podspecs/ReactNativeDependencies.podspec" - RNCAsyncStorage: - :path: "../node_modules/@react-native-async-storage/async-storage" - RNScreens: - :path: "../node_modules/react-native-screens" - RNSVG: - :path: "../node_modules/react-native-svg" - RNVectorIcons: - :path: "../node_modules/react-native-vector-icons" - SocketRocket: - :path: build/rndeps-facades/SocketRocket - Yoga: - :path: build/rncore-facades/Yoga - -SPEC CHECKSUMS: - boost: 8502bfdc46e2804408af2e163049ece181009af4 - DoubleConversion: 501a575c40c0b50c89685762dd3e415e6bb26fb0 - fast_float: 7c925d1cebf8328d4018d061f49377e9f887e3b4 - FBLazyVector: 07cb4c5b92110c132f2bb73b908e87f35cbe0a19 - fmt: ba0886e864ebb21d14c98b2e12e164b8002f5b93 - glog: 3cf7cb46f743c4bc758ae3e6d9c15bd1b4cfd6d4 - hermes-engine: 79484fc4e58f328d01b9339ef899ca633d3702ee - OneSignalXCFramework: 51f314691a5326cb1440d49d0ec32213997be4ca - RCT-Folly: 82921e585c0400eda46fac1068297aa9dfb035e4 - RCTDeprecation: c62b9b3fbf0d26b76755f3ebd1c913a4fb469dde - RCTRequired: d0563e2484633b657976195f0543e180133afd3a - RCTSwiftUI: 15509267fa8f2c9add320d4f8bca1bf341e2744e - RCTSwiftUIWrapper: 21b972be3583a766ff6ab26d875e0d65cf517e7f - RCTTypeSafety: e83720d5a0fc095a2cbd0f431cf16762de30f85f - React: 137135ec8ba49581ff298b915372f8d37cc9ad73 - React-bridging: 48b96b1b423710103381dd90478513fff84456c4 - React-callinvoker: 8eb02682e7fc3ddc0e25a8d96eb5733c367436e8 - React-Core: 4cce9d3d50bd1544f33379cde3ae22175f6a1bcb - React-Core-prebuilt: dbd0bf94bbe1a1714bd4e27bc4f1bf33c02bb7b3 - React-CoreModules: c96f14c068269b233fcabc8add64963132a371a2 - React-cxxreact: 2956b35d64e2e5594607d359df31454a999acbed - React-cxxstableapi: 7019410c5d74d0a60cae97b5a636cd42017370a3 - React-debug: 0e263f8f5ecf6dc045ec00ef4ebdc17cfa538df0 - React-defaultsnativemodule: 1330d89bb3745f4045581d862e0ad41862a29ffd - React-domnativemodule: 9fc2d79107063d3041ddbef2b71df9d172dcf35c - React-Fabric: acb5d9543dcc8f6207fad8420ef51aa3a6e375d6 - React-FabricComponents: 3922ec5446406562e88a3e14dfcee44f77b6ff2f - React-FabricImage: 2ef5ed10651e6fc5034f6cd437b30ad79152f232 - React-featureflags: ba2857233a4743c97a150c06f0b91d6cf6af25dd - React-featureflagsnativemodule: 1dbcf5475c11322a4bbba6b516bd40a776f69d0f - React-graphics: cfcb8bc126e56f2e761f1b25ac5208fbe481188e - React-hermes: a1048395b3021ca36a93f2511f71bf8ca9d0ad96 - React-idlecallbacksnativemodule: a0a080256b1770033f0636e054c4909770cdd6ea - React-ImageManager: cbb1209ff310b5404ce705ad95f81947f1a865fe - React-intersectionobservernativemodule: 4f63c78f06f175b9dd9ef4862ffb0734f175ff5d - React-jserrorhandler: 500b1a480f9a2d94414fe664012831cd4593c9aa - React-jsi: 50c9001882f5d8d3a27b4b9a97211d739ba5fa1c - React-jsiexecutor: e457d9e0ccbc240a265153badefd610509d8304d - React-jsinspector: 498c98ab6f0f3c6157ac2726bb413287b6ddc9d4 - React-jsinspectorcdp: 4e1302542c163f43df6056f1b25c72ca881601d8 - React-jsinspectornetwork: 502d094e80d5d09f8fb80ca6ab14184c4e6d2f83 - React-jsinspectortracing: 1442c0d3baaaf128f38c66cca9a463bb8a0d5371 - React-jsitooling: 43100b9b693bdba69fc9bf5183a3209d089466d8 - React-jsitracing: 36bb93f77e15d27f44f594dd85b0b63427b40ee8 - React-logger: 0a01c5aed18b8490ab50bf4ed9596f94ecc4bcef - React-Mapbuffer: 50c4d7a1ff3f18413cbaf897c8b5ce46baa491b3 - React-microtasksnativemodule: 0207d6133274a7cbfc3d0dae326e3055c8cfcf9e - React-mutationobservernativemodule: b97a67c29f724d18a92379e7390f24350acb433a - react-native-onesignal: 4baa8eefce86aa0c2afe41ee811d47118749da9b - react-native-safe-area-context: 56700b839169ce88ffcec68c40447916fe512462 - React-NativeModulesApple: 8cfb2f308f48c48068c96b932e7f0e4297c23342 - React-networking: 3325cf73ecbdaacab0da91260b094baf36061a56 - React-oscompat: a776760fdfa152e12114f8c30d833963daac27e1 - React-perflogger: 581d52e87cc754527da2d640a0cd27349e66daed - React-performancecdpmetrics: b36b0928c1b6cbe2dffffae6fba072cc89e5647e - React-performancetimeline: cdfe8a0bfcdceff00167b15be6509d16f64906e8 - React-RCTActionSheet: 3fe2ade74f0b8559614930875ca34b727fb3cf50 - React-RCTAnimatedModuleProvider: 33fefaf8a427805f7b74c43e3987a096063aefa0 - React-RCTAnimation: f412b65b6698838f9cfb009f82c1a9a6e0f1454c - React-RCTAppDelegate: d2a836d0e4bb66b6010f350596088f4efad98dd4 - React-RCTBlob: d1fcc293267d205c354fe772222b0ca6cc6d5d32 - React-RCTFabric: 7f40302e364998157273b277e10a389ad1f3d358 - React-RCTFBReactNativeSpec: 418027fe87e9183346f17f55f73f0baad7d48a47 - React-RCTImage: 43a4fd9d58ebc85dee87b7ea09b69461ba5db73b - React-RCTLinking: 14e75f67005086d367f411a1e303580c16ca5bf4 - React-RCTNetwork: fa89609180cbdaaa2f37e8b89331d7fd863c7f93 - React-RCTRuntime: 21191eabd13762ba94741a480abf3649b4632496 - React-RCTSettings: 204a957417db09a0d2378482527506c900dce4ac - React-RCTText: cc6fe31b890f0ae7d0f02c1bf5f33fc725014a2d - React-RCTVibration: e80f3ea1c26936f5b9c5d972eefe860f416098d0 - React-rendererconsistency: f3c3737e43a00dd5115a5caf1653d53ecba40c59 - React-renderercss: 2ff7761e33236132b1d38daa73c1e20b74bfcc15 - React-rendererdebug: c6f1de13a76fdcfd5eda97048d86321fd919b350 - React-resizeobservernativemodule: 40d4ae0a4ef7595101cc2be1f5af3838d3edf1e9 - React-RuntimeApple: 87e2d89ad30fe47568c85790467eacf7c16dc3b0 - React-RuntimeCore: 5cfcf87454ad55a78707a28051e55b3acdf07f1f - React-runtimeexecutor: 0220936a41647dd4eb525e96fc6674fc1ca9365d - React-RuntimeHermes: ecacd6e3439eab1c6b0f94fa670d28951cd7f3b4 - React-runtimescheduler: 6ce87802f0a76bd7b3b9277c25f1ef3070fd83d7 - React-timing: a4b174c1d710d77c6fd30d8580b74d7bd8b3a203 - React-utils: e9a0a773a6bbb007a266853104b55a658124e13d - React-viewtransitionnativemodule: 31dae72887e60de89cf6e1c8def004fdfe554119 - React-webperformancenativemodule: c376d2e7367b3c0d65df3b60ff162554791e7f92 - ReactAppDependencyProvider: 2dbb2d65f3a487b8a69449f5b1b12b44656d2204 - ReactCodegen: 3840312f5071bb6b953b35a029c5c6dcf06b435e - ReactCommon: b63ce798b898ed77c6cfdeb80b18080161f52ed5 - ReactNativeDependencies: a5164c3ebbe90d992022b5d9cbabbf770a6d7d05 - RNCAsyncStorage: 9aad1f18e1b3d98690ae696b01bd984054108916 - RNScreens: f15a5bda1ddeff8575b8ce41d83885b67129f84b - RNSVG: 0851af4352d2e692b44aada9dd7a1d361c18fcfc - RNVectorIcons: 8e7890bf2ce85e41df79133e7778070c37dc8d70 - SocketRocket: 37aec555668fb852ec12e3c0de59a86ca58f0871 - Yoga: d1c536142c5ff8ec8cd856ab2a7c227a1d875c8e - -PODFILE CHECKSUM: 62265cbdf51c93d93d8d8e93d3f3f4bb5ec9d38a - -COCOAPODS: 1.15.2 diff --git a/examples/demo/ios/ReactNativeSPM/ReactNativeSPM.xcconfig b/examples/demo/ios/ReactNativeSPM/ReactNativeSPM.xcconfig new file mode 100644 index 00000000..894e00cb --- /dev/null +++ b/examples/demo/ios/ReactNativeSPM/ReactNativeSPM.xcconfig @@ -0,0 +1,67 @@ +// Generated by React Native on every `spm add` and `spm update`. +// Do not edit: changes are overwritten. + +CLANG_CXX_LANGUAGE_STANDARD = c++20 +REACT_NATIVE_PATH = $(SRCROOT)/../node_modules/react-native + +HEADER_SEARCH_PATHS = $(inherited) "$(SRCROOT)/build/generated/autolinking/headers" +OTHER_LDFLAGS = $(inherited) -ObjC "$(RN_SPM_REACT_BINARY)" "$(RN_SPM_REACT_NATIVE_DEPENDENCIES_BINARY)" "$(RN_SPM_HERMES_BINARY)" +FRAMEWORK_SEARCH_PATHS = $(inherited) "$(RN_SPM_REACT_SEARCH_PATH)" "$(RN_SPM_REACT_NATIVE_DEPENDENCIES_SEARCH_PATH)" "$(RN_SPM_HERMES_SEARCH_PATH)" +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks + +RN_SPM_FLAVOR = release +RN_SPM_FLAVOR[config=Debug] = debug +SWIFT_ACTIVE_COMPILATION_CONDITIONS[config=Debug] = $(inherited) DEBUG +RN_SPM_FLAVOR[config=Release] = release + +RN_SPM_REACT_FRAMEWORK[sdk=iphoneos*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/React.xcframework/ios-arm64/React.framework +RN_SPM_REACT_BINARY[sdk=iphoneos*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/React.xcframework/ios-arm64/React.framework/React +RN_SPM_REACT_SEARCH_PATH[sdk=iphoneos*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/React.xcframework/ios-arm64 +RN_SPM_REACT_FRAMEWORK[sdk=iphonesimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/React.xcframework/ios-arm64_x86_64-simulator/React.framework +RN_SPM_REACT_BINARY[sdk=iphonesimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/React.xcframework/ios-arm64_x86_64-simulator/React.framework/React +RN_SPM_REACT_SEARCH_PATH[sdk=iphonesimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/React.xcframework/ios-arm64_x86_64-simulator +RN_SPM_REACT_FRAMEWORK[sdk=macosx*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/React.xcframework/ios-arm64_x86_64-maccatalyst/React.framework +RN_SPM_REACT_BINARY[sdk=macosx*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/React.xcframework/ios-arm64_x86_64-maccatalyst/React.framework/React +RN_SPM_REACT_SEARCH_PATH[sdk=macosx*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/React.xcframework/ios-arm64_x86_64-maccatalyst +RN_SPM_REACT_NATIVE_DEPENDENCIES_FRAMEWORK[sdk=appletvos*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/tvos-arm64/ReactNativeDependencies.framework +RN_SPM_REACT_NATIVE_DEPENDENCIES_BINARY[sdk=appletvos*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/tvos-arm64/ReactNativeDependencies.framework/ReactNativeDependencies +RN_SPM_REACT_NATIVE_DEPENDENCIES_SEARCH_PATH[sdk=appletvos*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/tvos-arm64 +RN_SPM_REACT_NATIVE_DEPENDENCIES_FRAMEWORK[sdk=appletvsimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/tvos-arm64_x86_64-simulator/ReactNativeDependencies.framework +RN_SPM_REACT_NATIVE_DEPENDENCIES_BINARY[sdk=appletvsimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/tvos-arm64_x86_64-simulator/ReactNativeDependencies.framework/ReactNativeDependencies +RN_SPM_REACT_NATIVE_DEPENDENCIES_SEARCH_PATH[sdk=appletvsimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/tvos-arm64_x86_64-simulator +RN_SPM_REACT_NATIVE_DEPENDENCIES_FRAMEWORK[sdk=iphoneos*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/ios-arm64/ReactNativeDependencies.framework +RN_SPM_REACT_NATIVE_DEPENDENCIES_BINARY[sdk=iphoneos*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/ios-arm64/ReactNativeDependencies.framework/ReactNativeDependencies +RN_SPM_REACT_NATIVE_DEPENDENCIES_SEARCH_PATH[sdk=iphoneos*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/ios-arm64 +RN_SPM_REACT_NATIVE_DEPENDENCIES_FRAMEWORK[sdk=iphonesimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/ios-arm64_x86_64-simulator/ReactNativeDependencies.framework +RN_SPM_REACT_NATIVE_DEPENDENCIES_BINARY[sdk=iphonesimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/ios-arm64_x86_64-simulator/ReactNativeDependencies.framework/ReactNativeDependencies +RN_SPM_REACT_NATIVE_DEPENDENCIES_SEARCH_PATH[sdk=iphonesimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/ios-arm64_x86_64-simulator +RN_SPM_REACT_NATIVE_DEPENDENCIES_FRAMEWORK[sdk=macosx*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/ios-arm64_x86_64-maccatalyst/ReactNativeDependencies.framework +RN_SPM_REACT_NATIVE_DEPENDENCIES_BINARY[sdk=macosx*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/ios-arm64_x86_64-maccatalyst/ReactNativeDependencies.framework/ReactNativeDependencies +RN_SPM_REACT_NATIVE_DEPENDENCIES_SEARCH_PATH[sdk=macosx*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/ios-arm64_x86_64-maccatalyst +RN_SPM_REACT_NATIVE_DEPENDENCIES_FRAMEWORK[sdk=xros*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/xros-arm64/ReactNativeDependencies.framework +RN_SPM_REACT_NATIVE_DEPENDENCIES_BINARY[sdk=xros*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/xros-arm64/ReactNativeDependencies.framework/ReactNativeDependencies +RN_SPM_REACT_NATIVE_DEPENDENCIES_SEARCH_PATH[sdk=xros*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/xros-arm64 +RN_SPM_REACT_NATIVE_DEPENDENCIES_FRAMEWORK[sdk=xrsimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/xros-arm64_x86_64-simulator/ReactNativeDependencies.framework +RN_SPM_REACT_NATIVE_DEPENDENCIES_BINARY[sdk=xrsimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/xros-arm64_x86_64-simulator/ReactNativeDependencies.framework/ReactNativeDependencies +RN_SPM_REACT_NATIVE_DEPENDENCIES_SEARCH_PATH[sdk=xrsimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/ReactNativeDependencies.xcframework/xros-arm64_x86_64-simulator +RN_SPM_HERMES_FRAMEWORK[sdk=appletvos*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/tvos-arm64/hermesvm.framework +RN_SPM_HERMES_BINARY[sdk=appletvos*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/tvos-arm64/hermesvm.framework/hermesvm +RN_SPM_HERMES_SEARCH_PATH[sdk=appletvos*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/tvos-arm64 +RN_SPM_HERMES_FRAMEWORK[sdk=appletvsimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/tvos-arm64_x86_64-simulator/hermesvm.framework +RN_SPM_HERMES_BINARY[sdk=appletvsimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/tvos-arm64_x86_64-simulator/hermesvm.framework/hermesvm +RN_SPM_HERMES_SEARCH_PATH[sdk=appletvsimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/tvos-arm64_x86_64-simulator +RN_SPM_HERMES_FRAMEWORK[sdk=iphoneos*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/ios-arm64/hermesvm.framework +RN_SPM_HERMES_BINARY[sdk=iphoneos*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/ios-arm64/hermesvm.framework/hermesvm +RN_SPM_HERMES_SEARCH_PATH[sdk=iphoneos*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/ios-arm64 +RN_SPM_HERMES_FRAMEWORK[sdk=iphonesimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/ios-arm64_x86_64-simulator/hermesvm.framework +RN_SPM_HERMES_BINARY[sdk=iphonesimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/ios-arm64_x86_64-simulator/hermesvm.framework/hermesvm +RN_SPM_HERMES_SEARCH_PATH[sdk=iphonesimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/ios-arm64_x86_64-simulator +RN_SPM_HERMES_FRAMEWORK[sdk=macosx*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/ios-arm64_x86_64-maccatalyst/hermesvm.framework +RN_SPM_HERMES_BINARY[sdk=macosx*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/ios-arm64_x86_64-maccatalyst/hermesvm.framework/Versions/1/hermesvm +RN_SPM_HERMES_SEARCH_PATH[sdk=macosx*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/ios-arm64_x86_64-maccatalyst +RN_SPM_HERMES_FRAMEWORK[sdk=xros*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/xros-arm64/hermesvm.framework +RN_SPM_HERMES_BINARY[sdk=xros*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/xros-arm64/hermesvm.framework/hermesvm +RN_SPM_HERMES_SEARCH_PATH[sdk=xros*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/xros-arm64 +RN_SPM_HERMES_FRAMEWORK[sdk=xrsimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/xros-arm64_x86_64-simulator/hermesvm.framework +RN_SPM_HERMES_BINARY[sdk=xrsimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/xros-arm64_x86_64-simulator/hermesvm.framework/hermesvm +RN_SPM_HERMES_SEARCH_PATH[sdk=xrsimulator*] = $(SRCROOT)/build/xcframeworks/$(RN_SPM_FLAVOR)/hermes-engine.xcframework/xros-arm64_x86_64-simulator diff --git a/examples/demo/ios/ReactNativeSPM/Scripts/embed-flavored-frameworks.sh b/examples/demo/ios/ReactNativeSPM/Scripts/embed-flavored-frameworks.sh new file mode 100644 index 00000000..bc3fd7c1 --- /dev/null +++ b/examples/demo/ios/ReactNativeSPM/Scripts/embed-flavored-frameworks.sh @@ -0,0 +1,43 @@ +#!/bin/bash +# Generated by React Native on every `spm add` and `spm update`. +# Do not edit: changes are overwritten. + +set -euo pipefail + +destination="$TARGET_BUILD_DIR/$FRAMEWORKS_FOLDER_PATH" +mkdir -p "$destination" + +validate_framework() { + source="$1" + name="$2" + if [ -z "$source" ] || [ ! -d "$source" ]; then + echo "error: React Native SwiftPM framework '$name' is unavailable for configuration '$CONFIGURATION' and SDK '$SDK_NAME': $source" + exit 1 + fi + binary="${name%.framework}" + if [ ! -e "$source/$binary" ] && [ ! -e "$source/Versions/Current/$binary" ]; then + echo "error: React Native SwiftPM framework '$name' is invalid for configuration '$CONFIGURATION': expected $source/$binary or $source/Versions/Current/$binary" + exit 1 + fi +} + +copy_and_sign() { + source="$1" + name="$2" + /usr/bin/rsync -a --delete "$source/" "$destination/$name/" + if [ "${CODE_SIGNING_ALLOWED:-YES}" != "NO" ]; then + identity="${EXPANDED_CODE_SIGN_IDENTITY:--}" + if [ "$identity" = "-" ]; then + /usr/bin/codesign --force --sign - --timestamp=none --preserve-metadata=identifier,entitlements,flags "$destination/$name" + else + /usr/bin/codesign --force --sign "$identity" --preserve-metadata=identifier,entitlements,flags "$destination/$name" + fi + fi +} + +validate_framework "${RN_SPM_REACT_FRAMEWORK:-}" "React.framework" +validate_framework "${RN_SPM_REACT_NATIVE_DEPENDENCIES_FRAMEWORK:-}" "ReactNativeDependencies.framework" +validate_framework "${RN_SPM_HERMES_FRAMEWORK:-}" "hermesvm.framework" +copy_and_sign "${RN_SPM_REACT_FRAMEWORK:-}" "React.framework" +copy_and_sign "${RN_SPM_REACT_NATIVE_DEPENDENCIES_FRAMEWORK:-}" "ReactNativeDependencies.framework" +copy_and_sign "${RN_SPM_HERMES_FRAMEWORK:-}" "hermesvm.framework" diff --git a/examples/demo/ios/ReactNativeSPM/Scripts/sync-autolinking.sh b/examples/demo/ios/ReactNativeSPM/Scripts/sync-autolinking.sh new file mode 100644 index 00000000..164aea38 --- /dev/null +++ b/examples/demo/ios/ReactNativeSPM/Scripts/sync-autolinking.sh @@ -0,0 +1,226 @@ +#!/bin/bash +# Generated by React Native on every `spm add` and `spm update`. +# Do not edit: changes are overwritten. + +set -euo pipefail + +# --------------------------------------------------------------------------- +# Resolve a node binary and the react-native package dir at BUILD TIME. +# --------------------------------------------------------------------------- +NODE_BINARY="${NODE_BINARY:-}" +if [ -z "$NODE_BINARY" ]; then + # Source RN's standard app-local node-path files. They reference vars that + # may be unset and may return non-zero, so relax nounset AND errexit while + # sourcing — a buggy user .xcode.env must degrade to PATH-based node + # resolution below, not silently abort every build. + set +eu + if [ -f "$SRCROOT/.xcode.env" ]; then + . "$SRCROOT/.xcode.env" + fi + if [ -f "$SRCROOT/.xcode.env.local" ]; then + . "$SRCROOT/.xcode.env.local" + fi + set -eu + NODE_BINARY="${NODE_BINARY:-}" +fi +if [ -z "$NODE_BINARY" ]; then + NODE_BINARY="$(command -v node 2>/dev/null || true)" +fi + +# Resolve react-native's dir FROM THE APP (require.resolve), not a +# generation-time baked path — the baked path goes stale in pnpm / hoisted +# stores. Fall back to the baked path if resolution fails or the resolved dir +# has no setup-apple-spm.js. +RN_DIR="" +if [ -n "$NODE_BINARY" ]; then + RN_DIR="$(cd "$SRCROOT" && "$NODE_BINARY" --print "require('path').dirname(require.resolve('react-native/package.json'))" 2>/dev/null || true)" +fi +if [ -z "$RN_DIR" ] || [ ! -f "$RN_DIR/scripts/setup-apple-spm.js" ]; then + RN_DIR="../node_modules/react-native" +fi + +STAMP="$SRCROOT/build/generated/autolinking/.spm-sync-stamp" +PLUGIN_MISMATCH="$SRCROOT/build/generated/autolinking/.spm-plugin-mismatch" +PLUGIN_FRAMEWORKS="$SRCROOT/build/generated/autolinking/.spm-plugin-flavored-frameworks.json" +MARKER="${PROJECT_FILE_PATH:-}/.spm-injected.json" +STALE=0 + +# Find project root (where package.json lives — may be an ancestor of SRCROOT) +PROJECT_ROOT="$SRCROOT" +while [ "$PROJECT_ROOT" != "/" ] && [ ! -f "$PROJECT_ROOT/package.json" ]; do + PROJECT_ROOT="$(dirname "$PROJECT_ROOT")" +done +if [ ! -f "$PROJECT_ROOT/package.json" ]; then + PROJECT_ROOT="$SRCROOT" +fi + +# Check 1: dependency inputs (covers app projects after any package manager +# install), and the marker, which records the frameworks the project links. +for INPUT in \ + "$PROJECT_ROOT/package.json" \ + "$PROJECT_ROOT/react-native.config.js" \ + "$MARKER"; do + if [ -f "$INPUT" ] && [ "$INPUT" -nt "$STAMP" ]; then + STALE=1 + break + fi +done + +# Check workspace lockfiles and package-manager metadata. These cover package +# managers that do not reliably bump node_modules mtimes, and Yarn PnP projects +# that do not have node_modules at all. +if [ "$STALE" -eq 0 ]; then + DIR="$PROJECT_ROOT" + while [ "$DIR" != "/" ]; do + for INPUT in \ + "$DIR/package-lock.json" \ + "$DIR/npm-shrinkwrap.json" \ + "$DIR/yarn.lock" \ + "$DIR/pnpm-lock.yaml" \ + "$DIR/bun.lock" \ + "$DIR/bun.lockb" \ + "$DIR/.pnp.cjs" \ + "$DIR/.pnp.loader.mjs"; do + if [ -f "$INPUT" ] && [ "$INPUT" -nt "$STAMP" ]; then + STALE=1 + break + fi + done + if [ "$STALE" -eq 1 ]; then + break + fi + DIR="$(dirname "$DIR")" + done +fi + +# Check node_modules mtime. In monorepos, node_modules may be hoisted to any +# ancestor between the app package and the workspace root. +if [ "$STALE" -eq 0 ]; then + DIR="$PROJECT_ROOT" + while [ "$DIR" != "/" ]; do + NM_DIR="$DIR/node_modules" + if [ -d "$NM_DIR" ] && [ "$NM_DIR" -nt "$STAMP" ]; then + STALE=1 + break + fi + DIR="$(dirname "$DIR")" + done +fi + +# Also check the app root directly when SRCROOT is not the package root. +if [ "$STALE" -eq 0 ] && [ "$SRCROOT" != "$PROJECT_ROOT" ]; then + if [ -d "$SRCROOT/node_modules" ] && [ "$SRCROOT/node_modules" -nt "$STAMP" ]; then + STALE=1 + fi +fi + +# Check 1.5: watched paths (mixed dirs AND files). Dirs catch add/remove of +# source files in spm.modules and autolinked deps (dir mtime updates on both); +# files catch edits to a dep's checked-in Package.swift / plugin manifests that +# would not bump any parent dir mtime. A path that has VANISHED (renamed/moved +# module root) forces a re-sync so the autolinker surfaces the real, actionable +# config error rather than the build failing later on dangling-symlink noise. +WATCH_FILE="$SRCROOT/build/generated/autolinking/.spm-sync-watch-paths" +if [ "$STALE" -eq 0 ] && [ -f "$WATCH_FILE" ]; then + while IFS= read -r P; do + [ -z "$P" ] && continue + if [ -d "$P" ]; then + # .swiftpm holds Xcode's own per-user scheme state, which it rewrites + # during a build — reading it as a change makes every IDE build re-sync. + if [ -n "$(find "$P" -name .swiftpm -prune -o -newer "$STAMP" -print -quit 2>/dev/null)" ]; then + STALE=1 + break + fi + elif [ -f "$P" ]; then + if [ "$P" -nt "$STAMP" ]; then + STALE=1 + break + fi + else + STALE=1 + break + fi + done < "$WATCH_FILE" +fi + +# Watched paths that did not exist at the last sync. One that APPEARS (e.g. a +# plugin's precompiled output folder) forces a re-sync. +ABSENT_FILE="$SRCROOT/build/generated/autolinking/.spm-sync-watch-absent" +if [ "$STALE" -eq 0 ] && [ -f "$ABSENT_FILE" ]; then + while IFS= read -r P; do + [ -z "$P" ] && continue + if [ -e "$P" ]; then + STALE=1 + break + fi + done < "$ABSENT_FILE" +fi + +# Check 2: codegen spec files changed via git (covers monorepo after git pull) +if [ "$STALE" -eq 0 ] && [ -f "$STAMP" ]; then + STAMP_TIME=$(stat -f %m "$STAMP" 2>/dev/null || stat -c %Y "$STAMP" 2>/dev/null || echo 0) + LATEST_SPEC_COMMIT=$(git -C "$SRCROOT" log -1 --format=%ct -- '*.js' '*.ts' 2>/dev/null || echo 0) + if [ "$LATEST_SPEC_COMMIT" -gt "$STAMP_TIME" ]; then + STALE=1 + fi +fi + +if [ ! -f "$STAMP" ]; then + STALE=1 +fi + +# The last sync found a plugin framework mismatch and kept its errors. Until an +# input changes, report them again instead of re-running sync: the scheme +# pre-action and this build phase would otherwise both run it. spm add/update +# rewrite the plugin manifest without a sync, so that counts as a change too. +if [ -f "$PLUGIN_MISMATCH" ]; then + if [ "$STALE" -eq 0 ] && \ + [ ! "$MARKER" -nt "$PLUGIN_MISMATCH" ] && \ + [ ! "$PLUGIN_FRAMEWORKS" -nt "$PLUGIN_MISMATCH" ]; then + cat "$PLUGIN_MISMATCH" >&2 + exit 1 + fi + STALE=1 +fi + +# Re-sync codegen + autolinking when a dependency input changed. Runtime +# framework slots and Xcode linker settings are only changed by spm update. +if [ "$STALE" -eq 1 ]; then + echo "SPM sync inputs changed — re-syncing (codegen + autolinking)..." + + WITH_ENVIRONMENT="$RN_DIR/scripts/xcode/with-environment.sh" + + if [ -f "$WITH_ENVIRONMENT" ]; then + # with-environment.sh references PODS_ROOT and $1, which may be unset. + # Temporarily disable nounset to avoid failures when sourcing. + export PODS_ROOT="${PODS_ROOT:-$SRCROOT}" + set +u + . "$WITH_ENVIRONMENT" + set -u + fi + + cd "$SRCROOT" + # `|| RC=$?` so a non-zero exit is CAPTURED rather than aborting the phase + # under `set -e` — the whole point is to branch on the code below (2 = fail + # the build; other non-zero = warn but don't break). + RC=0 + if [ -n "$NODE_BINARY" ] && [ -f "$RN_DIR/scripts/setup-apple-spm.js" ]; then + # Direct, dependency-free dispatch (no `npx react-native`, which needs + # @react-native-community/cli). + "$NODE_BINARY" "$RN_DIR/scripts/setup-apple-spm.js" sync || RC=$? + elif command -v npx >/dev/null 2>&1; then + npx react-native spm sync || RC=$? + else + echo "warning: node/npx not found — skipping SPM sync" + fi + if [ "$RC" -eq 2 ]; then + # Exit 2 = a problem only a terminal command fixes (e.g. a dependency + # without Package.swift, or plugin frameworks the project does not link). + # Sync already printed `error:` lines that name the command, so Xcode + # shows them. Fail the build. + exit 1 + elif [ "$RC" -ne 0 ]; then + echo "warning: SPM sync failed — build may use stale codegen/autolinking" + fi +fi + diff --git a/examples/demo/ios/demo.xcodeproj/.spm-injected.json b/examples/demo/ios/demo.xcodeproj/.spm-injected.json new file mode 100644 index 00000000..a5b00d24 --- /dev/null +++ b/examples/demo/ios/demo.xcodeproj/.spm-injected.json @@ -0,0 +1,66 @@ +{ + "rootUuid": "83CBB9F71A601CBA00E9B192", + "target": "demo", + "targetUuid": "13B07F861A680F5B00A75B9A", + "injectedUuids": [ + "074F3370C5D61C114F081477", + "17CA21E30A8FFCB9D0FC1E35", + "27BDE9D743CB351F53154525", + "3AFDEFB917B01458307FDE0A", + "3F1E298E4A2D7CA403A328B5", + "50A8621D202A6CFB97E2C1B5", + "512EBECF5434FD7A6AF7C967", + "658A88AFBFD620F8BC6F91BA", + "69A7AB74931112BD2779B631", + "8332BE36B9C49BD2E49347C1", + "920F69A9DF98D37C8308D020", + "947DD5EF3BE079FB7F5AFF87", + "94F7C9B714A718310DA6BE9C", + "A700952B9A737913514EB28F", + "B174F870C259554596A4373B", + "C2FECF1430FDAAE3BF355839", + "D6BD17EA9023C9F39246B71F", + "F3857EDDA38AFC0011322D6D" + ], + "createdArrayFields": [ + { + "container": "project", + "key": "packageReferences" + }, + { + "container": "target", + "key": "packageProductDependencies" + } + ], + "xcconfig": { + "fileRefUuid": "074F3370C5D61C114F081477", + "configUuids": [ + "13B07F941A680F5B00A75B9A", + "13B07F951A680F5B00A75B9A" + ], + "includedByConfigUuids": [], + "removedPodsRootReactNativePath": false + }, + "generatedSources": {}, + "scriptPhases": {}, + "linkedFrameworks": [ + { + "id": "react", + "frameworkName": "React" + }, + { + "id": "react-native-dependencies", + "frameworkName": "ReactNativeDependencies" + }, + { + "id": "hermes", + "frameworkName": "hermesvm" + } + ], + "artifactsVersionOverride": null, + "configCommand": null, + "scheme": { + "file": "demo.xcscheme", + "created": false + } +} diff --git a/examples/demo/ios/demo.xcodeproj/project.pbxproj b/examples/demo/ios/demo.xcodeproj/project.pbxproj index 5f4a49a9..f9ec8d07 100644 --- a/examples/demo/ios/demo.xcodeproj/project.pbxproj +++ b/examples/demo/ios/demo.xcodeproj/project.pbxproj @@ -7,18 +7,22 @@ objects = { /* Begin PBXBuildFile section */ - 0C80B921A6F3F58F76C31292 /* libPods-demo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-demo.a */; }; 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; + 17CA21E30A8FFCB9D0FC1E35 /* ReactNativeHeaders in Frameworks */ = {isa = PBXBuildFile; productRef = 920F69A9DF98D37C8308D020 /* ReactNativeHeaders */; }; + 3F1E298E4A2D7CA403A328B5 /* ReactCodegen in Frameworks */ = {isa = PBXBuildFile; productRef = 947DD5EF3BE079FB7F5AFF87 /* ReactCodegen */; }; + 43AA2C6FE81293AEFCA89311 /* OneSignalExtension in Frameworks */ = {isa = PBXBuildFile; productRef = 5D9FF4652377552E5BB1D8C8 /* OneSignalExtension */; }; + 50A8621D202A6CFB97E2C1B5 /* ReactAppDependencyProvider in Frameworks */ = {isa = PBXBuildFile; productRef = F3857EDDA38AFC0011322D6D /* ReactAppDependencyProvider */; }; 5F8F7D5C84F8947D278D5B06 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; }; + 69A7AB74931112BD2779B631 /* ReactNativeDependenciesHeaders in Frameworks */ = {isa = PBXBuildFile; productRef = 8332BE36B9C49BD2E49347C1 /* ReactNativeDependenciesHeaders */; }; 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; }; 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; + 94F7C9B714A718310DA6BE9C /* ReactHeaders in Frameworks */ = {isa = PBXBuildFile; productRef = 512EBECF5434FD7A6AF7C967 /* ReactHeaders */; }; + 971317A7133E69F342A69D73 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F0AB64AE62938C7016FF5D5D /* MaterialCommunityIcons.ttf */; }; A10000000000000000000001 /* NotificationService.swift in Sources */ = {isa = PBXBuildFile; fileRef = A20000000000000000000003 /* NotificationService.swift */; }; A10000000000000000000002 /* OneSignalWidgetLiveActivity.swift in Sources */ = {isa = PBXBuildFile; fileRef = A20000000000000000000007 /* OneSignalWidgetLiveActivity.swift */; }; A10000000000000000000003 /* OneSignalWidgetBundle.swift in Sources */ = {isa = PBXBuildFile; fileRef = A20000000000000000000008 /* OneSignalWidgetBundle.swift */; }; A10000000000000000000004 /* OneSignalNotificationServiceExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = A20000000000000000000001 /* OneSignalNotificationServiceExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; A10000000000000000000005 /* OneSignalWidgetExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = A20000000000000000000002 /* OneSignalWidgetExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; - A10000000000000000000006 /* libPods-OneSignalNotificationServiceExtension.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A2000000000000000000000F /* libPods-OneSignalNotificationServiceExtension.a */; }; - A10000000000000000000007 /* libPods-OneSignalWidgetExtension.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A20000000000000000000010 /* libPods-OneSignalWidgetExtension.a */; }; A10000000000000000000008 /* WidgetKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A20000000000000000000009 /* WidgetKit.framework */; }; A10000000000000000000009 /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2000000000000000000000A /* SwiftUI.framework */; }; B10000000000000000000001 /* template-bookmark-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = B20000000000000000000001 /* template-bookmark-icon.png */; }; @@ -26,6 +30,9 @@ B10000000000000000000003 /* template-bookmark-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = B20000000000000000000001 /* template-bookmark-icon.png */; }; B10000000000000000000004 /* template-share-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = B20000000000000000000002 /* template-share-icon.png */; }; BB68C614BBE2B4BDEA04F2B6 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = BEFF24CDEE2A22243C2367DC /* SceneDelegate.swift */; }; + CA43A77D745E0E4B4935506E /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A3553ED0BBFEB56A1CCFC2E4 /* MaterialIcons.ttf */; }; + D6BD17EA9023C9F39246B71F /* Autolinked in Frameworks */ = {isa = PBXBuildFile; productRef = 3AFDEFB917B01458307FDE0A /* Autolinked */; }; + E885B6D9D4EF7CE70C3C29AD /* OneSignalFramework in Frameworks */ = {isa = PBXBuildFile; productRef = 57276849FA0EFBB5ABFF896E /* OneSignalFramework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -61,13 +68,11 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 074F3370C5D61C114F081477 /* ReactNativeSPM.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = ReactNativeSPM.xcconfig; path = ReactNativeSPM/ReactNativeSPM.xcconfig; sourceTree = SOURCE_ROOT; }; 13B07F961A680F5B00A75B9A /* demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = demo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = demo/Images.xcassets; sourceTree = ""; }; 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = demo/Info.plist; sourceTree = ""; }; 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = demo/PrivacyInfo.xcprivacy; sourceTree = ""; }; - 3B4392A12AC88292D35C810B /* Pods-demo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-demo.debug.xcconfig"; path = "Target Support Files/Pods-demo/Pods-demo.debug.xcconfig"; sourceTree = ""; }; - 5709B34CF0A7D63546082F79 /* Pods-demo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-demo.release.xcconfig"; path = "Target Support Files/Pods-demo/Pods-demo.release.xcconfig"; sourceTree = ""; }; - 5DCACB8F33CDC322A6C60F78 /* libPods-demo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-demo.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = demo/AppDelegate.swift; sourceTree = ""; }; 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = demo/LaunchScreen.storyboard; sourceTree = ""; }; A20000000000000000000001 /* OneSignalNotificationServiceExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = OneSignalNotificationServiceExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -80,17 +85,12 @@ A20000000000000000000008 /* OneSignalWidgetBundle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OneSignalWidgetBundle.swift; sourceTree = ""; }; A20000000000000000000009 /* WidgetKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WidgetKit.framework; path = System/Library/Frameworks/WidgetKit.framework; sourceTree = SDKROOT; }; A2000000000000000000000A /* SwiftUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SwiftUI.framework; path = System/Library/Frameworks/SwiftUI.framework; sourceTree = SDKROOT; }; - A2000000000000000000000B /* Pods-OneSignalNotificationServiceExtension.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OneSignalNotificationServiceExtension.debug.xcconfig"; path = "Target Support Files/Pods-OneSignalNotificationServiceExtension/Pods-OneSignalNotificationServiceExtension.debug.xcconfig"; sourceTree = ""; }; - A2000000000000000000000C /* Pods-OneSignalNotificationServiceExtension.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OneSignalNotificationServiceExtension.release.xcconfig"; path = "Target Support Files/Pods-OneSignalNotificationServiceExtension/Pods-OneSignalNotificationServiceExtension.release.xcconfig"; sourceTree = ""; }; - A2000000000000000000000D /* Pods-OneSignalWidgetExtension.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OneSignalWidgetExtension.debug.xcconfig"; path = "Target Support Files/Pods-OneSignalWidgetExtension/Pods-OneSignalWidgetExtension.debug.xcconfig"; sourceTree = ""; }; - A2000000000000000000000E /* Pods-OneSignalWidgetExtension.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OneSignalWidgetExtension.release.xcconfig"; path = "Target Support Files/Pods-OneSignalWidgetExtension/Pods-OneSignalWidgetExtension.release.xcconfig"; sourceTree = ""; }; - A2000000000000000000000F /* libPods-OneSignalNotificationServiceExtension.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OneSignalNotificationServiceExtension.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - A20000000000000000000010 /* libPods-OneSignalWidgetExtension.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-OneSignalWidgetExtension.a"; sourceTree = BUILT_PRODUCTS_DIR; }; A20000000000000000000011 /* demo.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = demo.entitlements; path = demo/demo.entitlements; sourceTree = ""; }; + A3553ED0BBFEB56A1CCFC2E4 /* MaterialIcons.ttf */ = {isa = PBXFileReference; includeInIndex = 1; name = MaterialIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = SOURCE_ROOT; }; B20000000000000000000001 /* template-bookmark-icon.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "template-bookmark-icon.png"; path = "demo/template-bookmark-icon.png"; sourceTree = ""; }; B20000000000000000000002 /* template-share-icon.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "template-share-icon.png"; path = "demo/template-share-icon.png"; sourceTree = ""; }; BEFF24CDEE2A22243C2367DC /* SceneDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SceneDelegate.swift; path = demo/SceneDelegate.swift; sourceTree = ""; }; - ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; + F0AB64AE62938C7016FF5D5D /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; includeInIndex = 1; name = MaterialCommunityIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = SOURCE_ROOT; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -98,7 +98,12 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 0C80B921A6F3F58F76C31292 /* libPods-demo.a in Frameworks */, + 94F7C9B714A718310DA6BE9C /* ReactHeaders in Frameworks */, + 17CA21E30A8FFCB9D0FC1E35 /* ReactNativeHeaders in Frameworks */, + 69A7AB74931112BD2779B631 /* ReactNativeDependenciesHeaders in Frameworks */, + D6BD17EA9023C9F39246B71F /* Autolinked in Frameworks */, + 3F1E298E4A2D7CA403A328B5 /* ReactCodegen in Frameworks */, + 50A8621D202A6CFB97E2C1B5 /* ReactAppDependencyProvider in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -106,7 +111,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - A10000000000000000000006 /* libPods-OneSignalNotificationServiceExtension.a in Frameworks */, + 43AA2C6FE81293AEFCA89311 /* OneSignalExtension in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -116,7 +121,7 @@ files = ( A10000000000000000000008 /* WidgetKit.framework in Frameworks */, A10000000000000000000009 /* SwiftUI.framework in Frameworks */, - A10000000000000000000007 /* libPods-OneSignalWidgetExtension.a in Frameworks */, + E885B6D9D4EF7CE70C3C29AD /* OneSignalFramework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -142,12 +147,8 @@ 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { isa = PBXGroup; children = ( - ED297162215061F000B7C4FE /* JavaScriptCore.framework */, A20000000000000000000009 /* WidgetKit.framework */, A2000000000000000000000A /* SwiftUI.framework */, - 5DCACB8F33CDC322A6C60F78 /* libPods-demo.a */, - A2000000000000000000000F /* libPods-OneSignalNotificationServiceExtension.a */, - A20000000000000000000010 /* libPods-OneSignalWidgetExtension.a */, ); name = Frameworks; sourceTree = ""; @@ -168,7 +169,8 @@ 832341AE1AAA6A7D00B99B32 /* Libraries */, 83CBBA001A601CBA00E9B192 /* Products */, 2D16E6871FA4F8E400B85C8A /* Frameworks */, - BBD78D7AC51CEA395F1C20DB /* Pods */, + 074F3370C5D61C114F081477 /* ReactNativeSPM.xcconfig */, + 9BD38812D963C70E9A381D81 /* Fonts */, ); indentWidth = 2; sourceTree = ""; @@ -185,6 +187,15 @@ name = Products; sourceTree = ""; }; + 9BD38812D963C70E9A381D81 /* Fonts */ = { + isa = PBXGroup; + children = ( + A3553ED0BBFEB56A1CCFC2E4 /* MaterialIcons.ttf */, + F0AB64AE62938C7016FF5D5D /* MaterialCommunityIcons.ttf */, + ); + name = Fonts; + sourceTree = ""; + }; A30000000000000000000001 /* OneSignalNotificationServiceExtension */ = { isa = PBXGroup; children = ( @@ -205,19 +216,6 @@ path = OneSignalWidget; sourceTree = ""; }; - BBD78D7AC51CEA395F1C20DB /* Pods */ = { - isa = PBXGroup; - children = ( - 3B4392A12AC88292D35C810B /* Pods-demo.debug.xcconfig */, - 5709B34CF0A7D63546082F79 /* Pods-demo.release.xcconfig */, - A2000000000000000000000B /* Pods-OneSignalNotificationServiceExtension.debug.xcconfig */, - A2000000000000000000000C /* Pods-OneSignalNotificationServiceExtension.release.xcconfig */, - A2000000000000000000000D /* Pods-OneSignalWidgetExtension.debug.xcconfig */, - A2000000000000000000000E /* Pods-OneSignalWidgetExtension.release.xcconfig */, - ); - path = Pods; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -225,14 +223,13 @@ isa = PBXNativeTarget; buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "demo" */; buildPhases = ( - C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */, + 658A88AFBFD620F8BC6F91BA /* Sync SPM Autolinking */, 13B07F871A680F5B00A75B9A /* Sources */, 13B07F8C1A680F5B00A75B9A /* Frameworks */, + B174F870C259554596A4373B /* Embed React Native Flavored Frameworks */, 13B07F8E1A680F5B00A75B9A /* Resources */, A50000000000000000000001 /* Embed Foundation Extensions */, 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, - 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */, - E235C05ADACE081382539298 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -241,6 +238,14 @@ AB0000000000000000000002 /* PBXTargetDependency */, ); name = demo; + packageProductDependencies = ( + 512EBECF5434FD7A6AF7C967 /* ReactHeaders */, + 920F69A9DF98D37C8308D020 /* ReactNativeHeaders */, + 8332BE36B9C49BD2E49347C1 /* ReactNativeDependenciesHeaders */, + 3AFDEFB917B01458307FDE0A /* Autolinked */, + 947DD5EF3BE079FB7F5AFF87 /* ReactCodegen */, + F3857EDDA38AFC0011322D6D /* ReactAppDependencyProvider */, + ); productName = demo; productReference = 13B07F961A680F5B00A75B9A /* demo.app */; productType = "com.apple.product-type.application"; @@ -249,7 +254,6 @@ isa = PBXNativeTarget; buildConfigurationList = AA0000000000000000000001 /* Build configuration list for PBXNativeTarget "OneSignalNotificationServiceExtension" */; buildPhases = ( - F5322DC2C6EAF24684BAFC28 /* [CP] Check Pods Manifest.lock */, A80000000000000000000001 /* Sources */, A40000000000000000000001 /* Frameworks */, A70000000000000000000001 /* Resources */, @@ -259,6 +263,9 @@ dependencies = ( ); name = OneSignalNotificationServiceExtension; + packageProductDependencies = ( + 5D9FF4652377552E5BB1D8C8 /* OneSignalExtension */, + ); productName = OneSignalNotificationServiceExtension; productReference = A20000000000000000000001 /* OneSignalNotificationServiceExtension.appex */; productType = "com.apple.product-type.app-extension"; @@ -267,7 +274,6 @@ isa = PBXNativeTarget; buildConfigurationList = AA0000000000000000000002 /* Build configuration list for PBXNativeTarget "OneSignalWidgetExtension" */; buildPhases = ( - 17527FCB7CF62270D6986613 /* [CP] Check Pods Manifest.lock */, A80000000000000000000002 /* Sources */, A40000000000000000000002 /* Frameworks */, A70000000000000000000002 /* Resources */, @@ -277,6 +283,9 @@ dependencies = ( ); name = OneSignalWidgetExtension; + packageProductDependencies = ( + 57276849FA0EFBB5ABFF896E /* OneSignalFramework */, + ); productName = OneSignalWidgetExtension; productReference = A20000000000000000000002 /* OneSignalWidgetExtension.appex */; productType = "com.apple.product-type.app-extension"; @@ -309,6 +318,12 @@ Base, ); mainGroup = 83CBB9F61A601CBA00E9B192; + packageReferences = ( + 27BDE9D743CB351F53154525 /* XCLocalSwiftPackageReference "xcframeworks" */, + C2FECF1430FDAAE3BF355839 /* XCLocalSwiftPackageReference "autolinking" */, + A700952B9A737913514EB28F /* XCLocalSwiftPackageReference "ios" */, + C31BF71DE503D8C743B636AD /* XCRemoteSwiftPackageReference "OneSignal-XCFramework" */, + ); productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; projectDirPath = ""; projectRoot = ""; @@ -330,6 +345,8 @@ 5F8F7D5C84F8947D278D5B06 /* PrivacyInfo.xcprivacy in Resources */, B10000000000000000000001 /* template-bookmark-icon.png in Resources */, B10000000000000000000002 /* template-share-icon.png in Resources */, + CA43A77D745E0E4B4935506E /* MaterialIcons.ttf in Resources */, + 971317A7133E69F342A69D73 /* MaterialCommunityIcons.ttf in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -369,46 +386,7 @@ shellPath = /bin/sh; shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"\\\"$WITH_ENVIRONMENT\\\" \\\"$REACT_NATIVE_XCODE\\\"\"\n"; }; - 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-demo/Pods-demo-frameworks-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Embed Pods Frameworks"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-demo/Pods-demo-frameworks-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-demo/Pods-demo-frameworks.sh\"\n"; - showEnvVarsInLog = 0; - }; - 17527FCB7CF62270D6986613 /* [CP] Check Pods Manifest.lock */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; - outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-OneSignalWidgetExtension-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = { + 658A88AFBFD620F8BC6F91BA /* Sync SPM Autolinking */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -416,38 +394,17 @@ inputFileListPaths = ( ); inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", ); - name = "[CP] Check Pods Manifest.lock"; + name = "Sync SPM Autolinking"; outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-demo-checkManifestLockResult.txt", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; - }; - E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-demo/Pods-demo-resources-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Copy Pods Resources"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-demo/Pods-demo-resources-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-demo/Pods-demo-resources.sh\"\n"; - showEnvVarsInLog = 0; + shellPath = /bin/bash; + shellScript = "SCRIPT=\"$SRCROOT/ReactNativeSPM/Scripts/sync-autolinking.sh\"\nif [ ! -f \"$SCRIPT\" ]; then\n echo \"error: $SCRIPT is missing. Run 'npx react-native spm update' to generate it.\"\n exit 1\nfi\nexec /bin/bash \"$SCRIPT\""; }; - F5322DC2C6EAF24684BAFC28 /* [CP] Check Pods Manifest.lock */ = { + B174F870C259554596A4373B /* Embed React Native Flavored Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -455,19 +412,23 @@ inputFileListPaths = ( ); inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", + "$(SRCROOT)/build/xcframeworks/.artifact-stamp", + "$(SRCROOT)/ReactNativeSPM/Scripts/embed-flavored-frameworks.sh", + "$(RN_SPM_REACT_FRAMEWORK)", + "$(RN_SPM_REACT_NATIVE_DEPENDENCIES_FRAMEWORK)", + "$(RN_SPM_HERMES_FRAMEWORK)", ); - name = "[CP] Check Pods Manifest.lock"; + name = "Embed React Native Flavored Frameworks"; outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-OneSignalNotificationServiceExtension-checkManifestLockResult.txt", + "$(TARGET_BUILD_DIR)/$(FRAMEWORKS_FOLDER_PATH)/React.framework", + "$(TARGET_BUILD_DIR)/$(FRAMEWORKS_FOLDER_PATH)/ReactNativeDependencies.framework", + "$(TARGET_BUILD_DIR)/$(FRAMEWORKS_FOLDER_PATH)/hermesvm.framework", ); runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; + shellPath = /bin/bash; + shellScript = "SCRIPT=\"$SRCROOT/ReactNativeSPM/Scripts/embed-flavored-frameworks.sh\"\nif [ ! -f \"$SCRIPT\" ]; then\n echo \"error: $SCRIPT is missing. Run 'npx react-native spm update' to generate it.\"\n exit 1\nfi\nexec /bin/bash \"$SCRIPT\""; }; /* End PBXShellScriptBuildPhase section */ @@ -516,7 +477,7 @@ /* Begin XCBuildConfiguration section */ 13B07F941A680F5B00A75B9A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-demo.debug.xcconfig */; + baseConfigurationReference = 074F3370C5D61C114F081477 /* ReactNativeSPM.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; @@ -548,7 +509,7 @@ }; 13B07F951A680F5B00A75B9A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-demo.release.xcconfig */; + baseConfigurationReference = 074F3370C5D61C114F081477 /* ReactNativeSPM.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; @@ -660,7 +621,7 @@ "-DRCT_REMOVE_LEGACY_ARCH=1", ); PODFILE_DIR = "$(SRCROOT)"; - REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; + REACT_NATIVE_PATH = "$(SRCROOT)/../node_modules/react-native"; SDKROOT = iphoneos; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG"; SWIFT_ENABLE_EXPLICIT_MODULES = NO; @@ -740,7 +701,7 @@ "-DRCT_REMOVE_LEGACY_ARCH=1", ); PODFILE_DIR = "$(SRCROOT)"; - REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; + REACT_NATIVE_PATH = "$(SRCROOT)/../node_modules/react-native"; SDKROOT = iphoneos; SWIFT_ENABLE_EXPLICIT_MODULES = NO; USE_HERMES = true; @@ -750,7 +711,6 @@ }; A90000000000000000000001 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A2000000000000000000000B /* Pods-OneSignalNotificationServiceExtension.debug.xcconfig */; buildSettings = { CODE_SIGN_ENTITLEMENTS = OneSignalNotificationServiceExtension/OneSignalNotificationServiceExtension.entitlements; CURRENT_PROJECT_VERSION = 1; @@ -774,7 +734,6 @@ }; A90000000000000000000002 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A2000000000000000000000C /* Pods-OneSignalNotificationServiceExtension.release.xcconfig */; buildSettings = { CODE_SIGN_ENTITLEMENTS = OneSignalNotificationServiceExtension/OneSignalNotificationServiceExtension.entitlements; CODE_SIGN_STYLE = Manual; @@ -802,7 +761,6 @@ }; A90000000000000000000003 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A2000000000000000000000D /* Pods-OneSignalWidgetExtension.debug.xcconfig */; buildSettings = { CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = DL8TF3X4K3; @@ -825,7 +783,6 @@ }; A90000000000000000000004 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A2000000000000000000000E /* Pods-OneSignalWidgetExtension.release.xcconfig */; buildSettings = { CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 1; @@ -890,6 +847,75 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCLocalSwiftPackageReference section */ + 27BDE9D743CB351F53154525 /* XCLocalSwiftPackageReference "xcframeworks" */ = { + isa = XCLocalSwiftPackageReference; + relativePath = build/xcframeworks; + }; + A700952B9A737913514EB28F /* XCLocalSwiftPackageReference "ios" */ = { + isa = XCLocalSwiftPackageReference; + relativePath = build/generated/ios; + }; + C2FECF1430FDAAE3BF355839 /* XCLocalSwiftPackageReference "autolinking" */ = { + isa = XCLocalSwiftPackageReference; + relativePath = build/generated/autolinking; + }; +/* End XCLocalSwiftPackageReference section */ + +/* Begin XCRemoteSwiftPackageReference section */ + C31BF71DE503D8C743B636AD /* XCRemoteSwiftPackageReference "OneSignal-XCFramework" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/OneSignal/OneSignal-XCFramework"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 5.0.0; + }; + }; +/* End XCRemoteSwiftPackageReference section */ + +/* Begin XCSwiftPackageProductDependency section */ + 3AFDEFB917B01458307FDE0A /* Autolinked */ = { + isa = XCSwiftPackageProductDependency; + package = C2FECF1430FDAAE3BF355839 /* XCLocalSwiftPackageReference "autolinking" */; + productName = Autolinked; + }; + 512EBECF5434FD7A6AF7C967 /* ReactHeaders */ = { + isa = XCSwiftPackageProductDependency; + package = 27BDE9D743CB351F53154525 /* XCLocalSwiftPackageReference "xcframeworks" */; + productName = ReactHeaders; + }; + 57276849FA0EFBB5ABFF896E /* OneSignalFramework */ = { + isa = XCSwiftPackageProductDependency; + package = C31BF71DE503D8C743B636AD /* XCRemoteSwiftPackageReference "OneSignal-XCFramework" */; + productName = OneSignalFramework; + }; + 5D9FF4652377552E5BB1D8C8 /* OneSignalExtension */ = { + isa = XCSwiftPackageProductDependency; + package = C31BF71DE503D8C743B636AD /* XCRemoteSwiftPackageReference "OneSignal-XCFramework" */; + productName = OneSignalExtension; + }; + 8332BE36B9C49BD2E49347C1 /* ReactNativeDependenciesHeaders */ = { + isa = XCSwiftPackageProductDependency; + package = 27BDE9D743CB351F53154525 /* XCLocalSwiftPackageReference "xcframeworks" */; + productName = ReactNativeDependenciesHeaders; + }; + 920F69A9DF98D37C8308D020 /* ReactNativeHeaders */ = { + isa = XCSwiftPackageProductDependency; + package = 27BDE9D743CB351F53154525 /* XCLocalSwiftPackageReference "xcframeworks" */; + productName = ReactNativeHeaders; + }; + 947DD5EF3BE079FB7F5AFF87 /* ReactCodegen */ = { + isa = XCSwiftPackageProductDependency; + package = A700952B9A737913514EB28F /* XCLocalSwiftPackageReference "ios" */; + productName = ReactCodegen; + }; + F3857EDDA38AFC0011322D6D /* ReactAppDependencyProvider */ = { + isa = XCSwiftPackageProductDependency; + package = A700952B9A737913514EB28F /* XCLocalSwiftPackageReference "ios" */; + productName = ReactAppDependencyProvider; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; } diff --git a/examples/demo/ios/demo.xcodeproj/xcshareddata/xcschemes/demo.xcscheme b/examples/demo/ios/demo.xcodeproj/xcshareddata/xcschemes/demo.xcscheme index 14821b6f..b130e5e3 100644 --- a/examples/demo/ios/demo.xcodeproj/xcshareddata/xcschemes/demo.xcscheme +++ b/examples/demo/ios/demo.xcodeproj/xcshareddata/xcschemes/demo.xcscheme @@ -5,6 +5,25 @@ + + + + + + + + + + - - - - - - diff --git a/examples/demo/package.json b/examples/demo/package.json index 7012e5b5..98429798 100644 --- a/examples/demo/package.json +++ b/examples/demo/package.json @@ -5,12 +5,12 @@ "scripts": { "setup": "../setup.sh", "preandroid": "vp run setup", - "preios": "vp run setup", + "preios": "vp run setup && vp run update:spm", "android": "bash ../run-android.sh", "ios": "bash ../run-ios.sh", - "update:pods": "(cd ios && pod update OneSignalXCFramework)", + "update:spm": "react-native spm update", "clean:android": "rm -rf android/app/build android/app/.cxx android/build && adb uninstall com.onesignal.sdkdemo >/dev/null 2>&1 || true", - "clean:ios": "rm -rf ios/build ios/Pods", + "clean:ios": "rm -rf ios/build", "start": "react-native start" }, "dependencies": { @@ -30,9 +30,9 @@ "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.3", "@babel/runtime": "^7.25.0", - "@react-native-community/cli": "20.2.0", - "@react-native-community/cli-platform-android": "20.2.0", - "@react-native-community/cli-platform-ios": "20.2.0", + "@react-native-community/cli": "21.0.0", + "@react-native-community/cli-platform-android": "21.0.0", + "@react-native-community/cli-platform-ios": "21.0.0", "@react-native/babel-preset": "0.88.1", "@react-native/metro-config": "0.88.1", "@react-native/typescript-config": "0.88.1", @@ -45,5 +45,10 @@ "engines": { "node": ">= 22.11.0" }, - "packageManager": "bun@1.4.0" + "packageManager": "bun@1.4.0", + "patchedDependencies": { + "@react-native-async-storage/async-storage@2.2.0": "patches/@react-native-async-storage%2Fasync-storage@2.2.0.patch", + "react-native-screens@4.30.1": "patches/react-native-screens@4.30.1.patch", + "react-native-vector-icons@10.3.0": "patches/react-native-vector-icons@10.3.0.patch" + } } diff --git a/examples/demo/patches/@react-native-async-storage%2Fasync-storage@2.2.0.patch b/examples/demo/patches/@react-native-async-storage%2Fasync-storage@2.2.0.patch new file mode 100644 index 00000000..7dba0b98 --- /dev/null +++ b/examples/demo/patches/@react-native-async-storage%2Fasync-storage@2.2.0.patch @@ -0,0 +1,80 @@ +diff --git a/Package.swift b/Package.swift +new file mode 100644 +index 0000000000000000000000000000000000000000..f7b5aa5cbe7a77bed7bc16b9bdbed134929d6186 +--- /dev/null ++++ b/Package.swift +@@ -0,0 +1,45 @@ ++// swift-tools-version: 6.0 ++// AUTO-SCAFFOLDED by react-native spm scaffold — safe to edit & commit via patch-package. ++// AUTO-SCAFFOLDED-VERSION: 20 ++// Cache slot: 0.88.1/dual-flavor ++// Edit the contents below if needed and re-run `npx patch-package ` ++// to persist across `npm install`. To regenerate from the podspec, remove ++// this file (or just this marker) and re-run `npx react-native spm scaffold`. ++// ++// Package references are plain relative paths, computed when this file was ++// scaffolded. They stay correct because the file is re-scaffolded per app ++// and cache slot, and any node_modules relayout reinstalls this package ++// (dropping the file) anyway. ++ ++import PackageDescription ++ ++let package = Package( ++ name: "RNCAsyncStorage", ++ platforms: [.iOS("15.1")], ++ products: [ ++ .library(name: "RNCAsyncStorage", targets: ["RNCAsyncStorageModule"]), ++ ], ++ dependencies: [ ++ .package(name: "ReactNative", path: "../../../../xcframeworks"), ++ .package(name: "React-GeneratedCode", path: "../../../ios"), ++ ], ++ targets: [ ++ .target( ++ name: "RNCAsyncStorageModule", ++ dependencies: [.product(name: "ReactHeaders", package: "ReactNative"), .product(name: "ReactNativeHeaders", package: "ReactNative"), .product(name: "ReactNativeDependenciesHeaders", package: "ReactNative"), .product(name: "ReactAppHeaders", package: "React-GeneratedCode")], ++ path: ".", ++ sources: [ ++ "ios/RNCAsyncStorage.h", ++ "ios/RNCAsyncStorage.mm", ++ "ios/RNCAsyncStorageDelegate.h", ++ ], ++ // Not named after ios/RNCAsyncStorage.h, so SwiftPM does not treat that header as an umbrella header ++ // and reject the RNCAsyncStorage.xcodeproj folder beside it. ++ publicHeadersPath: "ios", ++ cSettings: [.headerSearchPath("ios"), .headerSearchPath("."), .unsafeFlags(["-include", "react-native-spm-prefix.h"])], ++ cxxSettings: [.headerSearchPath("ios"), .headerSearchPath("."), .unsafeFlags(["-include", "react-native-spm-prefix.h"]), .unsafeFlags(["-DFOLLY_NO_CONFIG", "-DFOLLY_MOBILE=1", "-DFOLLY_USE_LIBCPP=1", "-Wno-comma", "-Wno-shorten-64-to-32", "-DRCT_NEW_ARCH_ENABLED=1"]), .define("DEBUG", .when(configuration: .debug)), .define("NDEBUG", .when(configuration: .release))], ++ linkerSettings: [.linkedFramework("UIKit"), .linkedFramework("Foundation"), .linkedFramework("CoreGraphics")] ++ ), ++ ], ++ cxxLanguageStandard: .cxx20 ++) +diff --git a/package.json b/package.json +index 93f95948a3891595c2cfa174a2eecdeeb5efa83e..f2d5a3066537b4928f2c034dd467048ebdbb4428 100644 +--- a/package.json ++++ b/package.json +@@ -111,5 +111,8 @@ + "outputDirectory": "windows/code/codegen", + "separateDataTypes": true + } ++ }, ++ "swiftpmConfig": { ++ "name": "RNCAsyncStorage" + } + } +diff --git a/react-native-spm-prefix.h b/react-native-spm-prefix.h +new file mode 100644 +index 0000000000000000000000000000000000000000..af5cea0557f2f4aa957419f0fc3f250fd55dbaf5 +--- /dev/null ++++ b/react-native-spm-prefix.h +@@ -0,0 +1,10 @@ ++// AUTO-SCAFFOLDED by react-native spm scaffold — mirrors CocoaPods' default ++// prefix header so ObjC sources that rely on an implicit Foundation/UIKit ++// import compile under SPM (which has no prefix-header mechanism). Safe to ++// delete + regenerate via `npx react-native spm scaffold`. ++#ifdef __OBJC__ ++#import ++#if __has_include() ++#import ++#endif ++#endif diff --git a/examples/demo/patches/react-native-screens@4.30.1.patch b/examples/demo/patches/react-native-screens@4.30.1.patch new file mode 100644 index 00000000..de66192a --- /dev/null +++ b/examples/demo/patches/react-native-screens@4.30.1.patch @@ -0,0 +1,289 @@ +diff --git a/Package.swift b/Package.swift +new file mode 100644 +index 0000000000000000000000000000000000000000..e8927fcd3294b23fbc2f05d843bdee7a83fed26a +--- /dev/null ++++ b/Package.swift +@@ -0,0 +1,253 @@ ++// swift-tools-version: 6.0 ++// AUTO-SCAFFOLDED by react-native spm scaffold — safe to edit & commit via patch-package. ++// AUTO-SCAFFOLDED-VERSION: 20 ++// Cache slot: 0.88.1/dual-flavor ++// Edit the contents below if needed and re-run `npx patch-package ` ++// to persist across `npm install`. To regenerate from the podspec, remove ++// this file (or just this marker) and re-run `npx react-native spm scaffold`. ++// ++// Package references are plain relative paths, computed when this file was ++// scaffolded. They stay correct because the file is re-scaffolded per app ++// and cache slot, and any node_modules relayout reinstalls this package ++// (dropping the file) anyway. ++ ++import PackageDescription ++ ++let package = Package( ++ name: "RNScreens", ++ platforms: [.iOS("15.1")], ++ products: [ ++ .library(name: "RNScreens", targets: ["RNScreens"]), ++ ], ++ dependencies: [ ++ .package(name: "ReactNative", path: "../../../../xcframeworks"), ++ .package(name: "React-GeneratedCode", path: "../../../ios"), ++ ], ++ targets: [ ++ .target( ++ name: "RNScreens", ++ dependencies: [.product(name: "ReactHeaders", package: "ReactNative"), .product(name: "ReactNativeHeaders", package: "ReactNative"), .product(name: "ReactNativeDependenciesHeaders", package: "ReactNative"), .product(name: "ReactAppHeaders", package: "React-GeneratedCode")], ++ path: ".", ++ sources: [ ++ "common/cpp/react/renderer/components/rnscreens/FrameCorrectionModes.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSFormSheetHostComponentDescriptor.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSFormSheetHostShadowNode.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSFormSheetHostShadowNode.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSFormSheetHostState.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSFormSheetHostState.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSFullWindowOverlayComponentDescriptor.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSFullWindowOverlayShadowNode.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSFullWindowOverlayShadowNode.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSFullWindowOverlayState.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSModalScreenComponentDescriptor.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSModalScreenShadowNode.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSModalScreenShadowNode.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSSafeAreaViewComponentDescriptor.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSSafeAreaViewShadowNode.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSSafeAreaViewShadowNode.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSSafeAreaViewState.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSSafeAreaViewState.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenComponentDescriptor.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenShadowNode.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenShadowNode.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenShadowNodeCommitHook.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenShadowNodeCommitHook.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenStackHeaderConfigComponentDescriptor.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenStackHeaderConfigShadowNode.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenStackHeaderConfigShadowNode.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenStackHeaderConfigState.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenStackHeaderConfigState.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenStackHeaderSubviewComponentDescriptor.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenStackHeaderSubviewShadowNode.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenStackHeaderSubviewShadowNode.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenStackHeaderSubviewState.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenStackHeaderSubviewState.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenState.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSScreenState.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSSplitScreenComponentDescriptor.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSSplitScreenShadowNode.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSSplitScreenShadowNode.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSSplitScreenState.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackHeaderConfigComponentDescriptor.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackHeaderConfigShadowNode.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackHeaderConfigShadowNode.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackHeaderConfigState.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackHeaderConfigState.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackHeaderItemComponentDescriptor.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackHeaderItemShadowNode.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackHeaderItemShadowNode.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackHeaderItemState.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackHeaderItemState.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackHeaderSubviewComponentDescriptor.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackHeaderSubviewShadowNode.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackHeaderSubviewShadowNode.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackHeaderSubviewState.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackHeaderSubviewState.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackScreenComponentDescriptor.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackScreenShadowNode.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackScreenShadowNode.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackScreenState.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSStackScreenState.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSTabsBottomAccessoryComponentDescriptor.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSTabsBottomAccessoryShadowNode.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSTabsBottomAccessoryShadowNode.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSTabsBottomAccessoryState.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSTabsHostComponentDescriptor.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSTabsHostShadowNode.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSTabsHostShadowNode.h", ++ "common/cpp/react/renderer/components/rnscreens/RNSTabsHostState.cpp", ++ "common/cpp/react/renderer/components/rnscreens/RNSTabsHostState.h", ++ "common/cpp/react/renderer/components/rnscreens/utils/RectUtil.h", ++ "cpp/RNSScreenRemovalListener.cpp", ++ "cpp/RNSScreenRemovalListener.h", ++ "cpp/RNScreensTurboModule.cpp", ++ "cpp/RNScreensTurboModule.h", ++ "ios/RCTImageComponentView+RNSScreenStackHeaderConfig.h", ++ "ios/RCTImageComponentView+RNSScreenStackHeaderConfig.mm", ++ "ios/RNSBarButtonItem.h", ++ "ios/RNSBarButtonItem.mm", ++ "ios/RNSConvert.h", ++ "ios/RNSConvert.mm", ++ "ios/RNSEnums.h", ++ "ios/RNSFullWindowOverlay.h", ++ "ios/RNSFullWindowOverlay.mm", ++ "ios/RNSModalScreen.h", ++ "ios/RNSModalScreen.mm", ++ "ios/RNSModule.h", ++ "ios/RNSModule.mm", ++ "ios/RNSNavigationBar.h", ++ "ios/RNSNavigationBar.mm", ++ "ios/RNSOrientationProviding.h", ++ "ios/RNSPercentDrivenInteractiveTransition.h", ++ "ios/RNSPercentDrivenInteractiveTransition.mm", ++ "ios/RNSReactMountingTransactionObserving.h", ++ "ios/RNSScreen.h", ++ "ios/RNSScreen.mm", ++ "ios/RNSScreenContainer.h", ++ "ios/RNSScreenContainer.mm", ++ "ios/RNSScreenContentWrapper.h", ++ "ios/RNSScreenContentWrapper.mm", ++ "ios/RNSScreenFooter.h", ++ "ios/RNSScreenFooter.mm", ++ "ios/RNSScreenNavigationContainer.h", ++ "ios/RNSScreenNavigationContainer.mm", ++ "ios/RNSScreenStack.h", ++ "ios/RNSScreenStack.mm", ++ "ios/RNSScreenStackAnimator.h", ++ "ios/RNSScreenStackAnimator.mm", ++ "ios/RNSScreenStackHeaderConfig.h", ++ "ios/RNSScreenStackHeaderConfig.mm", ++ "ios/RNSScreenStackHeaderSubview.h", ++ "ios/RNSScreenStackHeaderSubview.mm", ++ "ios/RNSScreenWindowTraits.h", ++ "ios/RNSScreenWindowTraits.mm", ++ "ios/RNSScrollViewBehaviorOverriding.h", ++ "ios/RNSSearchBar.h", ++ "ios/RNSSearchBar.mm", ++ "ios/RNScreens-Bridging-Header.h", ++ "ios/UIScrollView+RNScreens.h", ++ "ios/UIScrollView+RNScreens.mm", ++ "ios/UIViewController+RNScreens.h", ++ "ios/UIViewController+RNScreens.mm", ++ "ios/UIWindow+RNScreens.h", ++ "ios/UIWindow+RNScreens.mm", ++ "ios/bridging/RNSReactBaseView.h", ++ "ios/bridging/RNSReactBaseView.mm", ++ "ios/conversion/RNSConversions-Fabric.mm", ++ "ios/conversion/RNSConversions-ScrollViewMarker.h", ++ "ios/conversion/RNSConversions-ScrollViewMarker.mm", ++ "ios/conversion/RNSConversions-SplitView.mm", ++ "ios/conversion/RNSConversions-Stack.h", ++ "ios/conversion/RNSConversions-Stack.mm", ++ "ios/conversion/RNSConversions-Tabs.mm", ++ "ios/conversion/RNSConversions.h", ++ "ios/conversion/RNSConversions.mm", ++ "ios/conversion/always_false.h", ++ "ios/events/RNSHeaderHeightChangeEvent.h", ++ "ios/events/RNSHeaderHeightChangeEvent.mm", ++ "ios/events/RNSScreenViewEvent.h", ++ "ios/events/RNSScreenViewEvent.mm", ++ "ios/helpers/container/RNSContainer.h", ++ "ios/helpers/container/RNSContainerHelpers.h", ++ "ios/helpers/container/RNSContainerHelpers.mm", ++ "ios/helpers/container/RNSContainerItem.h", ++ "ios/helpers/container/RNSContainerItemSupport.h", ++ "ios/helpers/container/RNSContainerItemSupport.mm", ++ "ios/helpers/container/RNSParentContainerItemRegistry.h", ++ "ios/helpers/container/RNSParentContainerItemRegistry.mm", ++ "ios/helpers/image/RNSImageLoading.h", ++ "ios/helpers/image/RNSImageLoadingHelper.h", ++ "ios/helpers/image/RNSImageLoadingHelper.mm", ++ "ios/helpers/scroll-view/RNSContentScrollViewProviding.h", ++ "ios/helpers/scroll-view/RNSScrollEdgeEffectApplicator.h", ++ "ios/helpers/scroll-view/RNSScrollEdgeEffectApplicator.mm", ++ "ios/helpers/scroll-view/RNSScrollViewFinder.h", ++ "ios/helpers/scroll-view/RNSScrollViewFinder.mm", ++ "ios/helpers/scroll-view/RNSScrollViewHelper.h", ++ "ios/helpers/scroll-view/RNSScrollViewHelper.mm", ++ "ios/integrations/RNSDismissibleModalProtocol.h", ++ "ios/safe-area/RNSSafeAreaProviding.h", ++ "ios/safe-area/RNSSafeAreaViewComponentView.h", ++ "ios/safe-area/RNSSafeAreaViewComponentView.mm", ++ "ios/safe-area/RNSSafeAreaViewNotifications.h", ++ "ios/stubs/RNSGammaStubs.h", ++ "ios/stubs/RNSGammaStubs.mm", ++ "ios/tabs/RCTConvert+RNSTabs.h", ++ "ios/tabs/RCTConvert+RNSTabs.mm", ++ "ios/tabs/RNSTabBarAppearanceCoordinator.h", ++ "ios/tabs/RNSTabBarAppearanceCoordinator.mm", ++ "ios/tabs/RNSTabBarItemCoordinator.h", ++ "ios/tabs/RNSTabBarItemCoordinator.mm", ++ "ios/tabs/RNSTabsSpecialEffectsSupporting.h", ++ "ios/tabs/bottom-accessory/RNSTabsBottomAccessoryComponentView.h", ++ "ios/tabs/bottom-accessory/RNSTabsBottomAccessoryComponentView.mm", ++ "ios/tabs/bottom-accessory/RNSTabsBottomAccessoryContentComponentView.h", ++ "ios/tabs/bottom-accessory/RNSTabsBottomAccessoryContentComponentView.mm", ++ "ios/tabs/bottom-accessory/RNSTabsBottomAccessoryEventEmitter.h", ++ "ios/tabs/bottom-accessory/RNSTabsBottomAccessoryEventEmitter.mm", ++ "ios/tabs/bottom-accessory/RNSTabsBottomAccessoryHelper.h", ++ "ios/tabs/bottom-accessory/RNSTabsBottomAccessoryHelper.mm", ++ "ios/tabs/bottom-accessory/RNSTabsBottomAccessoryShadowStateProxy.h", ++ "ios/tabs/bottom-accessory/RNSTabsBottomAccessoryShadowStateProxy.mm", ++ "ios/tabs/bottom-accessory/RNSTabsBottomAccessoryWrapperView.h", ++ "ios/tabs/bottom-accessory/RNSTabsBottomAccessoryWrapperView.mm", ++ "ios/tabs/extensions/RNSTabsHostComponentView+RNSImageLoader.h", ++ "ios/tabs/extensions/RNSTabsHostComponentView+RNSImageLoader.mm", ++ "ios/tabs/host/RNSTabBarController.h", ++ "ios/tabs/host/RNSTabBarController.mm", ++ "ios/tabs/host/RNSTabsHostComponentView.h", ++ "ios/tabs/host/RNSTabsHostComponentView.mm", ++ "ios/tabs/host/RNSTabsHostEventEmitter.h", ++ "ios/tabs/host/RNSTabsHostEventEmitter.mm", ++ "ios/tabs/host/RNSTabsNavigationState.h", ++ "ios/tabs/host/RNSTabsNavigationState.mm", ++ "ios/tabs/host/RNSTabsNavigationStateObserverRegistry.h", ++ "ios/tabs/host/RNSTabsNavigationStateObserverRegistry.mm", ++ "ios/tabs/screen/RNSTabsScreenComponentView.h", ++ "ios/tabs/screen/RNSTabsScreenComponentView.mm", ++ "ios/tabs/screen/RNSTabsScreenEventEmitter.h", ++ "ios/tabs/screen/RNSTabsScreenEventEmitter.mm", ++ "ios/tabs/screen/RNSTabsScreenViewController.h", ++ "ios/tabs/screen/RNSTabsScreenViewController.mm", ++ "ios/utils/NSString+RNSUtility.h", ++ "ios/utils/NSString+RNSUtility.mm", ++ "ios/utils/RCTSurfaceTouchHandler+RNSUtility.h", ++ "ios/utils/RCTSurfaceTouchHandler+RNSUtility.mm", ++ "ios/utils/RNSBackBarButtonItem.h", ++ "ios/utils/RNSBackBarButtonItem.mm", ++ "ios/utils/RNSDefines.h", ++ "ios/utils/RNSLog.h", ++ "ios/utils/UINavigationBar+RNSUtility.h", ++ "ios/utils/UINavigationBar+RNSUtility.mm", ++ "ios/utils/UIView+RNSUtility.h", ++ "ios/utils/UIView+RNSUtility.mm", ++ "ios/utils/extensions/RCTImageSource+AccessHiddenMembers.h", ++ ], ++ publicHeadersPath: "ios", ++ cSettings: [.headerSearchPath("common/cpp"), .headerSearchPath("common/cpp/react/renderer/components"), .headerSearchPath("common/cpp/react/renderer/components/rnscreens"), .headerSearchPath("common/cpp/react/renderer/components/rnscreens/utils"), .headerSearchPath("cpp"), .headerSearchPath("ios"), .headerSearchPath("ios/bridging"), .headerSearchPath("ios/conversion"), .headerSearchPath("ios/events"), .headerSearchPath("ios/helpers/container"), .headerSearchPath("ios/helpers/image"), .headerSearchPath("ios/helpers/scroll-view"), .headerSearchPath("ios/integrations"), .headerSearchPath("ios/safe-area"), .headerSearchPath("ios/stubs"), .headerSearchPath("ios/tabs"), .headerSearchPath("ios/tabs/bottom-accessory"), .headerSearchPath("ios/tabs/extensions"), .headerSearchPath("ios/tabs/host"), .headerSearchPath("ios/tabs/screen"), .headerSearchPath("ios/utils"), .headerSearchPath("ios/utils/extensions"), .headerSearchPath("."), .unsafeFlags(["-include", "react-native-spm-prefix.h"])], ++ cxxSettings: [.headerSearchPath("common/cpp"), .headerSearchPath("common/cpp/react/renderer/components"), .headerSearchPath("common/cpp/react/renderer/components/rnscreens"), .headerSearchPath("common/cpp/react/renderer/components/rnscreens/utils"), .headerSearchPath("cpp"), .headerSearchPath("ios"), .headerSearchPath("ios/bridging"), .headerSearchPath("ios/conversion"), .headerSearchPath("ios/events"), .headerSearchPath("ios/helpers/container"), .headerSearchPath("ios/helpers/image"), .headerSearchPath("ios/helpers/scroll-view"), .headerSearchPath("ios/integrations"), .headerSearchPath("ios/safe-area"), .headerSearchPath("ios/stubs"), .headerSearchPath("ios/tabs"), .headerSearchPath("ios/tabs/bottom-accessory"), .headerSearchPath("ios/tabs/extensions"), .headerSearchPath("ios/tabs/host"), .headerSearchPath("ios/tabs/screen"), .headerSearchPath("ios/utils"), .headerSearchPath("ios/utils/extensions"), .headerSearchPath("."), .unsafeFlags(["-include", "react-native-spm-prefix.h"]), .define("DEBUG", .when(configuration: .debug)), .define("NDEBUG", .when(configuration: .release))], ++ linkerSettings: [.linkedFramework("UIKit"), .linkedFramework("Foundation"), .linkedFramework("CoreGraphics")] ++ ), ++ ], ++ cxxLanguageStandard: .cxx20 ++) +diff --git a/package.json b/package.json +index ded33af42ab36e1f15f3aea38770d4a21cf66f0a..27d02ad90774b649e9aa972683b4702d79711973 100644 +--- a/package.json ++++ b/package.json +@@ -240,5 +240,8 @@ + } + } + }, +- "packageManager": "yarn@4.1.1" ++ "packageManager": "yarn@4.1.1", ++ "swiftpmConfig": { ++ "name": "RNScreens" ++ } + } +diff --git a/react-native-spm-prefix.h b/react-native-spm-prefix.h +new file mode 100644 +index 0000000000000000000000000000000000000000..af5cea0557f2f4aa957419f0fc3f250fd55dbaf5 +--- /dev/null ++++ b/react-native-spm-prefix.h +@@ -0,0 +1,10 @@ ++// AUTO-SCAFFOLDED by react-native spm scaffold — mirrors CocoaPods' default ++// prefix header so ObjC sources that rely on an implicit Foundation/UIKit ++// import compile under SPM (which has no prefix-header mechanism). Safe to ++// delete + regenerate via `npx react-native spm scaffold`. ++#ifdef __OBJC__ ++#import ++#if __has_include() ++#import ++#endif ++#endif diff --git a/examples/demo/patches/react-native-vector-icons@10.3.0.patch b/examples/demo/patches/react-native-vector-icons@10.3.0.patch new file mode 100644 index 00000000..1e4989bd --- /dev/null +++ b/examples/demo/patches/react-native-vector-icons@10.3.0.patch @@ -0,0 +1,77 @@ +diff --git a/Package.swift b/Package.swift +new file mode 100644 +index 0000000000000000000000000000000000000000..016c54726cc00514e537a8d177170f3b843eb252 +--- /dev/null ++++ b/Package.swift +@@ -0,0 +1,42 @@ ++// swift-tools-version: 6.0 ++// AUTO-SCAFFOLDED by react-native spm scaffold — safe to edit & commit via patch-package. ++// AUTO-SCAFFOLDED-VERSION: 20 ++// Cache slot: 0.88.1/dual-flavor ++// Edit the contents below if needed and re-run `npx patch-package ` ++// to persist across `npm install`. To regenerate from the podspec, remove ++// this file (or just this marker) and re-run `npx react-native spm scaffold`. ++// ++// Package references are plain relative paths, computed when this file was ++// scaffolded. They stay correct because the file is re-scaffolded per app ++// and cache slot, and any node_modules relayout reinstalls this package ++// (dropping the file) anyway. ++ ++import PackageDescription ++ ++let package = Package( ++ name: "RNVectorIcons", ++ platforms: [.iOS("15.1")], ++ products: [ ++ .library(name: "RNVectorIcons", targets: ["RNVectorIcons"]), ++ ], ++ dependencies: [ ++ .package(name: "ReactNative", path: "../../../../xcframeworks"), ++ .package(name: "React-GeneratedCode", path: "../../../ios"), ++ ], ++ targets: [ ++ .target( ++ name: "RNVectorIcons", ++ dependencies: [.product(name: "ReactHeaders", package: "ReactNative"), .product(name: "ReactNativeHeaders", package: "ReactNative"), .product(name: "ReactNativeDependenciesHeaders", package: "ReactNative"), .product(name: "ReactAppHeaders", package: "React-GeneratedCode")], ++ path: ".", ++ sources: [ ++ "RNVectorIconsManager/RNVectorIconsManager.h", ++ "RNVectorIconsManager/RNVectorIconsManager.mm", ++ ], ++ publicHeadersPath: "RNVectorIconsManager", ++ cSettings: [.headerSearchPath("RNVectorIconsManager"), .headerSearchPath("."), .unsafeFlags(["-include", "react-native-spm-prefix.h"])], ++ cxxSettings: [.headerSearchPath("RNVectorIconsManager"), .headerSearchPath("."), .unsafeFlags(["-include", "react-native-spm-prefix.h"]), .define("DEBUG", .when(configuration: .debug)), .define("NDEBUG", .when(configuration: .release))], ++ linkerSettings: [.linkedFramework("UIKit"), .linkedFramework("Foundation"), .linkedFramework("CoreGraphics")] ++ ), ++ ], ++ cxxLanguageStandard: .cxx20 ++) +diff --git a/package.json b/package.json +index 585a8d5f479e65a34220255de9ec83faf092938f..c3c49bea08fa5bcbacdc94ac163b2b8f76b7a3d5 100644 +--- a/package.json ++++ b/package.json +@@ -103,5 +103,8 @@ + "android": { + "javaPackageName": "com.oblador.vectoricons" + } ++ }, ++ "swiftpmConfig": { ++ "name": "RNVectorIcons" + } + } +diff --git a/react-native-spm-prefix.h b/react-native-spm-prefix.h +new file mode 100644 +index 0000000000000000000000000000000000000000..af5cea0557f2f4aa957419f0fc3f250fd55dbaf5 +--- /dev/null ++++ b/react-native-spm-prefix.h +@@ -0,0 +1,10 @@ ++// AUTO-SCAFFOLDED by react-native spm scaffold — mirrors CocoaPods' default ++// prefix header so ObjC sources that rely on an implicit Foundation/UIKit ++// import compile under SPM (which has no prefix-header mechanism). Safe to ++// delete + regenerate via `npx react-native spm scaffold`. ++#ifdef __OBJC__ ++#import ++#if __has_include() ++#import ++#endif ++#endif