@capgo/capacitor-updater 8.51.3 → 8.51.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/android/build.gradle
CHANGED
|
@@ -50,7 +50,7 @@ repositories {
|
|
|
50
50
|
|
|
51
51
|
dependencies {
|
|
52
52
|
def work_version = "2.10.5"
|
|
53
|
-
def lifecycle_version = "2.
|
|
53
|
+
def lifecycle_version = "2.11.0"
|
|
54
54
|
implementation "androidx.work:work-runtime:$work_version"
|
|
55
55
|
implementation "androidx.lifecycle:lifecycle-process:$lifecycle_version"
|
|
56
56
|
implementation "com.google.android.gms:play-services-tasks:18.4.1"
|
|
@@ -146,7 +146,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
|
|
|
146
146
|
static final int APPLICATION_EXIT_REASON_USER_REQUESTED = 10;
|
|
147
147
|
static final int APPLICATION_EXIT_REASON_DEPENDENCY_DIED = 12;
|
|
148
148
|
|
|
149
|
-
private final String pluginVersion = "8.51.
|
|
149
|
+
private final String pluginVersion = "8.51.4";
|
|
150
150
|
private static final String DELAY_CONDITION_PREFERENCES = "";
|
|
151
151
|
|
|
152
152
|
private SharedPreferences.Editor editor;
|
|
@@ -3990,7 +3990,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
|
|
|
3990
3990
|
|
|
3991
3991
|
new AlertDialog.Builder(getActivity())
|
|
3992
3992
|
.setTitle("Preview started")
|
|
3993
|
-
.setMessage("Shake
|
|
3993
|
+
.setMessage("shake".equals(this.shakeMenuGesture) ? "Shake to open menu." : "Three-finger pinch to open menu.")
|
|
3994
3994
|
.setPositiveButton("Got it", (dialog, which) -> dialog.dismiss())
|
|
3995
3995
|
.show();
|
|
3996
3996
|
} catch (final Exception e) {
|
|
@@ -92,7 +92,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
92
92
|
CAPPluginMethod(name: "completeFlexibleUpdate", returnType: CAPPluginReturnPromise)
|
|
93
93
|
]
|
|
94
94
|
public var implementation = CapgoUpdater()
|
|
95
|
-
private let pluginVersion: String = "8.51.
|
|
95
|
+
private let pluginVersion: String = "8.51.4"
|
|
96
96
|
private let launchStartedAtMs = Int64(Date().timeIntervalSince1970 * 1000)
|
|
97
97
|
static let updateUrlDefault = "https://plugin.capgo.app/updates"
|
|
98
98
|
static let statsUrlDefault = "https://plugin.capgo.app/stats"
|
|
@@ -2754,7 +2754,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
2754
2754
|
|
|
2755
2755
|
let alert = UIAlertController(
|
|
2756
2756
|
title: "Preview started",
|
|
2757
|
-
message:
|
|
2757
|
+
message: self.shakeMenuGesture == Self.shakeMenuGestureThreeFingerPinch ? "Three-finger pinch to open menu." : "Shake to open menu.",
|
|
2758
2758
|
preferredStyle: .alert
|
|
2759
2759
|
)
|
|
2760
2760
|
alert.addAction(UIAlertAction(title: "Got it", style: .default))
|