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

Lib compilation issue on Android 13 (compilesdkversion = 33) #2108

Closed
AndroidDev08 opened this issue Jun 20, 2022 · 3 comments
Closed

Lib compilation issue on Android 13 (compilesdkversion = 33) #2108

AndroidDev08 opened this issue Jun 20, 2022 · 3 comments

Comments

@AndroidDev08
Copy link

Description

Library has compilation issue with Android 13 (targetsdkversion = 33)

react-native-gesture-handler/android/lib/src/main/java/com/swmansion/gesturehandler/PanGestureHandler.kt: (57, 36): Type mismatch: inferred type is Context? but Context was expected

Platforms

  • Android (OS Version 13)

Screenshots

Steps To Reproduce

  1. Issue can be simply reproduced by updating the compilesdkversion to 33 (Android 13)

Expected behavior

App should compile without errors

Actual behavior

Compilation error

react-native-gesture-handler/android/lib/src/main/java/com/swmansion/gesturehandler/PanGestureHandler.kt: (57, 36): Type mismatch: inferred type is Context? but Context was expected

Package versions

  • React Native: 0.68.1
  • React Native Gesture Handler: 2.4.0
  • React Native Reanimated: 1.3.2
@github-actions
Copy link

Hey! 👋

It looks like you've omitted a few important sections from the issue template.

Please complete Snack or minimal code example section.

@github-actions
Copy link

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snippet of code, a snack or a link to a GitHub repository that reproduces the problem?

@j-piasecki
Copy link
Member

Hi! This has been already fixed by #2096 and will be included in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants