expo-secure-store 57.0.1 → 57.0.3

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/android/build.gradle +4 -2
  3. package/android/src/main/java/expo/modules/securestore/SecureStoreModule.kt +17 -16
  4. package/expo-module.config.json +1 -1
  5. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/{57.0.1/expo.modules.securestore-57.0.1-sources.jar → 57.0.3/expo.modules.securestore-57.0.3-sources.jar} +0 -0
  6. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3-sources.jar.md5 +1 -0
  7. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3-sources.jar.sha1 +1 -0
  8. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3-sources.jar.sha256 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3-sources.jar.sha512 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3.aar +0 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3.aar.md5 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3.aar.sha1 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3.aar.sha256 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3.aar.sha512 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/{57.0.1/expo.modules.securestore-57.0.1.module → 57.0.3/expo.modules.securestore-57.0.3.module} +22 -22
  16. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3.module.md5 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3.module.sha1 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3.module.sha256 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3.module.sha512 +1 -0
  20. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/{57.0.1/expo.modules.securestore-57.0.1.pom → 57.0.3/expo.modules.securestore-57.0.3.pom} +1 -1
  21. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3.pom.md5 +1 -0
  22. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3.pom.sha1 +1 -0
  23. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3.pom.sha256 +1 -0
  24. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.3/expo.modules.securestore-57.0.3.pom.sha512 +1 -0
  25. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/maven-metadata.xml +4 -4
  26. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/maven-metadata.xml.md5 +1 -1
  27. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/maven-metadata.xml.sha1 +1 -1
  28. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/maven-metadata.xml.sha256 +1 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/maven-metadata.xml.sha512 +1 -1
  30. package/package.json +3 -3
  31. package/plugin/tsconfig.tsbuildinfo +1 -1
  32. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1-sources.jar.md5 +0 -1
  33. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1-sources.jar.sha1 +0 -1
  34. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1-sources.jar.sha256 +0 -1
  35. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1-sources.jar.sha512 +0 -1
  36. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1.aar +0 -0
  37. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1.aar.md5 +0 -1
  38. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1.aar.sha1 +0 -1
  39. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1.aar.sha256 +0 -1
  40. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1.aar.sha512 +0 -1
  41. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1.module.md5 +0 -1
  42. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1.module.sha1 +0 -1
  43. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1.module.sha256 +0 -1
  44. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1.module.sha512 +0 -1
  45. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1.pom.md5 +0 -1
  46. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1.pom.sha1 +0 -1
  47. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1.pom.sha256 +0 -1
  48. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.1/expo.modules.securestore-57.0.1.pom.sha512 +0 -1
