Skip to content
Open
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
13 changes: 8 additions & 5 deletions MultipleImagePicker.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -52,4 +55,4 @@ Pod::Spec.new do |s|
s.dependency 'React-callinvoker'

install_modules_dependencies(s)
end
end
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
17 changes: 9 additions & 8 deletions react-native.config.js
Original file line number Diff line number Diff line change
@@ -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'),
},
},
},
}