Skip to content

TurboModuleInteropUtils ParsingException after RN 0.80 #2489

@m2001619

Description

@m2001619

After upgrading to React Native 0.80 and Kotlin 2.1.20, I'm encountering a runtime error related to TurboModule interoperability in react-native-track-player. The error occurs immediately on app launch.

Error Message:

[runtime not ready]: Error: Exception in HostObject::get for prop 'TrackPlayerModule': com.facebook.react.internal.turbomodule.core.TurboModuleInteropUtils$ParsingException: Unable to parse @ReactMethod annotations from native module: TrackPlayerModule. Details: TurboModule system assumes returnType == void iff the method is synchronous.

Environment:

react-native-track-player version: 4.1.1

React Native version: 0.80

Kotlin version: 2.1.20

Reproduction Steps:

Upgrade project to React Native 0.80

Update Kotlin to 2.1.20

Install/update react-native-track-player

Run Android app

Error appears immediately on launch

Stack Trace:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions