react-native-okaycam 1.2.12 → 1.2.13

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/README.md CHANGED
@@ -4,11 +4,11 @@
4
4
 
5
5
  ### Android
6
6
 
7
- - minSdkVersion >= 21
7
+ - minSdkVersion >= 26
8
8
 
9
9
  ### iOS
10
10
 
11
- - iOS 12+
11
+ - iOS 15+
12
12
  - Swift 5
13
13
 
14
14
  ## Getting started
@@ -21,17 +21,28 @@
21
21
  2. Add the following code to Podfile
22
22
 
23
23
  ```
24
- platform :ios, '11.0'
24
+ platform :ios, '15.0'
25
25
  use_frameworks!
26
26
 
27
27
  post_install do |installer|
28
28
  installer.pods_project.targets.each do |target|
29
- if target.name == "CryptoSwift"
30
- puts "Enable module stability for CryptoSwift"
31
- target.build_configurations.each do |config|
32
- config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
33
- end
34
- end
29
+ if target.name == "CryptoSwift"
30
+ puts "Enable module stability for CryptoSwift"
31
+ target.build_configurations.each do |config|
32
+ config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
33
+ end
34
+ end
35
+ if (target.name&.eql?('FBReactNativeSpec'))
36
+ target.build_phases.each do |build_phase|
37
+ if (build_phase.respond_to?(:name) && build_phase.name.eql?('[CP-User] Generate Specs'))
38
+ target.build_phases.move(build_phase, 0)
39
+ end
40
+ end
41
+ end
42
+ target.build_configurations.each do |config|
43
+ config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
44
+ config.build_settings["ONLY_ACTIVE_ARCH"] = "NO"
45
+ end
35
46
  end
36
47
  end
37
48
  ```
@@ -1,9 +1,9 @@
1
1
  buildscript {
2
2
  ext.kotlin_version = '1.4.21'
3
3
  repositories {
4
+ google()
4
5
  jcenter()
5
6
  mavenCentral()
6
- google()
7
7
  }
8
8
 
9
9
  dependencies {
@@ -18,7 +18,7 @@ android {
18
18
  buildToolsVersion "23.0.3"
19
19
 
20
20
  defaultConfig {
21
- minSdkVersion 29
21
+ minSdkVersion 26
22
22
  targetSdkVersion 33
23
23
  versionCode 1
24
24
  versionName "1.0"
@@ -40,7 +40,7 @@ repositories {
40
40
 
41
41
  dependencies {
42
42
  implementation 'com.facebook.react:react-native:+'
43
- implementation('com.innov8tif.okaycam:OkayCam:1.2.9@aar') {
43
+ implementation('com.innov8tif.okaycam:OkayCam:1.2.12@aar') {
44
44
  transitive = true
45
45
  }
46
46
  implementation 'com.googlecode.json-simple:json-simple:1.1.1'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-okaycam",
3
3
  "title": "React Native OkayCam",
4
- "version": "1.2.12",
4
+ "version": "1.2.13",
5
5
  "description": "React-Native version of OkayCam",
6
6
  "main": "index.ts",
7
7
  "files": [
@@ -22,7 +22,7 @@ Pod::Spec.new do |s|
22
22
  s.requires_arc = true
23
23
  s.static_framework = true
24
24
  s.dependency "React"
25
- s.dependency "OkayCam", "1.1.33"
25
+ s.dependency "OkayCam", "1.1.35"
26
26
  end
27
27
 
28
28