package/CHANGELOG.md CHANGED
@@ -10,6 +10,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 57.0.3 — 2026-09-01
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
17
+ ## 57.0.2 — 2026-08-26
18
+
19
+ ### 🐛 Bug fixes
20
+
21
+ - [Android] Fix `deleteItemAsync` resolving when a retried delete left the value on disk. ([#49151](https://github.com/expo/expo/pull/49151) by [@vonovak](https://github.com/vonovak))
22
+
13
23
  ## 57.0.1 — 2026-07-15
14
24
 
15
25
  _This version does not introduce any user-facing changes._
@@ -4,16 +4,18 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '57.0.1'
7
+ version = '57.0.3'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.securestore"
11
11
  defaultConfig {
12
12
  versionCode 17
13
- versionName '57.0.1'
13
+ versionName '57.0.3'
14
14
  }
15
15
  }
16
16
 
17
17
  dependencies {
18
18
  implementation "androidx.biometric:biometric:1.1.0"
19
+ testImplementation 'junit:junit:4.13.2'
20
+ testImplementation "org.robolectric:robolectric:4.16"
19
21
  }
@@ -241,22 +241,12 @@ open class SecureStoreModule : Module() {
241
241
  }
242
242
 
243
243
  private fun deleteItemImpl(key: String, options: SecureStoreOptions) {
244
- var success = true
245
- val prefs = getSharedPreferences()
246
- val keychainAwareKey = createKeychainAwareKey(key, options.keychainService)
247
- val legacyPrefs = PreferenceManager.getDefaultSharedPreferences(reactContext)
248
-
249
- if (prefs.contains(keychainAwareKey)) {
250
- success = prefs.edit().remove(keychainAwareKey).commit()
251
- }
252
-
253
- if (prefs.contains(key)) {
254
- success = prefs.edit().remove(key).commit() && success
255
- }
256
-
257
- if (legacyPrefs.contains(key)) {
258
- success = legacyPrefs.edit().remove(key).commit() && success
259
- }
244
+ val success = removeItem(
245
+ getSharedPreferences(),
246
+ PreferenceManager.getDefaultSharedPreferences(reactContext),
247
+ key,
248
+ createKeychainAwareKey(key, options.keychainService)
249
+ )
260
250
 
261
251
  if (!success) {
262
252
  throw DeleteException("Could not delete the item from SecureStore", key, options.keychainService)
@@ -387,3 +377,14 @@ open class SecureStoreModule : Module() {
387
377
  const val UNAUTHENTICATED_KEYSTORE_SUFFIX = "keystoreUnauthenticated"
388
378
  }
389
379
  }
380
+
381
+ internal fun removeItem(
382
+ prefs: SharedPreferences,
383
+ legacyPrefs: SharedPreferences,
384
+ key: String,
385
+ keychainAwareKey: String
386
+ ): Boolean {
387
+ val removedFromPrefs = prefs.edit().remove(keychainAwareKey).remove(key).commit()
388
+ val removedFromLegacyPrefs = legacyPrefs.edit().remove(key).commit()
389
+ return removedFromPrefs && removedFromLegacyPrefs
390
+ }
@@ -8,7 +8,7 @@
8
8
  "publication": {
9
9
  "groupId": "host.exp.exponent",
10
10
  "artifactId": "expo.modules.securestore",
11
- "version": "57.0.1",
11
+ "version": "57.0.3",
12
12
  "repository": "local-maven-repo"
13
13
  }
14
14
  }
@@ -0,0 +1 @@
1
+ 07a8736b2f81e6a4d447905eaf855d25f0298a0adb4b51398ba114ea84fa9e28
@@ -0,0 +1 @@
1
+ ec94de5c26d0b38a48a9b19f79f97ef2121ba707b9d9898a6d5957e660292b71164427af27e8e0731c027796b222320358f2ba08d833915d5092ac912e8afa2d
@@ -0,0 +1 @@
1
+ 376af238662aeaffed98c5230627d28145bde0fdf934c5f157a5c50a32d9a440
@@ -0,0 +1 @@
1
+ c0c009f805d9fa563ff4f0e4e5aca71700c191702315ea63a2f05a3de3bc9976c7e93b5331bea857d700ef2f1c00e5ab4ac97f208257ffa4fc467f6dd56cf390
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.securestore",
6
- "version": "57.0.1",
6
+ "version": "57.0.3",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -24,13 +24,13 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.securestore-57.0.1.aar",
28
- "url": "expo.modules.securestore-57.0.1.aar",
29
- "size": 81433,
30
- "sha512": "3664c9c0b0496524f08407fdf549eda49067a5cd726939f3f457d8be717824d9c2b681809fe46b29512b6351fce59015a83d5b99850bd227a8f36a2451ce9bc5",
31
- "sha256": "4eaf173cec03f8f99c98711b5fba13aa4f8e4e8b27a6327e7b24130c5c8d3f93",
32
- "sha1": "3972c92591c571fc7311c4454625ec3442e600fa",
33
- "md5": "bef47e55de71770b28b8b96bec6fd200"
27
+ "name": "expo.modules.securestore-57.0.3.aar",
28
+ "url": "expo.modules.securestore-57.0.3.aar",
29
+ "size": 82297,
30
+ "sha512": "c0c009f805d9fa563ff4f0e4e5aca71700c191702315ea63a2f05a3de3bc9976c7e93b5331bea857d700ef2f1c00e5ab4ac97f208257ffa4fc467f6dd56cf390",
31
+ "sha256": "376af238662aeaffed98c5230627d28145bde0fdf934c5f157a5c50a32d9a440",
32
+ "sha1": "7934b5955545bd8ddb041409b30d1cc9aabd54c3",
33
+ "md5": "e88d0d2cd67831f7ea53026d8d50034a"
34
34
  }
