Skip to content

Commit

Permalink
RJS-2888: Fixing React scheduler's call to RN CallInvoker's `invoke…
Browse files Browse the repository at this point in the history
…Async` and upgrading our RNTA test app to React Native v0.75.1 (#6851)

* Upgrading React Native to 0.75.1 in RNTA

* Calling a backwards compatible overload of invokeAsync

* Using @react-native-community/cli

* Adding a note to the changelog

* Fix web-streams-polyfill v3

* Upgrading react-native-test-app to 3.9.5

* Nuking locks

* Remove "restore-keys" from Pods cache action
  • Loading branch information
kraenhansen authored Aug 21, 2024
1 parent e0645a3 commit b798a7b
Show file tree
Hide file tree
Showing 10 changed files with 19,434 additions and 17,792 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/pr-realm-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,6 @@ jobs:
with:
path: integration-tests/environments/react-native-test-app/ios/Pods
key: ${{ github.job }}-pods-${{ hashFiles('integration-tests/environments/react-native-test-app/ios/Podfile.lock') }}
restore-keys: |
${{ github.job }}-pods-

- name: MSVC Setup
if: ${{ runner.os == 'Windows' }}
Expand Down
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
* None

### Fixed
* <How to hit and notice issue? what was the impact?> ([#????](https://github.com/realm/realm-js/issues/????), since v?.?.?)
* None
* Fixed a build error on React Native iOS and Android from a change in the `CallInvoker`'s `invokeAsync` call signature. ([#6851](https://github.com/realm/realm-js/pull/6851) since v12.12.0 in combination with React Native >= v0.75.0).

### Compatibility
* React Native >= v0.71.4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const cp = require("child_process");
const filteredEnv = Object.fromEntries(Object.entries(process.env).filter(([k]) => !k.startsWith("npm_")));

function sync(...args) {
const process = cp.spawnSync("node", [require.resolve("react-native/local-cli/cli.js"), ...args], {
const process = cp.spawnSync("node", [require.resolve("@react-native-community/cli/build/bin.js"), ...args], {
stdio: ["inherit", "inherit", "inherit"],
env: filteredEnv,
});
Expand Down
Loading

0 comments on commit b798a7b

Please sign in to comment.