capacitor-record360sdk 7.1.0 → 7.21.2

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.
@@ -13,6 +13,6 @@ Pod::Spec.new do |s|
13
13
  s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
14
14
  s.ios.deployment_target = '14.0'
15
15
  s.dependency 'Capacitor'
16
- s.dependency 'Record360SDK', '4.19.8'
16
+ s.dependency 'Record360SDK', '4.21.2'
17
17
  s.swift_version = '5.1'
18
18
  end
@@ -138,12 +138,14 @@ public class CapacitorRecord360SDKPlugin: CAPPlugin, CAPBridgedPlugin, Record360
138
138
  var data = JSObject()
139
139
  data["type"] = "onInspectionComplete"
140
140
  notifyListeners("Record360Event", data: data)
141
+ self.dismissSDKViewController(animated: true, completion: {})
141
142
  }
142
143
 
143
144
  public func onInspectionCanceled() {
144
145
  var data = JSObject()
145
146
  data["type"] = "onInspectionCancelled"
146
147
  notifyListeners("Record360Event", data: data)
148
+ self.dismissSDKViewController(animated: true, completion: {})
147
149
  }
148
150
 
149
151
  public func onInspectionUploadDeleted(forReferenceNumber referenceNumber: String) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-record360sdk",
3
- "version": "7.1.0",
3
+ "version": "7.21.2",
4
4
  "description": "Capacitor wrapper for Record360SDK",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -47,8 +47,8 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@capacitor/android": "^7.0.0",
50
- "@capacitor/cli": "^7.0.0",
51
- "@capacitor/core": "^7.0.0",
50
+ "@capacitor/cli": "^7.4.4",
51
+ "@capacitor/core": "^7.4.4",
52
52
  "@capacitor/docgen": "^0.2.2",
53
53
  "@capacitor/ios": "^7.0.0",
54
54
  "@ionic/eslint-config": "^0.4.0",
@@ -78,4 +78,4 @@
78
78
  "src": "android"
79
79
  }
80
80
  }
81
- }
81
+ }