Skip to content

[BUG]: 0.78 compatibility #4429

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

Open
CoryWritesCode opened this issue Feb 24, 2025 · 5 comments · May be fixed by #4430
Open

[BUG]: 0.78 compatibility #4429

CoryWritesCode opened this issue Feb 24, 2025 · 5 comments · May be fixed by #4430
Assignees
Labels

Comments

@CoryWritesCode
Copy link

Version

6.10.2

What platforms are you having the problem on?

Android

System Version

15

On what device are you experiencing the issue?

Real device

Architecture

Old architecture

What happened?

1: Task failed with an exception.
-----------
* Where:
Build file '/Users/corycunningham/code/gigpro/sidegig-mobile-frontend/node_modules/@react-native/gradle-plugin/build.gradle.kts' line: 10

* What went wrong:
Script compilation errors:

  Line 10: import org.gradle.configurationcache.extensions.serviceOf
                                                           ^ Unresolved reference: serviceOf

  Line 54:           serviceOf<ModuleRegistry>()
                     ^ Unresolved reference: serviceOf

2 errors

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================

After running npm ls react-native I can see that react-native-video actually requires v0.74.2
Image

This gradle package was removed in react-native v0.75.4 facebook/react-native#46367

Reproduction Link

repository link

Reproduction

Step to reproduce this bug are:

  1. Init a new RN app
  2. Install react-native-video
  3. Attempt to build the app on android
Copy link

Thank you for your issue report. Please note that the following information is missing or incomplete:

  • reproduction link

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

@moskalakamil
Copy link
Collaborator

Is it happening only on real device? I tried to reproduce this on simulator but i couldn't

@freeboub
Copy link
Collaborator

Is it happening only on real device? I tried to reproduce this on simulator but i couldn't

It is build issue, the device doesn't impact...
The best would be to upgrade one of the sample to 0.78.1 (very fresh version !)

@moskalakamil
Copy link
Collaborator

Definitely!

@KrzysztofMoch KrzysztofMoch moved this from Verification to In Progress in React Native Video - Public Roadmap Apr 2, 2025
@KrzysztofMoch KrzysztofMoch self-assigned this Apr 2, 2025
@KrzysztofMoch
Copy link
Collaborator

I have updated both examples, and they are working for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
4 participants