-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #180 from baronha/v.2.0
🤩 Multiple Image Picker V.2.0 Release 🚀
- Loading branch information
Showing
361 changed files
with
59,468 additions
and
30,647 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Deploy to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- v.2.0 | ||
paths: | ||
- 'docs/**' | ||
|
||
jobs: | ||
build: | ||
name: Build Docusaurus | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: yarn | ||
|
||
- name: Install dependencies | ||
working-directory: docs | ||
run: yarn install --frozen-lockfile | ||
- name: Build docs | ||
working-directory: docs | ||
run: yarn build | ||
|
||
- name: Upload Build Artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: docs/build | ||
|
||
deploy: | ||
name: Deploy to GitHub Pages | ||
needs: build | ||
|
||
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment | ||
permissions: | ||
pages: write # to deploy to Pages | ||
id-token: write # to verify the deployment originates from an appropriate source | ||
|
||
# Deploy to the github-pages environment | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
require "json" | ||
|
||
package = JSON.parse(File.read(File.join(__dir__, "package.json"))) | ||
|
||
Pod::Spec.new do |s| | ||
s.name = "MultipleImagePicker" | ||
s.version = package["version"] | ||
s.summary = package["description"] | ||
s.homepage = package["homepage"] | ||
s.license = package["license"] | ||
s.authors = package["author"] | ||
|
||
s.platforms = { :ios => min_ios_version_supported } | ||
s.source = { :git => "https://github.com/baronha/react-native-multiple-image-picker.git", :tag => "#{s.version}" } | ||
|
||
s.source_files = [ | ||
# Implementation (Swift) | ||
"ios/**/*.{swift}", | ||
# Autolinking/Registration (Objective-C++) | ||
"ios/**/*.{m,mm}", | ||
# Implementation (C++ objects) | ||
"cpp/**/*.{hpp,cpp}", | ||
] | ||
|
||
s.resource_bundles = { | ||
"MultipleImagePicker" => ["ios/Assets.xcassets"] | ||
} | ||
|
||
|
||
s.dependency "HXPhotoPicker/Picker", "4.2.3" | ||
s.dependency "HXPhotoPicker/Editor/Lite", "4.2.3" | ||
|
||
s.pod_target_xcconfig = { | ||
# C++ compiler flags, mainly for folly. | ||
"GCC_PREPROCESSOR_DEFINITIONS" => "$(inherited) FOLLY_NO_CONFIG FOLLY_CFG_NO_COROUTINES" | ||
} | ||
|
||
load 'nitrogen/generated/ios/MultipleImagePicker+autolinking.rb' | ||
|
||
|
||
add_nitrogen_files(s) | ||
|
||
s.dependency 'React-jsi' | ||
s.dependency 'React-callinvoker' | ||
|
||
install_modules_dependencies(s) | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
project(MultipleImagePicker) | ||
cmake_minimum_required(VERSION 3.9.0) | ||
|
||
set (PACKAGE_NAME MultipleImagePicker) | ||
set (CMAKE_VERBOSE_MAKEFILE ON) | ||
set (CMAKE_CXX_STANDARD 20) | ||
|
||
# Define C++ library and add all sources | ||
add_library(${PACKAGE_NAME} SHARED | ||
src/main/cpp/cpp-adapter.cpp | ||
) | ||
|
||
# Add Nitrogen specs :) | ||
include(${CMAKE_SOURCE_DIR}/../nitrogen/generated/android/MultipleImagePicker+autolinking.cmake) | ||
|
||
# Set up local includes | ||
include_directories( | ||
"src/main/cpp" | ||
"../cpp" | ||
) | ||
|
||
find_library(LOG_LIB log) | ||
|
||
# Link all libraries together | ||
target_link_libraries( | ||
${PACKAGE_NAME} | ||
${LOG_LIB} | ||
android # <-- Android core | ||
) |
Oops, something went wrong.