35
35
  ]
36
36
  },
@@ -74,13 +74,13 @@
74
74
  ],
75
75
  "files": [
76
76
  {
77
- "name": "expo.modules.securestore-57.0.1.aar",
78
- "url": "expo.modules.securestore-57.0.1.aar",
79
- "size": 81433,
80
- "sha512": "3664c9c0b0496524f08407fdf549eda49067a5cd726939f3f457d8be717824d9c2b681809fe46b29512b6351fce59015a83d5b99850bd227a8f36a2451ce9bc5",
81
- "sha256": "4eaf173cec03f8f99c98711b5fba13aa4f8e4e8b27a6327e7b24130c5c8d3f93",
82
- "sha1": "3972c92591c571fc7311c4454625ec3442e600fa",
83
- "md5": "bef47e55de71770b28b8b96bec6fd200"
77
+ "name": "expo.modules.securestore-57.0.3.aar",
78
+ "url": "expo.modules.securestore-57.0.3.aar",
79
+ "size": 82297,
80
+ "sha512": "c0c009f805d9fa563ff4f0e4e5aca71700c191702315ea63a2f05a3de3bc9976c7e93b5331bea857d700ef2f1c00e5ab4ac97f208257ffa4fc467f6dd56cf390",
81
+ "sha256": "376af238662aeaffed98c5230627d28145bde0fdf934c5f157a5c50a32d9a440",
82
+ "sha1": "7934b5955545bd8ddb041409b30d1cc9aabd54c3",
83
+ "md5": "e88d0d2cd67831f7ea53026d8d50034a"
84
84
  }
85
85
  ]
86
86
  },
@@ -94,13 +94,13 @@
94
94
  },
95
95
  "files": [
96
96
  {
97
- "name": "expo.modules.securestore-57.0.1-sources.jar",
98
- "url": "expo.modules.securestore-57.0.1-sources.jar",
99
- "size": 13512,
100
- "sha512": "0da275e402c642f674fa289f6163bc0c46ab6c06fa699fe582c1c79924f1e3509f57bb02df218e0b70be3f3113959e49d599d4f7373f014db861621a10b0f0ec",
101
- "sha256": "109047993cf873f3e663d70b239953be8c0fc109731da08d221c65725d6439b3",
102
- "sha1": "20809fee412edf1c69c8935ec3617a6daea5dbe7",
103
- "md5": "4ed3013cc1c7ddd9e250ddf561d83a4f"
97
+ "name": "expo.modules.securestore-57.0.3-sources.jar",
98
+ "url": "expo.modules.securestore-57.0.3-sources.jar",
99
+ "size": 13557,
100
+ "sha512": "ec94de5c26d0b38a48a9b19f79f97ef2121ba707b9d9898a6d5957e660292b71164427af27e8e0731c027796b222320358f2ba08d833915d5092ac912e8afa2d",
101
+ "sha256": "07a8736b2f81e6a4d447905eaf855d25f0298a0adb4b51398ba114ea84fa9e28",
102
+ "sha1": "3e4fd1458f321c6ba317cc998b935640a8bb6cf1",
103
+ "md5": "d2a5dd791861372591f405646123df20"
104
104
  }
105
105
  ]
106
106
  }
@@ -0,0 +1 @@
1
+ 017e899631508da7bd26fd3e52aff91a7c1c5a7532232a12203a3ae9ba347448
@@ -0,0 +1 @@
1
+ 755a6c2d3e7f183d011d825c2aa59e2bae01c6489f7189067414d08661119a060e7cc303d4cad75554e5b6b12688f71909da1ed381d71eb1d713f3bf81a250c2
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>host.exp.exponent</groupId>
11
11
  <artifactId>expo.modules.securestore</artifactId>
12
- <version>57.0.1</version>
12
+ <version>57.0.3</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.securestore</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ 28e5a94eed12e35595bc0be91de56b934aedf6ae43aa771ef62b6d6e4c2502d1
@@ -0,0 +1 @@
1
+ 32360fe6c3410203b05d04406137bd1fd7e1d07b833f636df947e60e5577be206f01ce70058041cfdd73741fc48cf64577a78d5a1bf27a1f8c04617fea6f7d0b
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.securestore</artifactId>
5
5
  <versioning>
