Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,6 @@ Integration tests are responsible for ensuring that the plugin works against the
To run the test you must first install and setup detox. Please follow the guide here:
https://wix.github.io/Detox/docs/introduction/environment-setup

> [!NOTE]
> The current (pinned) version of Detox does not work with the latest React Native version used in the example app. To run Android Detox tests, the example app must first be downgraded to React Native 0.79.5 until support for newer versions is available.

Build the tests using detox-cli in the example folder:

iOS:
Expand All @@ -142,6 +139,9 @@ iOS
yarn run example detox:test:ios-release
```

> [!NOTE]
> On Xcode 27 and later, Detox logs `Unable to find application named 'Simulator'` followed by a hint to reinstall Xcode or run `xcode-select`. Both messages are safe to ignore, and the `xcode-select` hint does not apply: Xcode 27 replaced Simulator.app with Device Hub, while Detox drives the simulator through `simctl`. The tests run normally, just without a simulator window. Append `--headless` to skip opening the window and silence the warning.

Android:

> [!NOTE]
Expand Down
16 changes: 8 additions & 8 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ post_install do |installer|
# :ccache_enabled => true
)

# Fix fmt compilation issue with Xcode 26.4+ (stricter consteval enforcement)
# fmt/base.h unconditionally redefines FMT_USE_CONSTEVAL based on __cplusplus,
# so preprocessor defines are overwritten. Compiling fmt in C++17 mode ensures
# FMT_CPLUSPLUS (201703L) < 201709L → FMT_USE_CONSTEVAL = 0.
# Fixed in React Native 0.85+, can be removed after upgrading.
# Resource bundle targets generated from `s.resource_bundles` keep the deployment
# target declared by their own podspec, which react_native_post_install leaves
# untouched. Xcode fails the build when a target's minimum falls below the range
# the active SDK supports, so align every target with what React Native requires.
installer.pods_project.targets.each do |target|
if target.name == 'fmt'
target.build_configurations.each do |config|
config.build_settings['CLANG_CXX_LANGUAGE_STANDARD'] = 'c++17'
target.build_configurations.each do |config|
deployment_target = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET']
if deployment_target && Gem::Version.new(deployment_target) < Gem::Version.new(min_ios_version_supported)
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = min_ios_version_supported
end
end
end
Expand Down
12 changes: 6 additions & 6 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"dependencies": {
"@react-navigation/native": "^7.3.16",
"@react-navigation/stack": "^7.10.22",
"react": "19.2.3",
"react-native": "0.87.0",
"react-native-gesture-handler": "3.0.2",
"react": "19.3.0",
"react-native": "0.87.1",
"react-native-gesture-handler": "3.3.0",
"react-native-pager-view": "^6.9.1",
"react-native-permissions": "^5.1.0",
"react-native-safe-area-context": "^5.9.0",
Expand All @@ -42,9 +42,9 @@
"@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/babel-preset": "0.87.0",
"@react-native/metro-config": "0.87.0",
"@react-native/typescript-config": "0.87.0",
"@react-native/babel-preset": "0.87.1",
"@react-native/metro-config": "0.87.1",
"@react-native/typescript-config": "0.87.1",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.0",
"detox": "^20.47.0",
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@
"devDependencies": {
"@commitlint/config-conventional": "^19.2.2",
"@evilmartians/lefthook": "^1.5.0",
"@react-native/babel-preset": "0.87.0",
"@react-native/typescript-config": "0.87.0",
"@react-native/babel-preset": "0.87.1",
"@react-native/typescript-config": "0.87.1",
"@testing-library/react-native": "^13.3.3",
"@types/react": "19.2.0",
"@types/react": "19.3.0",
"@typescript-eslint/eslint-plugin": "^8.43.0",
"@typescript-eslint/parser": "^8.43.0",
"commitlint": "^19.3.0",
Expand All @@ -79,10 +79,10 @@
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-native": "^5.0.0",
"prettier": "^3.6.2",
"react": "19.2.3",
"react-native": "0.87.0",
"react": "19.3.0",
"react-native": "0.87.1",
"react-native-builder-bob": "^0.40.13",
"react-test-renderer": "19.2.3",
"react-test-renderer": "19.3.0",
"turbo": "^1.10.7",
"typescript": "^5.8.3"
},
Expand Down
Loading
Loading