expo-secure-store 57.0.0 → 57.0.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/android/build.gradle +2 -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.0/expo.modules.securestore-57.0.0-sources.jar → 57.0.2/expo.modules.securestore-57.0.2-sources.jar} +0 -0
  6. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2-sources.jar.md5 +1 -0
  7. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2-sources.jar.sha1 +1 -0
  8. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2-sources.jar.sha256 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2-sources.jar.sha512 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2.aar +0 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2.aar.md5 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2.aar.sha1 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2.aar.sha256 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2.aar.sha512 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/{57.0.0/expo.modules.securestore-57.0.0.module → 57.0.2/expo.modules.securestore-57.0.2.module} +22 -22
  16. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2.module.md5 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2.module.sha1 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2.module.sha256 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2.module.sha512 +1 -0
  20. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/{57.0.0/expo.modules.securestore-57.0.0.pom → 57.0.2/expo.modules.securestore-57.0.2.pom} +1 -1
  21. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2.pom.md5 +1 -0
  22. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2.pom.sha1 +1 -0
  23. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2.pom.sha256 +1 -0
  24. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.2/expo.modules.securestore-57.0.2.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.0/expo.modules.securestore-57.0.0-sources.jar.md5 +0 -1
  33. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0-sources.jar.sha1 +0 -1
  34. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0-sources.jar.sha256 +0 -1
  35. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0-sources.jar.sha512 +0 -1
  36. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0.aar +0 -0
  37. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0.aar.md5 +0 -1
  38. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0.aar.sha1 +0 -1
  39. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0.aar.sha256 +0 -1
  40. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0.aar.sha512 +0 -1
  41. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0.module.md5 +0 -1
  42. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0.module.sha1 +0 -1
  43. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0.module.sha256 +0 -1
  44. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0.module.sha512 +0 -1
  45. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0.pom.md5 +0 -1
  46. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0.pom.sha1 +0 -1
  47. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0.pom.sha256 +0 -1
  48. package/local-maven-repo/host/exp/exponent/expo.modules.securestore/57.0.0/expo.modules.securestore-57.0.0.pom.sha512 +0 -1
package/CHANGELOG.md CHANGED
@@ -10,6 +10,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 57.0.2 — 2026-08-26
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - [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))
18
+
19
+ ## 57.0.1 — 2026-07-15
20
+
21
+ _This version does not introduce any user-facing changes._
22
+
13
23
  ## 57.0.0 — 2026-06-25
14
24
 
15
25
  _This version does not introduce any user-facing changes._
@@ -4,13 +4,13 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '57.0.0'
7
+ version = '57.0.2'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.securestore"
11
11
  defaultConfig {
12
12
  versionCode 17
13
- versionName '57.0.0'
13
+ versionName '57.0.2'
14
14
  }
15
15
  }
16
16
 
