@hanwha-ss1/plugin 0.6.3 → 0.6.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.
@@ -46,10 +46,15 @@ public class Plugin: CAPPlugin {
46
46
  안드로이드에서만 사용
47
47
  */
48
48
  @objc func executeApp(_ call: CAPPluginCall) {
49
- call.resolve([
50
- "result": true,
51
- "message": "완료"
52
- ])
49
+
50
+
51
+ if let url = URL(string: call.getString("package") ?? "") {
52
+ DispatchQueue.main.async {
53
+ UIApplication.shared.open(url, options: [:], completionHandler: nil)
54
+ }
55
+ }
56
+
57
+
53
58
  }
54
59
 
55
60
  @objc func auth(_ call: CAPPluginCall) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanwha-ss1/plugin",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "Plugin",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",