Skip to content

Commit

Permalink
fix Android build error
Browse files Browse the repository at this point in the history
e: /Users/metamask/metamask-mobile/node_modules/react-native-screens/android/src/main/java/com/swmansion/rnscreens/ScreenStack.kt: (300, 25): Type mismatch: inferred type is Canvas? but Canvas was expected

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':react-native-screens:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details
  • Loading branch information
jpcloureiro committed Jul 10, 2024
1 parent f4537c5 commit 94e67d8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,8 @@ PODS:
- React-RCTText
- ReactCommon/turbomodule/core
- Yoga
- RNScreens (3.19.0):
- RNScreens (3.32.0):
- RCT-Folly (= 2021.07.22.00)
- React-Core
- React-RCTImage
- RNSensors (5.3.0):
Expand Down Expand Up @@ -1137,7 +1138,7 @@ SPEC CHECKSUMS:
RNOS: 6f2f9a70895bbbfbdad7196abd952e7b01d45027
RNPermissions: 4e3714e18afe7141d000beae3755e5b5fb2f5e05
RNReanimated: b1220a0e5168745283ff5d53bfc7d2144b2cee1b
RNScreens: ea4cd3a853063cda19a4e3c28d2e52180c80f4eb
RNScreens: 0bd9eec783bed1032e02a4db9976dae1664a5c7b
RNSensors: c363d486c879e181905dea84a2535e49af1c2d25
RNSentry: 98e170b6eedc5c54e3ac88b6140fffb8b496deb4
RNShare: f116bbb04f310c665ca483d0bd1e88cf59b3b334
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
"react-native-reanimated": "3.1.0",
"react-native-redash": "16.2.2",
"react-native-safe-area-context": "^3.1.9",
"react-native-screens": "3.19.0",
"react-native-screens": "3.32.0",
"react-native-scrollable-tab-view": "^1.0.0",
"react-native-sensors": "5.3.0",
"react-native-share": "7.3.7",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24698,10 +24698,10 @@ react-native-safe-modules@^1.0.3:
dependencies:
dedent "^0.6.0"

react-native-screens@3.19.0:
version "3.19.0"
resolved "https://registry.yarnpkg.com/react-native-screens/-/react-native-screens-3.19.0.tgz#ec68685e04b074ebce4641b3a0ae7e2571629b75"
integrity sha512-Ehsmy7jr3H3j5pmN+/FqsAaIAD+k+xkcdePfLcg4rYRbN5X7fJPgaqhcmiCcZ0YxsU8ttsstP9IvRLNQuIkRRA==
react-native-screens@3.32.0:
version "3.32.0"
resolved "https://registry.yarnpkg.com/react-native-screens/-/react-native-screens-3.32.0.tgz#47c3d2efc9cd5ed18af41b34efc8b46df05b87b4"
integrity sha512-wybqZAHX7v8ipOXhh90CqGLkBHw5JYqKNRBX7R/b0c2WQisTOgu0M0yGwBMM6LyXRBT+4k3NTGHdDbpJVpq0yQ==
dependencies:
react-freeze "^1.0.0"
warn-once "^0.1.0"
Expand Down

0 comments on commit 94e67d8

Please sign in to comment.