-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash with RN 76. New architecture support #2389
Comments
I am also facing issue in New architecture. Team please fix the issue and its very important for us. |
look at #2370 |
I'm also here because I'm facing this issue with 4.1.1 and RN 0.76.1 with New Arch enabled. I will be investigating and report any news. |
Hi |
Hi, I have the same error here w/ 4.1.1 and RN 0.76.1. Obviously I need to disable the new architecture to make it work. |
How can we help to make this library support the new arch? |
Try this PR |
Thanks i have tested and its works
Thanks, i have tested and its work. |
#2290 yes this works on local but fails on eas build. |
i dont think specifically ur error is this lib related. its more of a problem with ur package manager. |
I tested it on my RN 0.76.3 env with new arch and seems to work, but for some reason when I play a message I don't see the state update of playing/stopping etc. I will keep checking if it is my code or something related to the patch. Thanks |
Facing same issue, after updating to rn76 |
One more detail, to make the events to work of RNTP, I had to patch the code as it is here: https://github.com/doublesymmetry/react-native-track-player/pull/2370/files |
yall should use
#2395
…On Wed, Nov 27, 2024, 8:43 AM smfunder ***@***.***> wrote:
One more detail, to make the events to work of RNTP, I had to patch the
code as it is here:
https://github.com/doublesymmetry/react-native-track-player/pull/2370/files
—
Reply to this email directly, view it on GitHub
<#2389 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZMOVVTRDPJ7OYTPYDOWJWT2CXZCRAVCNFSM6AAAAABRC6C7KKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBUGMZTINJWGU>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
|
for android? what to do |
Same thing without step 2 and 3. In Android you can clean project before run: Cd android |
add this in your package.json for now |
Hi, i found new bug, usePlaybackState(), useActiveTrack return not updated state, after add PR |
Can confirm with @gh-pro |
Hi, i confirm, all bug is closed in this pr |
Describe the Bug
App crashes with RN76 where new arch is enabled by default.
Steps To Reproduce
Create new RN app and there we go...
Code To Reproduce
Just
import TrackPlayer from 'react-native-track-player';
will cause the errorEnvironment Info:
The text was updated successfully, but these errors were encountered: