@capgo/capacitor-updater 7.39.0 → 7.40.0

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.
@@ -8,7 +8,6 @@ package ee.forgr.capacitor_updater;
8
8
 
9
9
  import android.content.Context;
10
10
  import android.content.SharedPreferences;
11
- import android.os.Build;
12
11
  import android.security.keystore.KeyGenParameterSpec;
13
12
  import android.security.keystore.KeyProperties;
14
13
  import java.io.IOException;
@@ -56,11 +55,6 @@ public class DeviceIdHelper {
56
55
  * @return Device ID as a lowercase UUID string
57
56
  */
58
57
  public static String getOrCreateDeviceId(Context context, SharedPreferences legacyPrefs) {
59
- // API 23+ required for Android Keystore
60
- if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
61
- return getFallbackDeviceId(legacyPrefs);
62
- }
63
-
64
58
  try {
65
59
  // Try to get device ID from Keystore storage
66
60
  String deviceId = getDeviceIdFromKeystore(context);