expo-secure-store 14.0.0-canary-20240904-69100c1 → 14.0.0-canary-20240912-1059f85

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.
package/CHANGELOG.md CHANGED
@@ -9,6 +9,7 @@
9
9
  ### 🎉 New features
10
10
 
11
11
  - [Android] Add a config plugin for configuring the Android backup system. ([#29944](https://github.com/expo/expo/pull/29944) by [@behenate](https://github.com/behenate))
12
+ - Add Apple TV support. ([#31374](https://github.com/expo/expo/pull/31374) by [@douglowder](https://github.com/douglowder))
12
13
 
13
14
  ### 🐛 Bug fixes
14
15
 
@@ -1,6 +1,6 @@
1
1
  {
2
- "platforms": ["ios", "android"],
3
- "ios": {
2
+ "platforms": ["apple", "android"],
3
+ "apple": {
4
4
  "modules": ["SecureStoreModule"]
5
5
  },
6
6
  "android": {
@@ -11,7 +11,8 @@ Pod::Spec.new do |s|
11
11
  s.author = package['author']
12
12
  s.homepage = package['homepage']
13
13
  s.platforms = {
14
- :ios => '15.1'
14
+ :ios => '15.1',
15
+ :tvos => '15.1',
15
16
  }
16
17
  s.swift_version = '5.4'
17
18
  s.source = { git: 'https://github.com/expo/expo.git' }
@@ -1,5 +1,7 @@
1
1
  import ExpoModulesCore
2
+ #if !os(tvOS)
2
3
  import LocalAuthentication
4
+ #endif
3
5
  import Security
4
6
 
5
7
  public final class SecureStoreModule: Module {
@@ -51,6 +53,9 @@ public final class SecureStoreModule: Module {
51
53
  }
52
54
 
53
55
  Function("canUseBiometricAuthentication") {() -> Bool in
56
+ #if os(tvOS)
57
+ return false
58
+ #else
54
59
  let context = LAContext()
55
60
  var error: NSError?
56
61
  let isBiometricsSupported: Bool = context.canEvaluatePolicy(LAPolicy.deviceOwnerAuthenticationWithBiometrics, error: &error)
@@ -59,6 +64,7 @@ public final class SecureStoreModule: Module {
59
64
  return false
60
65
  }
61
66
  return isBiometricsSupported
67
+ #endif
62
68
  }
63
69
  }
64
70
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-secure-store",
3
- "version": "14.0.0-canary-20240904-69100c1",
3
+ "version": "14.0.0-canary-20240912-1059f85",
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",
@@ -37,10 +37,10 @@
37
37
  },
38
38
  "dependencies": {},
39
39
  "devDependencies": {
40
- "expo-module-scripts": "3.6.0-canary-20240904-69100c1"
40
+ "expo-module-scripts": "3.6.0-canary-20240912-1059f85"
41
41
  },
42
42
  "peerDependencies": {
43
- "expo": "*"
43
+ "expo": "52.0.0-canary-20240912-1059f85"
44
44
  },
45
- "gitHead": "69100c1b099b707057c052ed8096e06cb208aca1"
45
+ "gitHead": "1059f8556047a3e02fa319e8b2459274571f4e6f"
46
46
  }