expo-local-authentication 15.0.3-canary-20250122-166c2cb → 15.0.3-canary-20250131-5c4e588

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
@@ -10,6 +10,9 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ - [Android] Started using expo modules gradle plugin. ([#34176](https://github.com/expo/expo/pull/34176) by [@lukmccall](https://github.com/lukmccall))
14
+ - [apple] Migrate remaining `expo-module.config.json` to unified platform syntax. ([#34445](https://github.com/expo/expo/pull/34445) by [@reichhartd](https://github.com/reichhartd))
15
+
13
16
  ## 15.0.1 — 2024-10-22
14
17
 
15
18
  _This version does not introduce any user-facing changes._
@@ -1,15 +1,27 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
+ def useLegacyExpoModulesCorePlugin = {
4
+ def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
5
+ apply from: expoModulesCorePlugin
6
+ applyKotlinExpoModulesCorePlugin()
7
+ useCoreDependencies()
8
+ useDefaultAndroidSdkVersions()
9
+ useExpoPublishing()
10
+ }
11
+
12
+ try {
13
+ apply plugin: 'expo-module-gradle-plugin'
14
+ } catch (e) {
15
+ if (!e instanceof UnknownPluginException) {
16
+ throw e
17
+ }
18
+
19
+ useLegacyExpoModulesCorePlugin()
20
+ }
21
+
3
22
  group = 'host.exp.exponent'
4
23
  version = '15.0.1'
5
24
 
6
- def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
7
- apply from: expoModulesCorePlugin
8
- applyKotlinExpoModulesCorePlugin()
9
- useCoreDependencies()
10
- useDefaultAndroidSdkVersions()
11
- useExpoPublishing()
12
-
13
25
  android {
14
26
  namespace "expo.modules.localauthentication"
15
27
  defaultConfig {
@@ -1,5 +1,4 @@
1
1
  {
2
- "name": "expo-local-authentication",
3
2
  "platforms": ["apple", "android"],
4
3
  "apple": {
5
4
  "modules": ["LocalAuthenticationModule"]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-local-authentication",
3
- "version": "15.0.3-canary-20250122-166c2cb",
3
+ "version": "15.0.3-canary-20250131-5c4e588",
4
4
  "description": "Provides an API for FaceID and TouchID (iOS) or the Fingerprint API (Android) to authenticate the user with a face or fingerprint scan.",
5
5
  "main": "build/LocalAuthentication.js",
6
6
  "types": "build/LocalAuthentication.d.ts",
@@ -41,9 +41,9 @@
41
41
  "invariant": "^2.2.4"
42
42
  },
43
43
  "devDependencies": {
44
- "expo-module-scripts": "4.0.4-canary-20250122-166c2cb"
44
+ "expo-module-scripts": "4.0.4-canary-20250131-5c4e588"
45
45
  },
46
46
  "peerDependencies": {
47
- "expo": "53.0.0-canary-20250122-166c2cb"
47
+ "expo": "53.0.0-canary-20250131-5c4e588"
48
48
  }
49
49
  }