Closed marcvictorpassarelli closed 8 months ago
i am also facing the same issue please help to solve it
yes, i also facing this . Basically any local files (audio or image) both are not working on Release builds
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 A local artwork asset is not loading in the notification tray in release mode in Android, despite loading normally in debug mode
Steps To Reproduce Just run the example project in release mode in Android and go to the track Pure (Demo) that loads a local artwork
Code To Reproduce Please provide a simple code example that allows others to replicate the bug.
Replicable on Example App? Can you replicate this bug in the React Native Track Player Example App? Yes I added a text to see how the artwork was being handled and why it was working in debug mode but not in release and found this:
Debug
Release
Environment Info: Real device? Or simulator? Real Device, Samsung S22 Ultra What OS are you running? System: OS: macOS 13.1 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 1.64 GB / 16.00 GB Shell: version: 5.8.1 path: /bin/zsh Binaries: Node: version: 16.14.2 path: ~/.nvm/versions/node/v16.14.2/bin/node Yarn: version: 1.22.10 path: /usr/local/bin/yarn npm: version: 8.5.0 path: ~/.nvm/versions/node/v16.14.2/bin/npm Watchman: version: 2023.06.08.00 path: /usr/local/bin/watchman Managers: CocoaPods: version: 1.12.1 path: /Users/marcpassarelli/.rvm/gems/ruby-2.7.6/bin/pod SDKs: iOS SDK: Platforms:
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? I was able to track down and it seems that until RC05 this was working fine and then it broke after RC06 and looking at the commits from that version my best guess is that it could be related to this commit
Can you create a Pull Request with a fix? I'll investigate a little further and debug to see if I can find what is wrong.