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

[BUG]: RN 0.77 support #4385

Closed
maksymhcode-care opened this issue Jan 22, 2025 · 3 comments · Fixed by #4386
Closed

[BUG]: RN 0.77 support #4385

maksymhcode-care opened this issue Jan 22, 2025 · 3 comments · Fixed by #4386

Comments

@maksymhcode-care
Copy link

Version

6.9.1

What platforms are you having the problem on?

Android

System Version

Android 14

On what device are you experiencing the issue?

Simulator

Architecture

Old architecture

What happened?

Error while trying to build the app after upgrading to RN 0.77
Image

Reproduction Link

No response

Reproduction

Step to reproduce this bug are:

  • Update RN version to 0.77
  • Build
Copy link

Thank you for your bug report. We will review it and get back to you if we need more information.

@HamzaReza
Copy link

I'm facing this issue as well.

@efstathiosntonas
Copy link
Contributor

efstathiosntonas commented Jan 22, 2025

This is the exact log output:

> Task :react-native-video:compileDebugKotlin
e: file:///projects/node_modules/react-native-video/android/src/main/java/com/brentvatne/common/api/CMCDProps.kt:40:31 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'com.facebook.react.bridge.ReadableMap?'.
e: file:///projects/node_modules/react-native-video/android/src/main/java/com/brentvatne/common/api/CMCDProps.kt:41:39 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'com.facebook.react.bridge.ReadableMap?'.
e: file:///projects/node_modules/react-native-video/android/src/main/java/com/brentvatne/common/api/CMCDProps.kt:42:48 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'com.facebook.react.bridge.ReadableMap?'.
e: file:///projects/node_modules/react-native-video/android/src/main/java/com/brentvatne/common/api/CMCDProps.kt:43:48 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'com.facebook.react.bridge.ReadableMap?'.
e: file:///projects/node_modules/react-native-video/android/src/main/java/com/brentvatne/common/api/Source.kt:258:50 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'com.facebook.react.bridge.ReadableMap?'.
e: file:///projects/node_modules/react-native-video/android/src/main/java/com/brentvatne/common/api/Source.kt:258:73 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'com.facebook.react.bridge.ReadableMap?'.
e: file:///projects/node_modules/react-native-video/android/src/main/java/com/brentvatne/common/api/Source.kt:259:52 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'com.facebook.react.bridge.ReadableMap?'.
e: file:///projects/node_modules/react-native-video/android/src/main/java/com/brentvatne/common/api/Source.kt:259:77 Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'com.facebook.react.bridge.ReadableMap?'.
e: file:///projects/node_modules/react-native-video/android/src/main/java/com/brentvatne/common/api/Source.kt:266:50 Argument type mismatch: actual type is 'com.facebook.react.bridge.ReadableMap?', but 'com.facebook.react.bridge.ReadableMap' was expected.
e: file:///projects/node_modules/react-native-video/android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerViewManager.kt:87:39 Argument type mismatch: actual type is 'com.facebook.react.bridge.ReadableMap?', but 'com.facebook.react.bridge.ReadableMap' was expected.
e: file:///projects/node_modules/react-native-video/android/src/main/java/com/brentvatne/react/VideoManagerModule.kt:85:37 Argument type mismatch: actual type is 'com.facebook.react.bridge.ReadableMap?', but 'com.facebook.react.bridge.ReadableMap' was expected.

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

Successfully merging a pull request may close this issue.

3 participants