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

Error: Exception in HostObject::get for prop 'TrackPlayerModule': com.facebook.react.internal.turbomodule.core.TurboModuleInteropUtils$ParsingException: Unable to parse @ReactMethod annotation from native module method: TrackPlayerModule.add(). Details: Unable to parse JNI signature. Detected unsupported return class: kotlinx.coroutines.Job #2424

Open
MrKarimi9425 opened this issue Dec 28, 2024 · 4 comments
Labels

Comments

@MrKarimi9425
Copy link

hello friends
I need to use newArchEnabled so I can't disable it. What solution do you suggest to solve this problem?

@HamzaReza
Copy link

Facing the same issue here

@ShubhamP528
Copy link

facing the same issue
tell me solution

@jeandiasl
Copy link

unfortunately React Native Track Player does not support new RN architecture at the moment.

so you have to either disable it

bare workflow: in file android/gradle.properties change newArchEnabled to false
expo: disabling it by setting newArchEnabled to false in your app.json
or try to apply suggested patch in this github issue.

also you can find more information about this problem in this PR from RN team, but RNTP team is still working on it.

hope it helps.

https://stackoverflow.com/questions/79225605/react-native-track-player-error-unable-to-parse-reactmethod-annotation-from-na

@aminghorbankhani
Copy link

@dcvz Can you please consider fixing this issue?

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

No branches or pull requests

5 participants