diff --git a/android/build.gradle b/android/build.gradle index 469912ca..a5aff309 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -11,7 +11,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:8.5.2' + classpath 'com.android.tools.build:gradle:8.7.2' } } diff --git a/android/src/main/java/ee/forgr/capacitor_updater/CapacitorUpdaterPlugin.java b/android/src/main/java/ee/forgr/capacitor_updater/CapacitorUpdaterPlugin.java index 963533ba..bcfceabc 100644 --- a/android/src/main/java/ee/forgr/capacitor_updater/CapacitorUpdaterPlugin.java +++ b/android/src/main/java/ee/forgr/capacitor_updater/CapacitorUpdaterPlugin.java @@ -223,9 +223,8 @@ public void notifyListeners(final String id, final JSObject res) { this.updateUrl = this.getConfig().getString("updateUrl", updateUrlDefault); this.autoUpdate = this.getConfig().getBoolean("autoUpdate", true); this.appReadyTimeout = this.getConfig().getInt("appReadyTimeout", 10000); - this.implementation.timeout = this.getConfig() - .getInt("responseTimeout", 20) * - 1000; + this.implementation.timeout = + this.getConfig().getInt("responseTimeout", 20) * 1000; boolean resetWhenUpdate = this.getConfig().getBoolean("resetWhenUpdate", true); diff --git a/bun.lockb b/bun.lockb index ef6c1840..1e92f982 100755 Binary files a/bun.lockb and b/bun.lockb differ