6
- <latest>57.0.1</latest>
7
- <release>57.0.1</release>
6
+ <latest>57.0.3</latest>
7
+ <release>57.0.3</release>
8
8
  <versions>
9
- <version>57.0.1</version>
9
+ <version>57.0.3</version>
10
10
  </versions>
11
- <lastUpdated>20260715094903</lastUpdated>
11
+ <lastUpdated>20260901160714</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- f8c0d1c5a5c1b81f7b65bd0be543d0af
1
+ 2d750567ebfeb284bbbe9858db532e1f
@@ -1 +1 @@
1
- 0b1c34e82368410e3245e5bc1cfd1e92edbbd52c
1
+ 21c6e5d95366ae53b463f23ec1a8c0eb77e64a1d
@@ -1 +1 @@
1
- 83b1336209ed3cf0202caf376710da92861343eac35bab75da8c7d4570b0f279
1
+ 921ebf4d0becd9f40ebaaa2f6666623ddff84bbc8064557ac97e088ee67f2846
@@ -1 +1 @@
1
- 82f19ce1131e1ec21a754fe4133f17d40f3e41b962e129120b9d0d29e5427e116a16f49f460d89ba1124f922d97332a834a0eb81944d44bc6b9c2741d4d32a1f
1
+ 6f224510ec4a68f92aa1d9bd38c7f2eaf5264ad9d6c0d80dc998e7f90909202b0aec359e5c48d9f4b9332ca243d8b92ad47f1b94e1de0965f1088969bef79132
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-secure-store",
3
- "version": "57.0.1",
3
+ "version": "57.0.3",
4
4
  "description": "Provides a way to encrypt and securely store key-value pairs locally on the device.",
5
5
  "main": "build/SecureStore.js",
6
6
  "types": "build/SecureStore.d.ts",
@@ -30,12 +30,12 @@
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.14.0",
32
32
  "expo-module-scripts": "56.0.3",
33
- "expo": "57.0.6"
33
+ "expo": "57.0.19"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "expo": "*"
37
37
  },
38
- "gitHead": "b9503d06b8e130abfca1bc16f671dbefb41ad709",
38
+ "gitHead": "b76ecf192c5325793bcea31dd9bb8efd91f9ad7f",
39
39
  "scripts": {
40
40
  "build": "expo-module build",
41
41
  "clean": "expo-module clean",
@@ -1 +1 @@
1
- {"root":["./src/index.ts","./src/withsecurestore.ts"],"version":"6.0.3"}
1
+ {"root":["./src/withsecurestore.ts"],"version":"5.9.2"}
@@ -1 +0,0 @@
1
- 109047993cf873f3e663d70b239953be8c0fc109731da08d221c65725d6439b3
@@ -1 +0,0 @@
1
- 0da275e402c642f674fa289f6163bc0c46ab6c06fa699fe582c1c79924f1e3509f57bb02df218e0b70be3f3113959e49d599d4f7373f014db861621a10b0f0ec
@@ -1 +0,0 @@
1
- 4eaf173cec03f8f99c98711b5fba13aa4f8e4e8b27a6327e7b24130c5c8d3f93
@@ -1 +0,0 @@
1
- 3664c9c0b0496524f08407fdf549eda49067a5cd726939f3f457d8be717824d9c2b681809fe46b29512b6351fce59015a83d5b99850bd227a8f36a2451ce9bc5
@@ -1 +0,0 @@
1
- 63af61f130a4d5178f6c7398fab2ec3198c0cb5295cec689caa6c0bd6b939c8e
@@ -1 +0,0 @@
1
- 8b93962289ebae620a477ca6df1f2da205b4e880f043f0789fbee4aaafdd4dc07ca6d454187755e4c390d84a4ca22d7983a8457eb7b5f31d941a0b30922e348e
@@ -1 +0,0 @@
1
- a4f866c55e536e91c8cb06d1c09041d7e86f833e9cedebd68460a10bbc150daa
@@ -1 +0,0 @@
1
- 7dd702021876c534393f116f9cbe1fb4f52e3e25b85b1777643b2acee0523866590c0f737b8fc5f4253959aac6c616e0fd7c68d0413a2335878396a7b55dc277