GithubHelp home page GithubHelp logo

React Native macCatalyst about rnfbdemo HOT 7 OPEN

mikehardy avatar mikehardy commented on July 17, 2024
React Native macCatalyst

from rnfbdemo.

Comments (7)

elmcapp avatar elmcapp commented on July 17, 2024 1

I was able to get macCatalyst running. I had to update my nodejs version to version 18 then I had to go to the pod file and change hermes_enabled => true, to false and then change mac_catalyst_enabled => false to true.

then pod install

Not sure why we have to disable Hermes.

from rnfbdemo.

mikehardy avatar mikehardy commented on July 17, 2024

Thanks, it was quite the odyssey yes

There is no "clean" version, the repo is specifically "rnfbdemo", as such, it is clean for me and for the purpose of the repo 😆

It's open source though, fork and alter as much as you like - frequently I delete huge chunks of it in order to cleanly reproduce things for internal react-native folks, it's pretty easy to do

Also when I run the build I get error that firebase.h file is missing

This is not enough information to help (https://stackoverflow.com/help/how-to-ask) - I would need a lot more information about toolchains used etc. I run this pretty frequently and I don't have problems ?

are there any plans that this will be part of React Native main branch and included in their 0.70 or later release or will it be a separate project

In grammar terms "this" here in "are there any plans that this" is an ambiguous antecedent, I'm not sure what you mean by this. The addition of the macCatalyst flag in react-native (which should release with 0.70) covers most of the workarounds. You'll still need to alter your project to include macCatalyst as a possible target type, which implies adding entitlements and a development team, those can't be part of the template. All the workarounds will be there though, built in, if that's what you mean

facebook/react-native#34026
facebook/react-native@2fb6a33 (you can see it made the branch cut for 0.70-release as it's getting 0.70 tags)

from rnfbdemo.

elmcapp avatar elmcapp commented on July 17, 2024

With the new changes made to include macCatalyst I like to know if we can set window size like the width and height or disable window resizing. Seem like that's the missing puzzle. This can easy be done with swift but not sure how to do this with objective-c. Would like to know if you could point me to some example or provide example

from rnfbdemo.

mikehardy avatar mikehardy commented on July 17, 2024

Hey @elmcapp - sorry, no idea 😅 - there are enough "this thing does not even compile and run" things in the matrix of build possibilities that I haven't gotten to "subtle" things like "why's the window not a useful size?". It is a marathon not a sprint...

from rnfbdemo.

mikehardy avatar mikehardy commented on July 17, 2024

🤔 in my testing on the last 0.70-rc I tested I did not have to disable hermes?

https://github.com/mikehardy/rnfbdemo/blob/rn70-hermes-use-frameworks/make-demo.sh

from rnfbdemo.

elmcapp avatar elmcapp commented on July 17, 2024

Are there any options for customizing the menu. I saw an example how to do in swift but currently React Native is in objective-c I was hoping we could edit the menu options

from rnfbdemo.

mikehardy avatar mikehardy commented on July 17, 2024

"the menu" - I'm sorry, what? This is a demonstration script for compiling things. It has no menus.

from rnfbdemo.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.