-
Notifications
You must be signed in to change notification settings - Fork 444
Not compatible with react native 0.79.0 #988
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
Comments
I am also having the same issue on "react-native": "0.79.0", react-native-pager-view:compileReleaseKotlin FAILED |
Hey, u can temporary use this solution. Worked for me node_modules/react-native-pager-view/android/src/fabric/java/com/reactnativepagerview/PagerViewViewManager.kt 40 | - override fun receiveCommand(root: NestedScrollableHost, commandId: String?, args: ReadableArray?) { |
✅ The Issue Resolved for now The problem was due to the File: Previous Code: override fun receiveCommand(root: NestedScrollableHost, commandId: String?, args: ReadableArray?) {
mDelegate.receiveCommand(root, commandId, args)
} Updated Code: override fun receiveCommand(root: NestedScrollableHost, commandId: String, args: ReadableArray?) {
mDelegate.receiveCommand(root, commandId, args)
} ✅ After removing the |
Unfortunately, you have to do this every time you build your app which takes too long. |
Yes, I had the same issue. The fix is simple:
Then, generate a patch using patch-package, so you don’t have to edit this manually every time. |
fixed in 6.7.1 version |
Description
file:///<project_root>/node_modules/react-native-pager-view/android/src/fabric/java/com/reactnativepagerview/PagerViewViewManager.kt:41:40 Argument type mismatch: actual type is 'kotlin.String?', but 'kotlin.String' was expected.
This appears to be related with this commit on react-native.
The text was updated successfully, but these errors were encountered: