Open robik opened 2 months ago
I have test this patch with new arch react native 0.75.3. But i got this kotlin error : MusicService.kt error: unresolved reference: reactContext
I have test this patch with new arch react native 0.75.3. But i got this kotlin error : MusicService.kt error: unresolved reference: reactContext
This probably is caused by the fact that the old RN is used (RN patch was not applied or it was not built from source)
Thanks for your reply, and how can i fix that ?
My steps :
Yes the only file i not have the same as you is settings.gradle (i have the default one). If add your modifications, i have an other error :
`Could not determine the dependencies of task ':react-native:packages:react-native:ReactAndroid:hermes-engine:configureBuildForHermes'.
Could not create task ':react-native:packages:react-native:ReactAndroid:hermes-engine:installCMake'. Could not find sdkmanager executable.`
so u r having compilation issues. if u dont add that in, ie. https://reactnative.dev/contributing/how-to-build-from-source, ur not compiling RN and not applying any changes. this is outside the scope of this PR and u should seek help in the general RN community. im not going to pretend compiling RN is easy. its a PITA and im too sane now to troubleshoot someone elses env setup.
Now that 0.76 has been released, should we pick up again on this PR?
Ref. https://github.com/doublesymmetry/react-native-track-player/pull/2290
with 0.76.1 released these prs can finally be tested. for the lazy folks my example is now upgraded to newarch + 0.76.1. im still waiting for expo 52 to actually test newarch myself, but with possibly many of my used libs breaking, im not spending a whole lot of effort here.
Now that 0.76 has been released, should we pick up again on this PR?
Ref. #2290
in new architecture the app crashes while setupPlayer so will this PR covered that issue as well?
like i said my example app runs. so presumably yes.
On Thu, Oct 31, 2024, 11:59 AM Syed Shoaib Ali @.***> wrote:
Now that 0.76 has been released, should we pick up again on this PR?
Ref. #2290 https://github.com/doublesymmetry/react-native-track-player/pull/2290
in new architecture the app crashes while setupPlayer so will this PR covered that issue as well?
— Reply to this email directly, view it on GitHub https://github.com/doublesymmetry/react-native-track-player/pull/2370#issuecomment-2450614958, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZMOVVTUY5Q3D56O6YSFBJ3Z6J4XXAVCNFSM6AAAAABOFEDBAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJQGYYTIOJVHA . You are receiving this because you commented.Message ID: @.*** com>
This PR fixes broken event emitting in React Native new architecture.
EDIT: This is breaking change, and mostly acts as a preview. I will try to come up with a solution for it if time allows.
This is a partial solution, and requires:
2290 for this package