From 83b4f2e1287b5f392f3e1abf5a695722556c9fd3 Mon Sep 17 00:00:00 2001 From: Arash Pessian Date: Fri, 13 Feb 2026 17:49:31 -0800 Subject: [PATCH 1/2] Update project to CameraKit v1.46 --- android/build.gradle | 2 +- example/README.md | 2 +- example/ios/Podfile.lock | 10 +++++----- yarn.lock | 8 ++++++++ 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index c338dcb..6da8712 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -3,7 +3,7 @@ buildscript { def kotlin_version = rootProject.ext.has("kotlinVersion") ? rootProject.ext.get("kotlinVersion") : project.properties["CameraKitReactNative_kotlinVersion"] ext { - cameraKitVersion = "1.43.0" + cameraKitVersion = "1.46.0" exoPlayerVersion = "2.16.1" } diff --git a/example/README.md b/example/README.md index 056026c..0cb5b60 100644 --- a/example/README.md +++ b/example/README.md @@ -10,7 +10,7 @@ Also, make sure you have completed the [React Native - Environment Setup](https: 1. Open `App.tsx` in and enter value for `apiToken` with the one you get from Camera Kit Developer portal. 2. Open `Lenses.tsx` and enter value for `groupId` from which you want to fetch lenses. [Optional] Enter value for `launchDataLensId` for the Lens which has launch data associated with it or remove all the relevant code that uses this param. -3. [_Optional_] This example is using version 1.43.0 of Camera Kit Mobile SDK for Android and latest version on iOS. If you want to use the [latest version](https://docs.snap.com/camera-kit/integrate-sdk/mobile/changelog-mobile#latest-version) of Camera Kit Mobile SDK on Android then modify `cameraKitVersion` variable in [build.gradle](../android/build.gradle) file. Please refer to [Lens Studio Compatibility](https://docs.snap.com/camera-kit/ar-content/lens-studio-compatibility) guide for selecting the appropriate version that work with your Lenses. +3. [_Optional_] This example is using version 1.45.0 of Camera Kit Mobile SDK for Android and latest version on iOS. If you want to use the [latest version](https://docs.snap.com/camera-kit/integrate-sdk/mobile/changelog-mobile#latest-version) of Camera Kit Mobile SDK on Android then modify `cameraKitVersion` variable in [build.gradle](../android/build.gradle) file. Please refer to [Lens Studio Compatibility](https://docs.snap.com/camera-kit/ar-content/lens-studio-compatibility) guide for selecting the appropriate version that work with your Lenses. ## Step 2: Start the Metro Server diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index c99a36f..ea8a36a 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1527,9 +1527,9 @@ PODS: - React-logger (= 0.77.0) - React-perflogger (= 0.77.0) - React-utils (= 0.77.0) - - SCCameraKit (1.43.0) - - SCCameraKitReferenceUI (1.43.0): - - SCCameraKit (~> 1.43.0) + - SCCameraKit (1.46.0) + - SCCameraKitReferenceUI (1.46.0): + - SCCameraKit (~> 1.46.0) - SocketRocket (0.7.1) - Yoga (0.0.0) @@ -1818,8 +1818,8 @@ SPEC CHECKSUMS: ReactAppDependencyProvider: 6e8d68583f39dc31ee65235110287277eb8556ef ReactCodegen: c08a5113d9c9c895fe10f3c296f74c6b705a60a9 ReactCommon: 1bd2dc684d7992acbf0dfee887b89a57a1ead86d - SCCameraKit: c10748b5e7d176907544c5aca3538d9c986e3023 - SCCameraKitReferenceUI: c54e74c8d8618258c22cbf080a591504eb6d4cf9 + SCCameraKit: 39be4af199ba6d89a2722d7995e394ad2b7d7e87 + SCCameraKitReferenceUI: c87ad89bc1054bb22629feedb657ea2c1b1f1cd4 SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748 Yoga: 78d74e245ed67bb94275a1316cdc170b9b7fe884 diff --git a/yarn.lock b/yarn.lock index 0dbf5b5..d567a3c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2751,6 +2751,13 @@ __metadata: languageName: node linkType: hard +"@react-native/gradle-plugin@npm:*": + version: 0.82.1 + resolution: "@react-native/gradle-plugin@npm:0.82.1" + checksum: 7e7e2d768a8ff599dba5ef7b0a417e1d14a032a3344cc1e57852d4ebee1587dc877f83ae9dd4beae3b27fe2389d235227df12bd8aaa9be8b6ef1c7784419e0de + languageName: node + linkType: hard + "@react-native/gradle-plugin@npm:0.77.0": version: 0.77.0 resolution: "@react-native/gradle-plugin@npm:0.77.0" @@ -4260,6 +4267,7 @@ __metadata: "@babel/preset-env": ^7.20.0 "@babel/runtime": ^7.20.0 "@react-native/babel-preset": 0.77.0 + "@react-native/gradle-plugin": "*" "@react-native/metro-config": ^0.77.0 "@types/react-native-video": ^5.0.18 babel-plugin-module-resolver: ^5.0.0 From 8aca649514b73acc1692d93e26e1ac09d8256af4 Mon Sep 17 00:00:00 2001 From: Arash Pessian Date: Fri, 13 Feb 2026 17:54:09 -0800 Subject: [PATCH 2/2] . --- example/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/README.md b/example/README.md index 0cb5b60..85f920a 100644 --- a/example/README.md +++ b/example/README.md @@ -10,7 +10,7 @@ Also, make sure you have completed the [React Native - Environment Setup](https: 1. Open `App.tsx` in and enter value for `apiToken` with the one you get from Camera Kit Developer portal. 2. Open `Lenses.tsx` and enter value for `groupId` from which you want to fetch lenses. [Optional] Enter value for `launchDataLensId` for the Lens which has launch data associated with it or remove all the relevant code that uses this param. -3. [_Optional_] This example is using version 1.45.0 of Camera Kit Mobile SDK for Android and latest version on iOS. If you want to use the [latest version](https://docs.snap.com/camera-kit/integrate-sdk/mobile/changelog-mobile#latest-version) of Camera Kit Mobile SDK on Android then modify `cameraKitVersion` variable in [build.gradle](../android/build.gradle) file. Please refer to [Lens Studio Compatibility](https://docs.snap.com/camera-kit/ar-content/lens-studio-compatibility) guide for selecting the appropriate version that work with your Lenses. +3. [_Optional_] This example is using version 1.46.0 of Camera Kit Mobile SDK for Android and latest version on iOS. If you want to use the [latest version](https://docs.snap.com/camera-kit/integrate-sdk/mobile/changelog-mobile#latest-version) of Camera Kit Mobile SDK on Android then modify `cameraKitVersion` variable in [build.gradle](../android/build.gradle) file. Please refer to [Lens Studio Compatibility](https://docs.snap.com/camera-kit/ar-content/lens-studio-compatibility) guide for selecting the appropriate version that work with your Lenses. ## Step 2: Start the Metro Server