Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .yarn/patches/react-native-svg-npm-15.14.0-macos-uiimage-fix.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/apple/Elements/RNSVGImage.mm b/apple/Elements/RNSVGImage.mm
index 243c24c1b..d5be525e4 100644
--- a/apple/Elements/RNSVGImage.mm
+++ b/apple/Elements/RNSVGImage.mm
@@ -130,8 +130,11 @@ - (void)_setStateAndResubscribeImageResponseObserver:(RNSVGImageShadowNode::Conc
}

#pragma mark - RCTImageResponseDelegate
-
+#if !TARGET_OS_OSX // [macOS]
- (void)didReceiveImage:(UIImage *)image metadata:(id)metadata fromObserver:(void const *)observer
+#else // [macOS
+- (void)didReceiveImage:(NSImage *)image metadata:(id)metadata fromObserver:(void const *)observer
+#endif // macOS]
{
if (!_eventEmitter || !_state) {
// Notifications are delivered asynchronously and might arrive after the view is already recycled.
5 changes: 3 additions & 2 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@
"prism-react-renderer": "^2.4.1",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-native": "0.78.0",
"react-native": "0.83.1",
"react-native-gesture-handler": "^2.24.0",
"react-native-reanimated": "3.19.1",
"react-native-reanimated": "4.2.1",
"react-native-worklets": "0.7.1",
"url-loader": "^4.1.1"
},
"devDependencies": {
Expand Down
14 changes: 1 addition & 13 deletions apps/example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,7 @@ buildscript {

allprojects {
repositories {
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url({
def searchDir = rootDir.toPath()
do {
def p = searchDir.resolve("node_modules/react-native/android")
if (p.toFile().exists()) {
return p.toRealPath().toString()
}
} while (searchDir = searchDir.getParent())
throw new GradleException("Could not find `react-native`");
}())
}
// React Native artifacts are now published to Maven Central (since RN 0.71+)
mavenCentral()
google()
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Loading
Loading