@capgo/capacitor-updater 7.7.0 → 7.7.2

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.
@@ -20,9 +20,11 @@
20
20
  # hide the original source file name.
21
21
  #-renamesourcefileattribute SourceFile
22
22
 
23
- # Necessary for Gson Deserialization
24
- -keepattributes *Annotation*
23
+ # Necessary for Gson Deserialization and generic type info
24
+ -keepattributes *Annotation*, Signature
25
25
 
26
- # Necessary for Gson Deserialization
27
- -keep class ee.forgr.capacitor_updater.DelayCondition { *; }
28
- -keepattributes Signature
26
+ # Preserve the entire Capgo plugin package
27
+ -keep class ee.forgr.capacitor_updater.** { *; }
28
+
29
+ # Keep all Guava reflect types (required for TypeToken)
30
+ -keep class com.google.common.reflect.** { *; }
@@ -60,7 +60,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
60
60
  private static final String statsUrlDefault = "https://plugin.capgo.app/stats";
61
61
  private static final String channelUrlDefault = "https://plugin.capgo.app/channel_self";
62
62
 
63
- private final String PLUGIN_VERSION = "7.7.0";
63
+ private final String PLUGIN_VERSION = "7.7.2";
64
64
  private static final String DELAY_CONDITION_PREFERENCES = "";
65
65
 
66
66
  private SharedPreferences.Editor editor;
@@ -50,7 +50,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin, CAPBridgedPlugin {
50
50
  CAPPluginMethod(name: "isShakeMenuEnabled", returnType: CAPPluginReturnPromise)
51
51
  ]
52
52
  public var implementation = CapgoUpdater()
53
- private let PLUGIN_VERSION: String = "7.7.0"
53
+ private let PLUGIN_VERSION: String = "7.7.2"
54
54
  static let updateUrlDefault = "https://plugin.capgo.app/updates"
55
55
  static let statsUrlDefault = "https://plugin.capgo.app/stats"
56
56
  static let channelUrlDefault = "https://plugin.capgo.app/channel_self"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-updater",
3
- "version": "7.7.0",
3
+ "version": "7.7.2",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Live update for capacitor apps",
6
6
  "main": "dist/plugin.cjs.js",