-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
App crashing on initialisation of react-native-track-player on RN 0.76.1 and newArchEnabled=true #2414
Comments
downgrade the version to the 3.2.0. and killed the app and rebuild again |
Hi ! From where you come with this "solution" ? I have tried it on custom dev mode and got : ERROR Your app just crashed. See the error below. |
Description
(NOBRIDGE) ERROR 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
Steps To Reproduce
npm install --save react-native-track-player
npm start
Code To Reproduce
import TrackPlayer, { State } from 'react-native-track-player';
Environment Info:
"react-native-track-player": "^4.1.1",
"@react-native-community/cli": "15.0.0",
"react": "18.3.1",
"react-native": "0.76.1",
newArchEnabled=true
The text was updated successfully, but these errors were encountered: