react-native-okaycam 2.0.0 → 2.0.3

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.
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ #Fri Sep 29 11:21:20 BDT 2023
2
+ gradle.version=6.9
File without changes
@@ -40,7 +40,7 @@ dependencies {
40
40
  implementation('com.facebook.react:react-native:+'){
41
41
  exclude module: 'fbjni-java-only'
42
42
  }
43
- implementation('com.innov8tif.okaycam:OkayCam:1.1.18@aar') {
43
+ implementation('com.innov8tif.okaycam:OkayCam:2.0.2@aar') {
44
44
  transitive = true
45
45
  }
46
46
  implementation 'com.googlecode.json-simple:json-simple:1.1.1'
package/android/gradlew CHANGED
File without changes
@@ -106,12 +106,14 @@ class RNOkayCam: NSObject {
106
106
  okayCamConfig.captureConfigPair = CaptureConfigPair(
107
107
  firstPhoto: OkayCamCaptureConfig(
108
108
  timeOut: firstPhoto.object(forKey: "delay") as! Int,
109
- onFlash: firstPhoto.object(forKey: "onFlash") as! Bool, onImageQuality: firstPhoto.object(forKey: "onImageQuality") as! Bool,
110
- outputPath: (firstPhotoPath != nil) ? URL(string: (firstPhoto.object(forKey: "outputPath") as? String)!) : nil
109
+ onFlash: firstPhoto.object(forKey: "onFlash") as! Bool,
110
+ onImageQuality: firstPhoto.object(forKey: "onImageQuality") as! Bool,
111
+ outputPath: (firstPhotoPath != nil) ? URL(string: (firstPhoto.object(forKey: "outputPath") as? String)!) : nil
111
112
  ),
112
113
  secondPhoto: (secondPhoto != nil) ? OkayCamCaptureConfig(
113
114
  timeOut: secondPhoto?.object(forKey: "delay") as? Int ?? 0,
114
- onFlash: secondPhoto?.object(forKey: "onFlash") as? Bool ?? false, onImageQuality: secondPhoto?.object(forKey: "onImageQuality") as! Bool,
115
+ onFlash: secondPhoto?.object(forKey: "onFlash") as? Bool ?? false,
116
+ onImageQuality: secondPhoto?.object(forKey: "onImageQuality") as! Bool,
115
117
  outputPath: (secondPhotoPath != nil) ? URL(string: (secondPhoto?.object(forKey: "outputPath") as! String?)!) : nil
116
118
  ) : nil
117
119
  )
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-okaycam",
3
3
  "title": "React Native OkayCam",
4
- "version": "2.0.0",
4
+ "version": "2.0.3",
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.14"
25
+ s.dependency "OkayCam", "2.0.9"
26
26
  end
27
27
 
28
28