@capgo/capacitor-updater 6.3.13 → 6.3.15

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.
@@ -54,7 +54,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
54
54
  private static final String channelUrlDefault =
55
55
  "https://api.capgo.app/channel_self";
56
56
 
57
- private final String PLUGIN_VERSION = "6.3.13";
57
+ private final String PLUGIN_VERSION = "6.3.15";
58
58
  private static final String DELAY_CONDITION_PREFERENCES = "";
59
59
 
60
60
  private SharedPreferences.Editor editor;
@@ -517,7 +517,8 @@ public class CapacitorUpdaterPlugin extends Plugin {
517
517
  }
518
518
  call.resolve(res);
519
519
  }
520
- }));
520
+ })
521
+ );
521
522
  } catch (final Exception e) {
522
523
  Log.e(CapacitorUpdater.TAG, "Failed to unsetChannel: ", e);
523
524
  call.reject("Failed to unsetChannel: ", e);
@@ -559,7 +560,8 @@ public class CapacitorUpdaterPlugin extends Plugin {
559
560
  }
560
561
  call.resolve(res);
561
562
  }
562
- }));
563
+ })
564
+ );
563
565
  } catch (final Exception e) {
564
566
  Log.e(CapacitorUpdater.TAG, "Failed to setChannel: " + channel, e);
565
567
  call.reject("Failed to setChannel: " + channel, e);
@@ -577,7 +579,8 @@ public class CapacitorUpdaterPlugin extends Plugin {
577
579
  } else {
578
580
  call.resolve(res);
579
581
  }
580
- }));
582
+ })
583
+ );
581
584
  } catch (final Exception e) {
582
585
  Log.e(CapacitorUpdater.TAG, "Failed to getChannel", e);
583
586
  call.reject("Failed to getChannel", e);
@@ -796,7 +799,8 @@ public class CapacitorUpdaterPlugin extends Plugin {
796
799
  }
797
800
  call.resolve(ret);
798
801
  }
799
- ));
802
+ )
803
+ );
800
804
  }
801
805
 
802
806
  private boolean _reset(final Boolean toLastSuccessful) {
@@ -43,7 +43,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin, CAPBridgedPlugin {
43
43
  CAPPluginMethod(name: "getBuiltinVersion", returnType: CAPPluginReturnPromise)
44
44
  ]
45
45
  public var implementation = CapacitorUpdater()
46
- private let PLUGIN_VERSION: String = "6.3.13"
46
+ private let PLUGIN_VERSION: String = "6.3.15"
47
47
  static let updateUrlDefault = "https://api.capgo.app/updates"
48
48
  static let statsUrlDefault = "https://api.capgo.app/stats"
49
49
  static let channelUrlDefault = "https://api.capgo.app/channel_self"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-updater",
3
- "version": "6.3.13",
3
+ "version": "6.3.15",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Live update for capacitor apps",
6
6
  "main": "dist/plugin.cjs.js",