Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump react-native version to 0.69.0 #1484

Merged
merged 45 commits into from
Jun 24, 2022
Merged

Conversation

kkafar
Copy link
Member

@kkafar kkafar commented Jun 21, 2022

Description

Bumped react-native version to 0.69.0-rc.6 in example / test applications (& also in /package.json).

Should also fix #1482

Changes

  • FabricTestExample iOS [x] Android [ ]
  • FabricExample iOS [x] Android [ ]
  • TestsExample iOS [x] Android [ ]
  • Added detection of RN minor version in RNScreens.podspec
  • Set appropriate compiler macro definition for react-native minor version
  • #if ... #else code related to these changes
  • Changed min. iOS version compilation target from 11.0 to 12.4

Test code and steps to reproduce

Build example applications and see that they work

Checklist

kkafar added 18 commits June 21, 2022 10:57
see https://react-native-community.github.io/upgrade-helper/?from=0.68.2&to=0.69.0-rc.6

With lower version there are some dependency issues causing pod install
to fail (thats the visible efect, but there are some headers missing I
    guess)
mountingTransationWillMountWithMetadata: for react-native minor version
>= 69

See: facebook/react-native@91fc2c0
@kkafar kkafar changed the title chore: bump react-native version to 0.69.0-rc.6 chore: bump react-native version to 0.69.0 Jun 23, 2022
@tux2nicolae
Copy link

tux2nicolae commented Jun 23, 2022

We have a problem building our application with 0.69.0 with the following error

Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. T binary version of its metadata is 1.6.0, expected version is 1.4.0.

I suppose this PR would fix that :)

Edit:
Actually, just noticed that the Android build from this PR is failing with the same error

@jenkijo
Copy link

jenkijo commented Jun 24, 2022

We have a problem building our application with 0.69.0 with the following error

Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. T binary version of its metadata is 1.6.0, expected version is 1.4.0.

I suppose this PR would fix that :)

Edit: Actually, just noticed that the Android build from this PR is failing with the same error

quick fix:

  • open file node_modules/react-native-screens/android/build.gradle
  • find line classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.4.10')}"
  • change 1.4.10 to 1.6.21

@kkafar kkafar marked this pull request as ready for review June 24, 2022 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fabric build fails on iOS with nightly version
4 participants