-
Notifications
You must be signed in to change notification settings - Fork 109
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
Possible to get a RN 74 example? #188
Comments
removing flipper related lines in the header file and podfile will just work for rn0.74, old arch. |
@lovegaoshi Are you using AppDelegate ObjC or Swift version (like in example app in |
swift
…On Tue, Jun 11, 2024, 5:20 AM Mateusz Janik ***@***.***> wrote:
@lovegaoshi <https://github.com/lovegaoshi> Are you using AppDelegate
ObjC or Swift version (like in example app in master branch
<https://github.com/birkir/react-native-carplay/tree/master/apps/example/ios>
)?
—
Reply to this email directly, view it on GitHub
<#188 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZMOVVWS4KWBGGPBB46SQFLZG3TSVAVCNFSM6AAAAABIWSGUB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRQGYZDCNJUGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@lovegaoshi Did you have any problems with migrating? I have some issues with "'RCTAppDelegate.h' file not found" in {TargetName}-Bridging-Header.h while compiling. I'm investigating what's the reason of the problem (maybe it's dependencies related problem? such as RN Firebase...) |
if u use anything modifying appdelegate, u r on ur own. tho if u only use
expo and rn app auth, lucky for u ive done it.
lovegaoshi/azusa-player-mobile#474
…On Tue, Jun 11, 2024, 8:42 AM Mateusz Janik ***@***.***> wrote:
@lovegaoshi <https://github.com/lovegaoshi> Did you have any problems
with migrating? I have some issues with "'RCTAppDelegate.h' file not found"
in {TargetName}-Bridging-Header.h while compiling. I'm investigating what's
the reason of the problem (maybe it's dependencies related problem? such as
RN Firebase...)
—
Reply to this email directly, view it on GitHub
<#188 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZMOVVRRTXMQNV6D4LOM3ATZG4LH7AVCNFSM6AAAAABIWSGUB2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRRGA4DCMJXGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I've been able to resolve the issue. A key difference in pure ReactNative v74 is that you need to add a override func bundleURL() -> URL? {
return RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index");
} |
@lovegaoshi Glad to see real-world app using Car Play! Thanks for linking the repo. |
appreciate mentioning of the bundleURL function! I did encounter that too and the snippet would fix it perfectly. I got it confused with sourceURL so I forced it in there. |
I upgraded the example app to RN 75 in this PR. It uses the same approach as @lovegaoshi 's - which poses a problem: In I outlined this problem in the README of my standalone-app-PR In RN 74 and 75, this seems to require patching the react native package itself and exposing |
Related issue (RN 0.75) for Android: #210 |
Hi! Are you using an arm64 architecture, like an M1 Mac? Disabling Rosetta and clearing caches resolved it for me. I don’t think Rosetta itself was the issue, but my core dependencies (like Ruby, rbenv, and CocoaPods) were installed in a native arm64 terminal previously, which likely caused conflicts against new dependencies installed using Rosetta. I’ve detailed the steps I took in this comment. |
Is your feature request related to a problem? Please describe.
With the upgrade to Yoga 3.0 and the removal of Flipper, it would be helpful to have an example app showing how to configure iOS scenes in this version.
Describe the solution you'd like
An example app for React Native >= 74
The text was updated successfully, but these errors were encountered: