Describe the bug
After upgrading a react native project, using gradle 8.6, build tools version 34, and any 1.8 or higher version of kotlin - the app fails to compile.
node_modules/react-native-bildit-flybuy/android/src/main/java/com/reactnativeflybuy/FlybuyModule.kt:1056:13 Type mismatch: inferred type is java.time.Instant! but org.threeten.bp.Instant was expected
node_modules/react-native-bildit-flybuy/android/src/main/java/com/reactnativeflybuy/FlybuyModule.kt:1057:11 Type mismatch: inferred type is java.time.Instant! but org.threeten.bp.Instant was expected
To Reproduce
Steps to reproduce the behavior:
Create a project with flybuy using react native 74
Build
Expected behavior
The app should compile successfully.
Additional context
Add the output from this command npx react-native info to this section
System:
OS: macOS 14.5
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 2.93 GB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.11.0
path: /private/var/folders/qf/117kl9zs3wzbs78xwc7nf1980000kt/T/xfs-3df361ee/node
Yarn:
version: 4.2.2
path: /private/var/folders/qf/117kl9zs3wzbs78xwc7nf1980000kt/T/xfs-3df361ee/yarn
npm:
version: 10.8.1
path: /private/var/folders/qf/117kl9zs3wzbs78xwc7nf1980000kt/T/xfs-3df361ee/npm
Watchman:
version: 2024.03.25.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
DriverKit 23.4
iOS 17.4
macOS 14.4
tvOS 17.4
visionOS 1.1
watchOS 10.4
Android SDK: Not Found
IDEs:
Android Studio: 2023.3 AI-233.14808.21.2331.11842104
Xcode:
version: 15.3/15E204a
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.7
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.74.2
wanted: ^0.74.0
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Describe the bug After upgrading a react native project, using gradle 8.6, build tools version 34, and any 1.8 or higher version of kotlin - the app fails to compile.
node_modules/react-native-bildit-flybuy/android/src/main/java/com/reactnativeflybuy/FlybuyModule.kt:1056:13 Type mismatch: inferred type is java.time.Instant! but org.threeten.bp.Instant was expected
node_modules/react-native-bildit-flybuy/android/src/main/java/com/reactnativeflybuy/FlybuyModule.kt:1057:11 Type mismatch: inferred type is java.time.Instant! but org.threeten.bp.Instant was expected
To Reproduce Steps to reproduce the behavior:
Expected behavior The app should compile successfully.
Additional context Add the output from this command
npx react-native info
to this section System: OS: macOS 14.5 CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 2.93 GB / 16.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 20.11.0 path: /private/var/folders/qf/117kl9zs3wzbs78xwc7nf1980000kt/T/xfs-3df361ee/node Yarn: version: 4.2.2 path: /private/var/folders/qf/117kl9zs3wzbs78xwc7nf1980000kt/T/xfs-3df361ee/yarn npm: version: 10.8.1 path: /private/var/folders/qf/117kl9zs3wzbs78xwc7nf1980000kt/T/xfs-3df361ee/npm Watchman: version: 2024.03.25.00 path: /usr/local/bin/watchman Managers: CocoaPods: version: 1.15.2 path: /usr/local/bin/pod SDKs: iOS SDK: Platforms: