doublesymmetry / react-native-track-player

A fully fledged audio module created for music apps. Provides audio playback, external media controls, background mode and more!
https://rntp.dev/
Apache License 2.0
3.2k stars 984 forks source link

ERROR TypeError: Cannot read property 'RATING_HEART' of null, js engine: hermes #2150

Closed CHANDRAMOHANnegi closed 9 months ago

CHANDRAMOHANnegi commented 9 months ago

Describe the Bug ERROR TypeError: Cannot read property 'RATING_HEART' of null, js engine: hermes

Steps To Reproduce How can someone else reproduce this bug?

Code To Reproduce Please provide a simple code example that allows others to replicate the bug. "expo": "^48.0.0", "react": "18.2.0", "react-native": "0.71.6",

Environment Info: System: OS: macOS 14.0 CPU: (10) arm64 Apple M1 Pro Memory: 164.00 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 16.20.1 - ~/.nvm/versions/node/v16.20.1/bin/node Yarn: 1.22.19 - /opt/homebrew/bin/yarn npm: 8.19.4 - ~/.nvm/versions/node/v16.20.1/bin/npm Watchman: 2023.06.12.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.12.1 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0 Android SDK: API Levels: 33, 34 Build Tools: 30.0.3, 34.0.0 System Images: android-34 | Google APIs ARM 64 v8a, android-UpsideDownCakePrivacySandbox | Google Play ARM 64 v8a Android NDK: Not Found IDEs: Android Studio: 2022.2 AI-222.4459.24.2221.10121639 Xcode: 15.0/15A240d - /usr/bin/xcodebuild Languages: Java: 11.0.20 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.6 => 0.71.6 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Paste the exact react-native-track-player version you are using

"react-native-track-player": "^3.2.0",

Real device? Or simulator? simulator Mac android emulator

What OS are you running? Mac

How I can Help What can you do to help resolve this? Have you investigated the underlying JS or Swift/Android code causing this bug? Can you create a Pull Request with a fix?

dcvz commented 9 months ago

Duplicate of https://github.com/doublesymmetry/react-native-track-player/issues/1504 - please take a look there