react-native-picture-selector 1.0.32 → 1.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,7 @@ target_sources(${CMAKE_PROJECT_NAME} PRIVATE
23
23
  # so react-native-nitro-modules::NitroModules adds no .so to the link command.
24
24
  # Link libNitroModules.so directly using the known build output path.
25
25
  string(TOLOWER "${CMAKE_BUILD_TYPE}" _build_type_lower)
26
- if(_build_type_lower STREQUAL "release")
26
+ if(_build_type_lower STREQUAL "release" OR _build_type_lower STREQUAL "relwithdebinfo")
27
27
  set(NITRO_BUILD_VARIANT "release")
28
28
  else()
29
29
  set(NITRO_BUILD_VARIANT "debug")
@@ -13,6 +13,11 @@ buildscript {
13
13
  apply plugin: 'com.android.library'
14
14
  apply plugin: 'kotlin-android'
15
15
 
16
+ def reactNativeArchitectures() {
17
+ def value = project.getProperties().get("reactNativeArchitectures")
18
+ return value ? value.split(",") : ['armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64']
19
+ }
20
+
16
21
  android {
17
22
  namespace 'com.margelo.pictureselector'
18
23
  compileSdk 34
@@ -21,7 +26,7 @@ android {
21
26
  minSdk 24
22
27
  targetSdk 34
23
28
  ndk {
24
- abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
29
+ abiFilters(*reactNativeArchitectures())
25
30
  }
26
31
  consumerProguardFiles 'proguard-rules.pro'
27
32
  externalNativeBuild {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-picture-selector",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "description": "High-performance photo/video picker for React Native using Nitro Modules",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",