From 4eabae1c57c2b2681f2558097685ab8ab75ac289 Mon Sep 17 00:00:00 2001 From: song <> Date: Sat, 29 Nov 2025 19:56:08 +0700 Subject: [PATCH 1/3] =?UTF-8?q?fix=20=E8=AE=A9=20@baronha/react-native-mul?= =?UTF-8?q?tiple-image-picker=20=E5=9C=A8=E6=96=B0=E6=9E=B6=E6=9E=84?= =?UTF-8?q?=E4=B8=8B=E6=AD=A3=E5=B8=B8=E8=B7=91=E9=80=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MultipleImagePicker.podspec | 13 ++++++++----- package.json | 15 +++++++++------ react-native.config.js | 17 +++++++++-------- 3 files changed, 26 insertions(+), 19 deletions(-) diff --git a/MultipleImagePicker.podspec b/MultipleImagePicker.podspec index 50a6fee2..3dc2ed9a 100644 --- a/MultipleImagePicker.podspec +++ b/MultipleImagePicker.podspec @@ -27,14 +27,17 @@ Pod::Spec.new do |s| } - s.dependency "HXPhotoPicker/Picker", "4.2.4" - s.dependency "HXPhotoPicker/Camera/Lite", "4.2.4" - s.dependency "HXPhotoPicker/Editor", "4.2.4" + # Track HXPhotoPicker 5.x (use latest compatible patch) + s.dependency "HXPhotoPicker/Picker", "~> 5.0" + s.dependency "HXPhotoPicker/Camera/Lite", "~> 5.0" + s.dependency "HXPhotoPicker/Editor", "~> 5.0" s.pod_target_xcconfig = { # C++ compiler flags, mainly for folly. "CLANG_CXX_LANGUAGE_STANDARD" => "c++20", - "GCC_PREPROCESSOR_DEFINITIONS" => "$(inherited) FOLLY_NO_CONFIG FOLLY_CFG_NO_COROUTINES FOLLY_MOBILE" + "GCC_PREPROCESSOR_DEFINITIONS" => "$(inherited) FOLLY_NO_CONFIG FOLLY_CFG_NO_COROUTINES FOLLY_MOBILE", + # Ensure Objective-C categories (+load) are linked for Nitro autolinking. + "OTHER_LDFLAGS" => "$(inherited) -ObjC" } if ENV["USE_FRAMEWORKS"] @@ -52,4 +55,4 @@ Pod::Spec.new do |s| s.dependency 'React-callinvoker' install_modules_dependencies(s) -end \ No newline at end of file +end diff --git a/package.json b/package.json index 58a05d64..2d9a8c12 100644 --- a/package.json +++ b/package.json @@ -60,22 +60,25 @@ "devDependencies": { "@react-native/eslint-config": "^0.75.2", "@types/jest": "^29.5.12", - "@types/react": "^18.3.4", + "@types/react": "^19.2.7", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", - "nitro-codegen": "0.25.2", + "nitro-codegen": "^0.29.4", "prettier": "^3.3.3", - "react": "^18.3.1", - "react-native": "^0.75.2", + "react": "19.1.0", + "react-native": "0.81.5", "react-native-builder-bob": "^0.30.0", - "react-native-nitro-modules": "0.25.2", - "typescript": "^5.5.4" + "react-native-nitro-modules": "^0.31.10", + "typescript": "^5.9.3" }, "peerDependencies": { "react": "*", "react-native": "*" }, + "dependencies": { + "react-native-nitro-modules": "^0.31.10" + }, "eslintConfig": { "root": true, "extends": [ diff --git a/react-native.config.js b/react-native.config.js index 3fdf8eaa..3ace47f9 100644 --- a/react-native.config.js +++ b/react-native.config.js @@ -1,16 +1,17 @@ // https://github.com/react-native-community/cli/blob/main/docs/dependencies.md +const path = require('path') + module.exports = { dependency: { platforms: { - /** - * @type {import('@react-native-community/cli-types').IOSDependencyParams} - */ - ios: {}, - /** - * @type {import('@react-native-community/cli-types').AndroidDependencyParams} - */ - android: {}, + ios: { + // Help autolinking find the podspec when using file:../ or symlinked installs. + podspecPath: path.join(__dirname, 'MultipleImagePicker.podspec'), + }, + android: { + sourceDir: path.join(__dirname, 'android'), + }, }, }, } From 1d3bd9d26c0cfe3943a8848473f95db739aee67d Mon Sep 17 00:00:00 2001 From: song-react <6511522+song-react@users.noreply.github.com> Date: Mon, 19 Jan 2026 14:32:41 +0700 Subject: [PATCH 2/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2d9a8c12..3da6a9bd 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "� react-native-multiple-image-picker enables applications to pick images and videos from multiple smart albums in iOS/Android �", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", - "types": "./lib/typescript/index.d.ts", + "types": "./src/types/index.ts", "react-native": "src/index", "source": "src/index", "files": [ From 76b1caa8263dbf9c8952eabf3260b0d17dd81515 Mon Sep 17 00:00:00 2001 From: song-react <6511522+song-react@users.noreply.github.com> Date: Mon, 19 Jan 2026 14:39:08 +0700 Subject: [PATCH 3/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3da6a9bd..a90e33e6 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "� react-native-multiple-image-picker enables applications to pick images and videos from multiple smart albums in iOS/Android �", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", - "types": "./src/types/index.ts", + "types": "./src/index.ts", "react-native": "src/index", "source": "src/index", "files": [