-
Notifications
You must be signed in to change notification settings - Fork 474
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
feat: support new arch #1961
feat: support new arch #1961
Conversation
I have signed the CLA! |
@@ -1,6 +1,11 @@ | |||
#pragma once | |||
|
|||
#ifdef TARGET_OS_IPHONE | |||
#include <react-native-skia/ImageProps.h> | |||
#else | |||
#include "ImageProps.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename to SkImageProps
@@ -0,0 +1,79 @@ | |||
This is a new [**React Native**](https://reactnative.dev) project, bootstrapped using [`@react-native-community/cli`](/~https://github.com/react-native-community/cli). | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be added to yarn bootstrap
, also we need to add it to CI. Add pod install to postinstall on both example and fabricexample
@@ -0,0 +1,8 @@ | |||
import type { TurboModule } from "react-native/Libraries/TurboModule/RCTExport"; | |||
import { TurboModuleRegistry } from "react-native"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here we probably want to use to use platform (Platform
is what we use to "polyfill" react native API on web without the need to use react-native-web)
I have signed the CLA! |
You can test the RN Skia on Fabric with this test package: https://bit.ly/shopify-react-native-skia-fabric |
…wicki/react-native-skia into @wolewicki/new-arch-support
@WoLewicki congrats 🥂🙌🏼 and a big thank you ❤️ |
PR adding support for new architecture and adding
fabricexample
app where it can be tested.Test package: https://bit.ly/shopify-react-native-skia-fabric
fixes #387
fixes #676