Closed piersonmarks closed 3 months ago
could u post the error msg? TP.add and load does the same transformation so should work imo
Also having this issue, but only on iOS. Android appears to work fine.
could u post the error msg? TP.add and load does the same transformation so should work imo
Also, when the app is crashing for me, there are no apparent error messages. I don't get an error message in metro and I also do not get an error message when running npx react-native log-ios
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Describe the Bug When setting the track artwork using a resource object, the app crashes.
The TrackPlayer.load() method takes a Track object instead of an AddTrack object. The base Track object does not support resource objects for loading artwork, causing the crash.
Steps To Reproduce You can repro the bug by trying to use a react native resource object with the TrackPlayer.load() method when adding a track with artwork.
Code To Reproduce
Replicable on Example App? Can you replicate this bug in the React Native Track Player Example App? N/A
Environment Info: Paste the results of
npx react-native info
Paste the exact
react-native-track-player
version you are using. 4.0.1 Real device? Or simulator? What OS are you running?How I can Help What can you do to help resolve this? I can create a fix. Have you investigated the underlying JS or Swift/Android code causing this bug? Yes - provided info in the description. Can you create a Pull Request with a fix? Yes