react-native-zybanbifbio-module 0.8.2 → 0.8.4

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.
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "react-native-zybanbifbio-module",
3
- "version": "0.8.2",
3
+ "version": "0.8.4",
4
4
  "description": "bio banbif",
5
5
  "scripts":
6
6
  {
7
- "test": "echo \"Error: no test specified\" && exit 1"
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "postinstall": "node ./scripts/postinstall.js"
8
9
  },
9
10
  "keywords":
10
11
  [
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
15
15
  s.source = { :git => "https://github.com/ZYTRUST/react-native-zybanbifbio-module.git", :tag => "#{s.version}" }
16
16
  s.source_files = "ios/*.{h,m,mm}"
17
17
 
18
- s.dependency 'zy_banbif_bio_lib_ios', '2.0.3'
18
+ s.dependency 'zy_banbif_bio_lib_ios', '2.0.4'
19
19
  s.dependency 'React'
20
20
 
21
21
  end
@@ -0,0 +1,51 @@
1
+ // scripts/postinstall.js
2
+
3
+ const { execSync } = require('child_process');
4
+
5
+ const repos = [
6
+ {
7
+ name: 'zy_banbif_bio_lib_ios',
8
+ url: 'https://ZYTRUST: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@github.com/ZYTRUST/zy_banbif_bio_lib_ios.git'
9
+ },
10
+ {
11
+ name: 'zy_banbif_lib_ui_ios',
12
+ url: 'https://ZYTRUST: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@github.com/ZYTRUST/zy_banbif_lib_ui_ios.git'
13
+ },
14
+ {
15
+ name: 'zy_lib_idemia_face_ios',
16
+ url: 'https://ZYTRUST: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@github.com/ZYTRUST/zy_lib_idemia_face_ios.git'
17
+ },
18
+ {
19
+ name: 'BiometricSDKAlgorithmPlugin_F6_0_IDD80',
20
+ url: 'https://ZYTRUST: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@github.com/ZYTRUST/BiometricSDKAlgorithmPlugin_F6_0_IDD80.git'
21
+ },
22
+ {
23
+ name: 'BiometricSDKFaceCapturePluginNormal',
24
+ url: 'https://ZYTRUST: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@github.com/ZYTRUST/BiometricSDKFaceCapturePluginNormal.git'
25
+ },
26
+ {
27
+ name: 'zyBiometricSDK',
28
+ url: 'https://ZYTRUST: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@github.com/ZYTRUST/BiometricSDK.git'
29
+ },
30
+ {
31
+ name: 'zy_lib_regula_ocr_ios',
32
+ url: 'https://ZYTRUST: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@github.com/ZYTRUST/zy_lib_regula_ocr_ios.git'
33
+ },
34
+ {
35
+ name: 'zy_lib_zytrust_pdv_ios',
36
+ url: 'https://ZYTRUST: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@github.com/ZYTRUST/zy_lib_zytrust_pdv_ios.git'
37
+ }
38
+ ];
39
+
40
+ console.log('📦 Ejecutando postinstall: Añadiendo repositorios CocoaPods...');
41
+
42
+ repos.forEach(repo => {
43
+ try {
44
+ console.log(`🔗 Añadiendo ${repo.name}...`);
45
+ execSync(`pod repo add ${repo.name} ${repo.url}`, { stdio: 'inherit' });
46
+ } catch (err) {
47
+ console.warn(`⚠️ Ya existe o error añadiendo ${repo.name}: ${err.message}`);
48
+ }
49
+ });
50
+
51
+ console.log('✅ Repositorios añadidos.');