React-native-track-player: Warnings require cycle

Created on 27 Oct 2020  路  5Comments  路  Source: react-native-kit/react-native-track-player

Describe the bug
When i run the app i get these warnings and it takes about 5 seconds to enter the app

Require cycle: node_modules\react-native-track-player\lib\index.js->
node_modules\react-native-track-player\lib\hooks.js->
node_modules\react-native-track-player\lib\index.js

node_modules\react-native-track-player\lib\index.js->node_modules\react-native-track-player\lib\ProgressComponent.js->node_modules\react-native-track-player\lib\index.js

To Reproduce
Steps to reproduce the behavior:

Environment (please complete the following information):
Run react-native info in your project and share the content.
What react-native-track-player version are you using?
Are you testing on a real device or in the simulator? Which OS version are you running?

Code
Please, share the code that is causing the issue

Bug Needs Confirmation

Most helpful comment

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

Issue still actual and quite annoying. Any plans to fix it?

All 5 comments

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

Issue still actual and quite annoying. Any plans to fix it?

Hello, I still get these cycle warnings too, that's not ideal. Any plan of fixing them soon? There is other issue opened on the topic that seems to be related. Commenting there too: https://github.com/react-native-kit/react-native-track-player/issues/989

This issue was fixed on PR #1077 and it just need to be merged.

same issue

Fix released in 1.2.4

Was this page helpful?
0 / 5 - 0 ratings