@@ -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.0",
11
+ "version": "57.0.2",
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.0",
6
+ "version": "57.0.2",
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.0.aar",
28
- "url": "expo.modules.securestore-57.0.0.aar",
29
- "size": 81433,
30
- "sha512": "3664c9c0b0496524f08407fdf549eda49067a5cd726939f3f457d8be717824d9c2b681809fe46b29512b6351fce59015a83d5b99850bd227a8f36a2451ce9bc5",
31
- "sha256": "4eaf173cec03f8f99c98711b5fba13aa4f8e4e8b27a6327e7b24130c5c8d3f93",
32
- "sha1": "3972c92591c571fc7311c4454625ec3442e600fa",
33
- "md5": "bef47e55de71770b28b8b96bec6fd200"
27
+ "name": "expo.modules.securestore-57.0.2.aar",
28
+ "url": "expo.modules.securestore-57.0.2.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.0.aar",
78
- "url": "expo.modules.securestore-57.0.0.aar",
79
- "size": 81433,
80
- "sha512": "3664c9c0b0496524f08407fdf549eda49067a5cd726939f3f457d8be717824d9c2b681809fe46b29512b6351fce59015a83d5b99850bd227a8f36a2451ce9bc5",
81
- "sha256": "4eaf173cec03f8f99c98711b5fba13aa4f8e4e8b27a6327e7b24130c5c8d3f93",
82
- "sha1": "3972c92591c571fc7311c4454625ec3442e600fa",
83
- "md5": "bef47e55de71770b28b8b96bec6fd200"
77
+ "name": "expo.modules.securestore-57.0.2.aar",
78
+ "url": "expo.modules.securestore-57.0.2.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.0-sources.jar",
98
- "url": "expo.modules.securestore-57.0.0-sources.jar",
99
- "size": 13512,
100
- "sha512": "0da275e402c642f674fa289f6163bc0c46ab6c06fa699fe582c1c79924f1e3509f57bb02df218e0b70be3f3113959e49d599d4f7373f014db861621a10b0f0ec",
101
- "sha256": "109047993cf873f3e663d70b239953be8c0fc109731da08d221c65725d6439b3",
102
- "sha1": "20809fee412edf1c69c8935ec3617a6daea5dbe7",
103
- "md5": "4ed3013cc1c7ddd9e250ddf561d83a4f"
97
+ "name": "expo.modules.securestore-57.0.2-sources.jar",
98
+ "url": "expo.modules.securestore-57.0.2-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
+ 45c442b9c4ba484070f9f3dbfcd1530a1f2aad244e7313d130e9ab2358382040
@@ -0,0 +1 @@
1
+ 74b65154133124592a8cf282937f552d1367b773df1c929bb194ed76b597d2612c8f2e4fe346e55bf495078e18d23f28318439197e42012edfd7dddaa7ede923
@@ -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.0</version>
12
+ <version>57.0.2</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
+ 85dd6c30cc5425ed1a4799724d456e1703e867bcda10268f514212f9d6a163bf
@@ -0,0 +1 @@
1
+ 28397430862a99a0d583e43ccffbee6c546778d02e4c6c2553b06b42aa5de95aa6c10c9e1a12ad0648c97e98a24658fb5a1473d77e437250f53913eb6f17dcdb
@@ -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.0</latest>
7
- <release>57.0.0</release>
6
+ <latest>57.0.2</latest>
7
+ <release>57.0.2</release>
8
8
  <versions>
9
- <version>57.0.0</version>
9
+ <version>57.0.2</version>
10
10
  </versions>
11
- <lastUpdated>20260625191730</lastUpdated>
11
+ <lastUpdated>20260826195059</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- eca79b070922f784fa7a0d94d38df40c
1
+ 6021663dbc4ffd673dc262a3e4ad2fdb
@@ -1 +1 @@
1
- 54f9d9be786656f2e6d57b6f2e80bf8eb9bf3377
1
+ fbf8417e2cd5d37171bd8c9bde5bb69d49fadd10
@@ -1 +1 @@
1
- 80b3b05aeea9ed283b1f72b5c2f2ddb55cd82694767cb4eb954054210139bab0
1
+ 49d04bb9ee89c86cb4bcd0561ba8a508f19a4c21e06524d6029e940717399216
@@ -1 +1 @@
1
- 1db37b6dca1e6b867d3d7a0982b0a4ccc2788287b0956e4086bef4e6c7f554d75c3954fd341f0010b6ee90f5cfaa5b3415baab5d93e6ec52bc08938144db8cb0
1
+ 5a863cd5895251fa7dfb6d1fcd4576685e2935951cb31ac1de1e37d6f877579aca36c7e5a8b3928a826f897deabc6b777b8da3f8e06ae4aa867a2d0c9dc7a8fc
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-secure-store",
3
- "version": "57.0.0",
3
+ "version": "57.0.2",
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",
@@ -29,13 +29,13 @@
29
29
  "dependencies": {},
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.14.0",
32
- "expo": "57.0.0-preview.0",
32
+ "expo": "57.0.17",
33
33
  "expo-module-scripts": "56.0.3"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "expo": "*"
37
37
  },
38
- "gitHead": "e3eb896c5fdcd89e0cded98ff4e35c9db12cc9c0",
38
+ "gitHead": "c300d2cc60c9e684e64f48d9bc90ea18a571d01d",
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
- 0bd5216e549b7e77b88aeee466c95a0d3983d312dde40001fc630ee8677e118e
@@ -1 +0,0 @@
1
- e74045eb1dba1610dc54417b33864aa480c4574542af8d294e848913cdecf9e52cbb0503411fbc1ff45892e412a7168669db78e04a610218df7f76fd4a30f7a0
@@ -1 +0,0 @@
1
- 9c02b4c69ba39695375bdc7cface56de4c0f0f5e4632a2a11028390891aac8cc
@@ -1 +0,0 @@
1
- 2d37758ed340de049b9012833ab57ef08bac4525ab0c891bf4ff3cea94dbf216351ffddfd523e2fb914b7655a88b662f458b1d9961ba5b5439e0c64d59345250