From 4c9a707866cfc56b2d3278f1a0455ad622d9733e Mon Sep 17 00:00:00 2001 From: Christian Falch <875252+chrfalch@users.noreply.github.com> Date: Tue, 31 Oct 2023 15:09:05 +0100 Subject: [PATCH] fix: Use Worklets 0.2.4 to fix FP crash (#2102) Also changed the namespace in the build gradle to not be com.mrousavy.camera.example - this would crash when using dex in release mode on android. Changed to `com.mrousavy.camera`. --- package/android/build.gradle | 2 +- package/example/package.json | 2 +- package/example/yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package/android/build.gradle b/package/android/build.gradle index e084cd8..03662a4 100644 --- a/package/android/build.gradle +++ b/package/android/build.gradle @@ -73,7 +73,7 @@ repositories { } android { - namespace "com.mrousavy.camera.example" + namespace "com.mrousavy.camera" // Used to override the NDK path/version on internal CI or by allowing // users to customize the NDK path/version from their root project (e.g. for M1 support) diff --git a/package/example/package.json b/package/example/package.json index 6df04f5..5daa5e1 100644 --- a/package/example/package.json +++ b/package/example/package.json @@ -29,7 +29,7 @@ "react-native-static-safe-area-insets": "^2.2.0", "react-native-vector-icons": "^10.0.0", "react-native-video": "^5.2.1", - "react-native-worklets-core": "^0.2.1" + "react-native-worklets-core": "0.2.4" }, "devDependencies": { "@babel/core": "^7.22.10", diff --git a/package/example/yarn.lock b/package/example/yarn.lock index ff32580..2514288 100644 --- a/package/example/yarn.lock +++ b/package/example/yarn.lock @@ -5802,10 +5802,10 @@ react-native-video@^5.2.1: prop-types "^15.7.2" shaka-player "^2.5.9" -react-native-worklets-core@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/react-native-worklets-core/-/react-native-worklets-core-0.2.1.tgz#d30cd779eb31d21f889517524249b13759746bb3" - integrity sha512-ezKjljddT4V1Ble3b+mF8XL02OpJfaHApH4XtxxhMoP/G/0Eplp0bAI7qI+SnIIPYVTEL66/kzMAYiXbcC00Ug== +react-native-worklets-core@0.2.4: + version "0.2.4" + resolved "https://registry.yarnpkg.com/react-native-worklets-core/-/react-native-worklets-core-0.2.4.tgz#a4a79c04f2c6769ff03e96b7529c8638c88fa560" + integrity sha512-NKqxLRDOYfO7RJRZHHDA/1yztdiSadSTTILgHw2VwSrcQcmnWAZGXWr9EYpzKblpbk/vXfJa6QpWIKHjNrbe4w== dependencies: string-hash-64 "^1.0.3"