@capgo/capacitor-updater 5.3.12 → 5.3.14

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.
@@ -0,0 +1,28 @@
1
+ # Add project specific ProGuard rules here.
2
+ # You can control the set of applied configuration files using the
3
+ # proguardFiles setting in build.gradle.
4
+ #
5
+ # For more details, see
6
+ # http://developer.android.com/guide/developing/tools/proguard.html
7
+
8
+ # If your project uses WebView with JS, uncomment the following
9
+ # and specify the fully qualified class name to the JavaScript interface
10
+ # class:
11
+ #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12
+ # public *;
13
+ #}
14
+
15
+ # Uncomment this to preserve the line number information for
16
+ # debugging stack traces.
17
+ #-keepattributes SourceFile,LineNumberTable
18
+
19
+ # If you keep the line number information, uncomment this to
20
+ # hide the original source file name.
21
+ #-renamesourcefileattribute SourceFile
22
+
23
+ # Necessary for Gson Deserialization
24
+ -keepattributes *Annotation*
25
+
26
+ # Necessary for Gson Deserialization
27
+ -keep class ee.forgr.capacitor_updater.DelayCondition { *; }
28
+ -keepattributes Signature
@@ -6,6 +6,8 @@
6
6
 
7
7
  package ee.forgr.capacitor_updater;
8
8
 
9
+ import static android.content.Context.RECEIVER_NOT_EXPORTED;
10
+
9
11
  import android.app.Activity;
10
12
  import android.content.BroadcastReceiver;
11
13
  import android.content.Context;
@@ -257,7 +259,8 @@ public class CapacitorUpdater {
257
259
  public void onResume() {
258
260
  this.activity.registerReceiver(
259
261
  receiver,
260
- new IntentFilter(DownloadService.NOTIFICATION)
262
+ new IntentFilter(DownloadService.NOTIFICATION),
263
+ RECEIVER_NOT_EXPORTED
261
264
  );
262
265
  }
263
266
 
@@ -58,7 +58,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
58
58
  private static final String channelUrlDefault =
59
59
  "https://api.capgo.app/channel_self";
60
60
 
61
- private final String PLUGIN_VERSION = "5.3.12";
61
+ private final String PLUGIN_VERSION = "5.3.14";
62
62
  private static final String DELAY_CONDITION_PREFERENCES = "";
63
63
 
64
64
  private SharedPreferences.Editor editor;
@@ -15,7 +15,7 @@ import Version
15
15
  @objc(CapacitorUpdaterPlugin)
16
16
  public class CapacitorUpdaterPlugin: CAPPlugin {
17
17
  public var implementation = CapacitorUpdater()
18
- private let PLUGIN_VERSION: String = "5.3.12"
18
+ private let PLUGIN_VERSION: String = "5.3.14"
19
19
  static let updateUrlDefault = "https://api.capgo.app/updates"
20
20
  static let statsUrlDefault = "https://api.capgo.app/stats"
21
21
  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": "5.3.12",
3
+ "version": "5.3.14",
4
4
  "packageManager": "pnpm@8.8.0",
5
5
  "license": "MPL-2.0",
6
6
  "description": "Live update for capacitor apps",
@@ -10,6 +10,7 @@
10
10
  "unpkg": "dist/plugin.js",
11
11
  "files": [
12
12
  "android/src/main/",
13
+ "android/proguard-rules.pro",
13
14
  "android/build.gradle",
14
15
  "dist/",
15
16
  "ios/Plugin/",