replate-camera 0.1.2 → 0.1.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,6 +1,6 @@
1
1
  {
2
2
  "name": "replate-camera",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Camera component for Replate Manager",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
11
11
  s.license = package["license"]
12
12
  s.authors = package["author"]
13
13
 
14
- s.platforms = { :ios => min_ios_version_supported }
14
+ s.platforms = { :ios => 13.0 }
15
15
  s.source = { :git => "https://github.com/ReplateItaly/replate-camera.git", :tag => "#{s.version}" }
16
16
 
17
17
  s.source_files = "ios/**/*.{h,m,mm,swift}"
@@ -38,5 +38,5 @@ Pod::Spec.new do |s|
38
38
  s.dependency "RCTTypeSafety"
39
39
  s.dependency "ReactCommon/turbomodule/core"
40
40
  end
41
- end
41
+ end
42
42
  end
@@ -1,15 +0,0 @@
1
- @objc(ReplateCameraController)
2
- class ReplateCameraController: NSObject {
3
-
4
- @objc(takePhoto:rejecter:)
5
- func takePhoto(_ resolver: RCTPromiseResolveBlock, rejecter: RCTPromiseRejectBlock) -> Void {
6
- print("Take photo")
7
- resolver("Photo taken")
8
- }
9
-
10
- @objc
11
- func constantsToExport() -> [String: Any]! {
12
- return ["someKey": "someValue"]
13
- }
14
-
15
- }