@capawesome/capacitor-live-update 6.0.5 → 6.0.6
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/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdate.java +1 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdatePlugin.java +1 -1
- package/ios/Plugin/LiveUpdate.swift +2 -1
- package/ios/Plugin/LiveUpdatePlugin.swift +1 -1
- package/package.json +1 -1
package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdatePlugin.java
CHANGED
|
@@ -19,7 +19,7 @@ import io.capawesome.capacitorjs.plugins.liveupdate.interfaces.Result;
|
|
|
19
19
|
public class LiveUpdatePlugin extends Plugin {
|
|
20
20
|
|
|
21
21
|
public static final String TAG = "LiveUpdate";
|
|
22
|
-
public static final String VERSION = "6.0.
|
|
22
|
+
public static final String VERSION = "6.0.6";
|
|
23
23
|
public static final String SHARED_PREFERENCES_NAME = "CapawesomeLiveUpdate"; // DO NOT CHANGE
|
|
24
24
|
public static final String ERROR_APP_ID_MISSING = "appId must be configured.";
|
|
25
25
|
public static final String ERROR_BUNDLE_EXISTS = "bundle already exists.";
|
|
@@ -154,6 +154,7 @@ import Alamofire
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
setNextBundle(bundleId: bundleId)
|
|
157
|
+
completion(nil)
|
|
157
158
|
}
|
|
158
159
|
|
|
159
160
|
@objc public func setChannel(_ options: SetChannelOptions, completion: @escaping (Error?) -> Void) {
|
|
@@ -509,7 +510,7 @@ import Alamofire
|
|
|
509
510
|
|
|
510
511
|
extension DispatchQueue {
|
|
511
512
|
static func background(background: (() -> Void)? = nil, completion: (() -> Void)? = nil) {
|
|
512
|
-
DispatchQueue.global(qos: .
|
|
513
|
+
DispatchQueue.global(qos: .userInitiated).async {
|
|
513
514
|
background?()
|
|
514
515
|
if let completion = completion {
|
|
515
516
|
DispatchQueue.main.async {
|
|
@@ -8,7 +8,7 @@ import Capacitor
|
|
|
8
8
|
@objc(LiveUpdatePlugin)
|
|
9
9
|
public class LiveUpdatePlugin: CAPPlugin {
|
|
10
10
|
public static let tag = "LiveUpdate"
|
|
11
|
-
public static let version = "6.0.
|
|
11
|
+
public static let version = "6.0.6"
|
|
12
12
|
public static let userDefaultsPrefix = "CapawesomeLiveUpdate" // DO NOT CHANGE
|
|
13
13
|
|
|
14
14
|
private var config: LiveUpdateConfig?
|