Skip to content
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

Fix/fabric native components article 2024 11 01 #4330

Conversation

coolsoftwaretyler
Copy link
Contributor

Comment on lines +99 to +102
#import <react/renderer/components/AppSpec/ComponentDescriptors.h>
#import <react/renderer/components/AppSpec/EventEmitters.h>
#import <react/renderer/components/AppSpec/Props.h>
#import <react/renderer/components/AppSpec/RCTComponentViewHelpers.h>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the doc asks for codeGenConfig to be like this:

 "codegenConfig": {
     "name": "AppSpec",
     "type": "components",
     "jsSrcsDir": "specs",
     "android": {
       "javaPackageName": "com.nativelocalstorage"
     }
   },

I think either these lines need to be changed, or that config block does. When I originally built, I got errors that the headers didn't exist. When I made this change, the build started working.

Copy link

netlify bot commented Nov 1, 2024

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit 0d9ac38
🔍 Latest deploy log https://app.netlify.com/sites/react-native/deploys/6725246763790700084888d1
😎 Deploy Preview https://deploy-preview-4330--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@cortinico cortinico merged commit 78f7c48 into facebook:main Nov 2, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants