expo-local-authentication 16.0.1-canary-20250407-10a9b42 → 16.0.1

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 (40) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/android/build.gradle +2 -2
  3. package/build/ExpoLocalAuthentication.web.d.ts.map +1 -1
  4. package/build/LocalAuthentication.js.map +1 -1
  5. package/expo-module.config.json +1 -1
  6. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/{16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.module → 16.0.1/expo.modules.localauthentication-16.0.1.module} +7 -7
  7. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1/expo.modules.localauthentication-16.0.1.module.md5 +1 -0
  8. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1/expo.modules.localauthentication-16.0.1.module.sha1 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1/expo.modules.localauthentication-16.0.1.module.sha256 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1/expo.modules.localauthentication-16.0.1.module.sha512 +1 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/{16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.pom → 16.0.1/expo.modules.localauthentication-16.0.1.pom} +1 -1
  12. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1/expo.modules.localauthentication-16.0.1.pom.md5 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1/expo.modules.localauthentication-16.0.1.pom.sha1 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1/expo.modules.localauthentication-16.0.1.pom.sha256 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1/expo.modules.localauthentication-16.0.1.pom.sha512 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/maven-metadata.xml +4 -4
  17. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/maven-metadata.xml.md5 +1 -1
  18. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/maven-metadata.xml.sha1 +1 -1
  19. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/maven-metadata.xml.sha256 +1 -1
  20. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/maven-metadata.xml.sha512 +1 -1
  21. package/package.json +5 -4
  22. package/plugin/build/withLocalAuthentication.d.ts +1 -1
  23. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.module.md5 +0 -1
  24. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.module.sha1 +0 -1
  25. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.module.sha256 +0 -1
  26. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.module.sha512 +0 -1
  27. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.pom.md5 +0 -1
  28. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.pom.sha1 +0 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.pom.sha256 +0 -1
  30. package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.pom.sha512 +0 -1
  31. /package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/{16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42-sources.jar → 16.0.1/expo.modules.localauthentication-16.0.1-sources.jar} +0 -0
  32. /package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/{16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42-sources.jar.md5 → 16.0.1/expo.modules.localauthentication-16.0.1-sources.jar.md5} +0 -0
  33. /package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/{16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42-sources.jar.sha1 → 16.0.1/expo.modules.localauthentication-16.0.1-sources.jar.sha1} +0 -0
  34. /package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/{16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42-sources.jar.sha256 → 16.0.1/expo.modules.localauthentication-16.0.1-sources.jar.sha256} +0 -0
  35. /package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/{16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42-sources.jar.sha512 → 16.0.1/expo.modules.localauthentication-16.0.1-sources.jar.sha512} +0 -0
  36. /package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/{16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.aar → 16.0.1/expo.modules.localauthentication-16.0.1.aar} +0 -0
  37. /package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/{16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.aar.md5 → 16.0.1/expo.modules.localauthentication-16.0.1.aar.md5} +0 -0
  38. /package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/{16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.aar.sha1 → 16.0.1/expo.modules.localauthentication-16.0.1.aar.sha1} +0 -0
  39. /package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/{16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.aar.sha256 → 16.0.1/expo.modules.localauthentication-16.0.1.aar.sha256} +0 -0
  40. /package/local-maven-repo/host/exp/exponent/expo.modules.localauthentication/{16.0.1-canary-20250407-10a9b42/expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.aar.sha512 → 16.0.1/expo.modules.localauthentication-16.0.1.aar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 16.0.1 — 2025-04-09
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 16.0.0 — 2025-04-04
14
18
 
15
19
  ### 🛠 Breaking changes
@@ -4,13 +4,13 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '16.0.1-canary-20250407-10a9b42'
7
+ version = '16.0.1'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.localauthentication"
11
11
  defaultConfig {
12
12
  versionCode 30
13
- versionName "16.0.1-canary-20250407-10a9b42"
13
+ versionName "16.0.1"
14
14
  }
15
15
  }
16
16
 
@@ -1 +1 @@
1
- {"version":3,"file":"ExpoLocalAuthentication.web.d.ts","sourceRoot":"","sources":["../src/ExpoLocalAuthentication.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;;wBAGpD,QAAQ,OAAO,CAAC;uBAGjB,QAAQ,OAAO,CAAC;6BAGV,QAAQ,aAAa,CAAC;yCAGV,QAAQ,kBAAkB,EAAE,CAAC;;AAV1E,wBAaE"}
1
+ {"version":3,"file":"ExpoLocalAuthentication.web.d.ts","sourceRoot":"","sources":["../src/ExpoLocalAuthentication.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;;wBAGpD,OAAO,CAAC,OAAO,CAAC;uBAGjB,OAAO,CAAC,OAAO,CAAC;6BAGV,OAAO,CAAC,aAAa,CAAC;yCAGV,OAAO,CAAC,kBAAkB,EAAE,CAAC;;AAV1E,wBAaE"}
@@ -1 +1 @@
1
- {"version":3,"file":"LocalAuthentication.js","sourceRoot":"","sources":["../src/LocalAuthentication.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,SAAS,MAAM,WAAW,CAAC;AAElC,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,kBAAkB,EAElB,aAAa,GAGd,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAEL,kBAAkB,EAElB,aAAa,GAGd,CAAC;AAEF,cAAc;AACd;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB;IACpC,IAAI,CAAC,uBAAuB,CAAC,gBAAgB,EAAE;QAC7C,MAAM,IAAI,mBAAmB,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAAC;KAChF;IACD,OAAO,MAAM,uBAAuB,CAAC,gBAAgB,EAAE,CAAC;AAC1D,CAAC;AAED,cAAc;AACd;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,iCAAiC;IACrD,IAAI,CAAC,uBAAuB,CAAC,iCAAiC,EAAE;QAC9D,MAAM,IAAI,mBAAmB,CAAC,2BAA2B,EAAE,mCAAmC,CAAC,CAAC;KACjG;IACD,OAAO,MAAM,uBAAuB,CAAC,iCAAiC,EAAE,CAAC;AAC3E,CAAC;AAED,cAAc;AACd;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe;IACnC,IAAI,CAAC,uBAAuB,CAAC,eAAe,EAAE;QAC5C,MAAM,IAAI,mBAAmB,CAAC,2BAA2B,EAAE,iBAAiB,CAAC,CAAC;KAC/E;IACD,OAAO,MAAM,uBAAuB,CAAC,eAAe,EAAE,CAAC;AACzD,CAAC;AAED,cAAc;AACd;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB;IACzC,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,EAAE;QAClD,MAAM,IAAI,mBAAmB,CAAC,2BAA2B,EAAE,uBAAuB,CAAC,CAAC;KACrF;IACD,OAAO,MAAM,uBAAuB,CAAC,qBAAqB,EAAE,CAAC;AAC/D,CAAC;AAED,cAAc;AACd;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACrC,UAAsC,EAAE;IAExC,IAAI,CAAC,uBAAuB,CAAC,iBAAiB,EAAE;QAC9C,MAAM,IAAI,mBAAmB,CAAC,2BAA2B,EAAE,mBAAmB,CAAC,CAAC;KACjF;IAED,IAAI,OAAO,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE;QAC3C,SAAS,CACP,OAAO,OAAO,CAAC,aAAa,KAAK,QAAQ,IAAI,OAAO,CAAC,aAAa,CAAC,MAAM,EACzE,6FAA6F,CAC9F,CAAC;KACH;IAED,MAAM,aAAa,GAAG,OAAO,CAAC,aAAa,IAAI,cAAc,CAAC;IAC9D,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,QAAQ,CAAC;IACpD,MAAM,MAAM,GAAG,MAAM,uBAAuB,CAAC,iBAAiB,CAAC;QAC7D,GAAG,OAAO;QACV,aAAa;QACb,WAAW;KACZ,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,cAAc;AACd;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,kBAAkB;IACtC,IAAI,CAAC,uBAAuB,CAAC,kBAAkB,EAAE;QAC/C,MAAM,IAAI,mBAAmB,CAAC,2BAA2B,EAAE,oBAAoB,CAAC,CAAC;KAClF;IACD,MAAM,uBAAuB,CAAC,kBAAkB,EAAE,CAAC;AACrD,CAAC","sourcesContent":["import { UnavailabilityError } from 'expo-modules-core';\nimport invariant from 'invariant';\n\nimport ExpoLocalAuthentication from './ExpoLocalAuthentication';\nimport {\n LocalAuthenticationOptions,\n AuthenticationType,\n LocalAuthenticationResult,\n SecurityLevel,\n BiometricsSecurityLevel,\n LocalAuthenticationError,\n} from './LocalAuthentication.types';\n\nexport {\n LocalAuthenticationOptions,\n AuthenticationType,\n LocalAuthenticationResult,\n SecurityLevel,\n BiometricsSecurityLevel,\n LocalAuthenticationError,\n};\n\n// @needsAudit\n/**\n * Determine whether a face or fingerprint scanner is available on the device.\n * @return Returns a promise which fulfils with a `boolean` value indicating whether a face or\n * fingerprint scanner is available on this device.\n */\nexport async function hasHardwareAsync(): Promise<boolean> {\n if (!ExpoLocalAuthentication.hasHardwareAsync) {\n throw new UnavailabilityError('expo-local-authentication', 'hasHardwareAsync');\n }\n return await ExpoLocalAuthentication.hasHardwareAsync();\n}\n\n// @needsAudit\n/**\n * Determine what kinds of authentications are available on the device.\n * @return Returns a promise which fulfils to an array containing [`AuthenticationType`s](#authenticationtype).\n *\n * Devices can support multiple authentication methods - i.e. `[1,2]` means the device supports both\n * fingerprint and facial recognition. If none are supported, this method returns an empty array.\n */\nexport async function supportedAuthenticationTypesAsync(): Promise<AuthenticationType[]> {\n if (!ExpoLocalAuthentication.supportedAuthenticationTypesAsync) {\n throw new UnavailabilityError('expo-local-authentication', 'supportedAuthenticationTypesAsync');\n }\n return await ExpoLocalAuthentication.supportedAuthenticationTypesAsync();\n}\n\n// @needsAudit\n/**\n * Determine whether the device has saved fingerprints or facial data to use for authentication.\n * @return Returns a promise which fulfils to `boolean` value indicating whether the device has\n * saved fingerprints or facial data for authentication.\n */\nexport async function isEnrolledAsync(): Promise<boolean> {\n if (!ExpoLocalAuthentication.isEnrolledAsync) {\n throw new UnavailabilityError('expo-local-authentication', 'isEnrolledAsync');\n }\n return await ExpoLocalAuthentication.isEnrolledAsync();\n}\n\n// @needsAudit\n/**\n * Determine what kind of authentication is enrolled on the device.\n * @return Returns a promise which fulfils with [`SecurityLevel`](#securitylevel).\n * > **Note:** On Android devices prior to M, `SECRET` can be returned if only the SIM lock has been\n * enrolled, which is not the method that [`authenticateAsync`](#localauthenticationauthenticateasyncoptions)\n * prompts.\n */\nexport async function getEnrolledLevelAsync(): Promise<SecurityLevel> {\n if (!ExpoLocalAuthentication.getEnrolledLevelAsync) {\n throw new UnavailabilityError('expo-local-authentication', 'getEnrolledLevelAsync');\n }\n return await ExpoLocalAuthentication.getEnrolledLevelAsync();\n}\n\n// @needsAudit\n/**\n * Attempts to authenticate via Fingerprint/TouchID (or FaceID if available on the device).\n * > **Note:** Apple requires apps which use FaceID to provide a description of why they use this API.\n * If you try to use FaceID on an iPhone with FaceID without providing `infoPlist.NSFaceIDUsageDescription`\n * in `app.json`, the module will authenticate using device passcode. For more information about\n * usage descriptions on iOS, see [permissions guide](/guides/permissions/#ios).\n * @param options\n * @return Returns a promise which fulfils with [`LocalAuthenticationResult`](#localauthenticationresult).\n */\nexport async function authenticateAsync(\n options: LocalAuthenticationOptions = {}\n): Promise<LocalAuthenticationResult> {\n if (!ExpoLocalAuthentication.authenticateAsync) {\n throw new UnavailabilityError('expo-local-authentication', 'authenticateAsync');\n }\n\n if (options.hasOwnProperty('promptMessage')) {\n invariant(\n typeof options.promptMessage === 'string' && options.promptMessage.length,\n 'LocalAuthentication.authenticateAsync : `options.promptMessage` must be a non-empty string.'\n );\n }\n\n const promptMessage = options.promptMessage || 'Authenticate';\n const cancelLabel = options.cancelLabel || 'Cancel';\n const result = await ExpoLocalAuthentication.authenticateAsync({\n ...options,\n promptMessage,\n cancelLabel,\n });\n\n return result;\n}\n\n// @needsAudit\n/**\n * Cancels authentication flow.\n * @platform android\n */\nexport async function cancelAuthenticate(): Promise<void> {\n if (!ExpoLocalAuthentication.cancelAuthenticate) {\n throw new UnavailabilityError('expo-local-authentication', 'cancelAuthenticate');\n }\n await ExpoLocalAuthentication.cancelAuthenticate();\n}\n"]}
1
+ {"version":3,"file":"LocalAuthentication.js","sourceRoot":"","sources":["../src/LocalAuthentication.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,SAAS,MAAM,WAAW,CAAC;AAElC,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,kBAAkB,EAElB,aAAa,GAGd,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAEL,kBAAkB,EAElB,aAAa,GAGd,CAAC;AAEF,cAAc;AACd;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB;IACpC,IAAI,CAAC,uBAAuB,CAAC,gBAAgB,EAAE,CAAC;QAC9C,MAAM,IAAI,mBAAmB,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAAC;IACjF,CAAC;IACD,OAAO,MAAM,uBAAuB,CAAC,gBAAgB,EAAE,CAAC;AAC1D,CAAC;AAED,cAAc;AACd;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,iCAAiC;IACrD,IAAI,CAAC,uBAAuB,CAAC,iCAAiC,EAAE,CAAC;QAC/D,MAAM,IAAI,mBAAmB,CAAC,2BAA2B,EAAE,mCAAmC,CAAC,CAAC;IAClG,CAAC;IACD,OAAO,MAAM,uBAAuB,CAAC,iCAAiC,EAAE,CAAC;AAC3E,CAAC;AAED,cAAc;AACd;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe;IACnC,IAAI,CAAC,uBAAuB,CAAC,eAAe,EAAE,CAAC;QAC7C,MAAM,IAAI,mBAAmB,CAAC,2BAA2B,EAAE,iBAAiB,CAAC,CAAC;IAChF,CAAC;IACD,OAAO,MAAM,uBAAuB,CAAC,eAAe,EAAE,CAAC;AACzD,CAAC;AAED,cAAc;AACd;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB;IACzC,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,EAAE,CAAC;QACnD,MAAM,IAAI,mBAAmB,CAAC,2BAA2B,EAAE,uBAAuB,CAAC,CAAC;IACtF,CAAC;IACD,OAAO,MAAM,uBAAuB,CAAC,qBAAqB,EAAE,CAAC;AAC/D,CAAC;AAED,cAAc;AACd;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACrC,UAAsC,EAAE;IAExC,IAAI,CAAC,uBAAuB,CAAC,iBAAiB,EAAE,CAAC;QAC/C,MAAM,IAAI,mBAAmB,CAAC,2BAA2B,EAAE,mBAAmB,CAAC,CAAC;IAClF,CAAC;IAED,IAAI,OAAO,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,CAAC;QAC5C,SAAS,CACP,OAAO,OAAO,CAAC,aAAa,KAAK,QAAQ,IAAI,OAAO,CAAC,aAAa,CAAC,MAAM,EACzE,6FAA6F,CAC9F,CAAC;IACJ,CAAC;IAED,MAAM,aAAa,GAAG,OAAO,CAAC,aAAa,IAAI,cAAc,CAAC;IAC9D,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,QAAQ,CAAC;IACpD,MAAM,MAAM,GAAG,MAAM,uBAAuB,CAAC,iBAAiB,CAAC;QAC7D,GAAG,OAAO;QACV,aAAa;QACb,WAAW;KACZ,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,cAAc;AACd;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,kBAAkB;IACtC,IAAI,CAAC,uBAAuB,CAAC,kBAAkB,EAAE,CAAC;QAChD,MAAM,IAAI,mBAAmB,CAAC,2BAA2B,EAAE,oBAAoB,CAAC,CAAC;IACnF,CAAC;IACD,MAAM,uBAAuB,CAAC,kBAAkB,EAAE,CAAC;AACrD,CAAC","sourcesContent":["import { UnavailabilityError } from 'expo-modules-core';\nimport invariant from 'invariant';\n\nimport ExpoLocalAuthentication from './ExpoLocalAuthentication';\nimport {\n LocalAuthenticationOptions,\n AuthenticationType,\n LocalAuthenticationResult,\n SecurityLevel,\n BiometricsSecurityLevel,\n LocalAuthenticationError,\n} from './LocalAuthentication.types';\n\nexport {\n LocalAuthenticationOptions,\n AuthenticationType,\n LocalAuthenticationResult,\n SecurityLevel,\n BiometricsSecurityLevel,\n LocalAuthenticationError,\n};\n\n// @needsAudit\n/**\n * Determine whether a face or fingerprint scanner is available on the device.\n * @return Returns a promise which fulfils with a `boolean` value indicating whether a face or\n * fingerprint scanner is available on this device.\n */\nexport async function hasHardwareAsync(): Promise<boolean> {\n if (!ExpoLocalAuthentication.hasHardwareAsync) {\n throw new UnavailabilityError('expo-local-authentication', 'hasHardwareAsync');\n }\n return await ExpoLocalAuthentication.hasHardwareAsync();\n}\n\n// @needsAudit\n/**\n * Determine what kinds of authentications are available on the device.\n * @return Returns a promise which fulfils to an array containing [`AuthenticationType`s](#authenticationtype).\n *\n * Devices can support multiple authentication methods - i.e. `[1,2]` means the device supports both\n * fingerprint and facial recognition. If none are supported, this method returns an empty array.\n */\nexport async function supportedAuthenticationTypesAsync(): Promise<AuthenticationType[]> {\n if (!ExpoLocalAuthentication.supportedAuthenticationTypesAsync) {\n throw new UnavailabilityError('expo-local-authentication', 'supportedAuthenticationTypesAsync');\n }\n return await ExpoLocalAuthentication.supportedAuthenticationTypesAsync();\n}\n\n// @needsAudit\n/**\n * Determine whether the device has saved fingerprints or facial data to use for authentication.\n * @return Returns a promise which fulfils to `boolean` value indicating whether the device has\n * saved fingerprints or facial data for authentication.\n */\nexport async function isEnrolledAsync(): Promise<boolean> {\n if (!ExpoLocalAuthentication.isEnrolledAsync) {\n throw new UnavailabilityError('expo-local-authentication', 'isEnrolledAsync');\n }\n return await ExpoLocalAuthentication.isEnrolledAsync();\n}\n\n// @needsAudit\n/**\n * Determine what kind of authentication is enrolled on the device.\n * @return Returns a promise which fulfils with [`SecurityLevel`](#securitylevel).\n * > **Note:** On Android devices prior to M, `SECRET` can be returned if only the SIM lock has been\n * enrolled, which is not the method that [`authenticateAsync`](#localauthenticationauthenticateasyncoptions)\n * prompts.\n */\nexport async function getEnrolledLevelAsync(): Promise<SecurityLevel> {\n if (!ExpoLocalAuthentication.getEnrolledLevelAsync) {\n throw new UnavailabilityError('expo-local-authentication', 'getEnrolledLevelAsync');\n }\n return await ExpoLocalAuthentication.getEnrolledLevelAsync();\n}\n\n// @needsAudit\n/**\n * Attempts to authenticate via Fingerprint/TouchID (or FaceID if available on the device).\n * > **Note:** Apple requires apps which use FaceID to provide a description of why they use this API.\n * If you try to use FaceID on an iPhone with FaceID without providing `infoPlist.NSFaceIDUsageDescription`\n * in `app.json`, the module will authenticate using device passcode. For more information about\n * usage descriptions on iOS, see [permissions guide](/guides/permissions/#ios).\n * @param options\n * @return Returns a promise which fulfils with [`LocalAuthenticationResult`](#localauthenticationresult).\n */\nexport async function authenticateAsync(\n options: LocalAuthenticationOptions = {}\n): Promise<LocalAuthenticationResult> {\n if (!ExpoLocalAuthentication.authenticateAsync) {\n throw new UnavailabilityError('expo-local-authentication', 'authenticateAsync');\n }\n\n if (options.hasOwnProperty('promptMessage')) {\n invariant(\n typeof options.promptMessage === 'string' && options.promptMessage.length,\n 'LocalAuthentication.authenticateAsync : `options.promptMessage` must be a non-empty string.'\n );\n }\n\n const promptMessage = options.promptMessage || 'Authenticate';\n const cancelLabel = options.cancelLabel || 'Cancel';\n const result = await ExpoLocalAuthentication.authenticateAsync({\n ...options,\n promptMessage,\n cancelLabel,\n });\n\n return result;\n}\n\n// @needsAudit\n/**\n * Cancels authentication flow.\n * @platform android\n */\nexport async function cancelAuthenticate(): Promise<void> {\n if (!ExpoLocalAuthentication.cancelAuthenticate) {\n throw new UnavailabilityError('expo-local-authentication', 'cancelAuthenticate');\n }\n await ExpoLocalAuthentication.cancelAuthenticate();\n}\n"]}
@@ -8,7 +8,7 @@
8
8
  "publication": {
9
9
  "groupId": "host.exp.exponent",
10
10
  "artifactId": "expo.modules.localauthentication",
11
- "version": "16.0.1-canary-20250407-10a9b42",
11
+ "version": "16.0.1",
12
12
  "repository": "local-maven-repo"
13
13
  }
14
14
  }
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.localauthentication",
6
- "version": "16.0.1-canary-20250407-10a9b42",
6
+ "version": "16.0.1",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.aar",
28
- "url": "expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.aar",
27
+ "name": "expo.modules.localauthentication-16.0.1.aar",
28
+ "url": "expo.modules.localauthentication-16.0.1.aar",
29
29
  "size": 31840,
30
30
  "sha512": "ed76681e5c8225b1d7e608dd4d952c79ca9890355d819810f1a537ddb14f33d82d46d2de7180ef2fd853f904e5c9e42ebc7d1e4c15ee98b0450ab4f49e52c206",
31
31
  "sha256": "6c61c8760a7cc755d381805a380bb3b1eca3d44a17184c928ec972bf403a3bf5",
@@ -60,8 +60,8 @@
60
60
  ],
61
61
  "files": [
62
62
  {
63
- "name": "expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.aar",
64
- "url": "expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42.aar",
63
+ "name": "expo.modules.localauthentication-16.0.1.aar",
64
+ "url": "expo.modules.localauthentication-16.0.1.aar",
65
65
  "size": 31840,
66
66
  "sha512": "ed76681e5c8225b1d7e608dd4d952c79ca9890355d819810f1a537ddb14f33d82d46d2de7180ef2fd853f904e5c9e42ebc7d1e4c15ee98b0450ab4f49e52c206",
67
67
  "sha256": "6c61c8760a7cc755d381805a380bb3b1eca3d44a17184c928ec972bf403a3bf5",
@@ -80,8 +80,8 @@
80
80
  },
81
81
  "files": [
82
82
  {
83
- "name": "expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42-sources.jar",
84
- "url": "expo.modules.localauthentication-16.0.1-canary-20250407-10a9b42-sources.jar",
83
+ "name": "expo.modules.localauthentication-16.0.1-sources.jar",
84
+ "url": "expo.modules.localauthentication-16.0.1-sources.jar",
85
85
  "size": 5166,
86
86
  "sha512": "166fecd9c7770afe8509f91eb300a3daf9d16f75183e1f2eec4b7bffec5022ab27be48971ced9ee7e32c84aea0a29ff4aefe47f3411cd75413931942e664a7b2",
87
87
  "sha256": "1a8349cd9f7cd5879e0eebf9f51944ceec14348348d1e77ed5971b98d4b3bc14",
@@ -0,0 +1 @@
1
+ 91c46051f556424a71507a227861ebd4c8ec9b4c3ae7c32f4dd8ab8d15866bfd
@@ -0,0 +1 @@
1
+ dedbe4bad031f55109e55f1be1944003efe3c3e42ae965da423bb0960b5a62d4676f4762c430cb6ccf9b855ce7b71025ddbfee9c5be83751fe8fdf4c6f11b69a
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>host.exp.exponent</groupId>
11
11
  <artifactId>expo.modules.localauthentication</artifactId>
12
- <version>16.0.1-canary-20250407-10a9b42</version>
12
+ <version>16.0.1</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.localauthentication</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ edd77ebca62f0cf7baeceba5c0e8bdec46e11f61bb1686f2d83592c954bc950b
@@ -0,0 +1 @@
1
+ bfacb0a7d15b7090ff780c439c8286d7c852664dbcda26e6767e498c50ddae66477edd66b0b0c9e7c1a8cfd0f38bf6b800d74df1fea10d370c60a3145ff7808e
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.localauthentication</artifactId>
5
5
  <versioning>
6
- <latest>16.0.1-canary-20250407-10a9b42</latest>
7
- <release>16.0.1-canary-20250407-10a9b42</release>
6
+ <latest>16.0.1</latest>
7
+ <release>16.0.1</release>
8
8
  <versions>
9
- <version>16.0.1-canary-20250407-10a9b42</version>
9
+ <version>16.0.1</version>
10
10
  </versions>
11
- <lastUpdated>20250407111646</lastUpdated>
11
+ <lastUpdated>20250409202806</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 69a44778698f3204f15abe12e927462f
1
+ 1265951ea9b76c8f52ba0b9b0db74c54
@@ -1 +1 @@
1
- 88f9d57d015f71f78d1435bd1ebd9ea281eb3944
1
+ 105145133c164911f8c885afef5b78782dc2f64f
@@ -1 +1 @@
1
- cbe7e5830facdda69609ccf413f6623f299e58acb8772a62e19888d75956efa0
1
+ 2c9fa3fae066add643df7b2d5f2a4d0bafa6e81d9068f7fde54f7fc02bf90805
@@ -1 +1 @@
1
- 2af9c562daecde36a1968faf86e8d3b15a1115aabf8e663052d49c0748802277eb0dbf802917d17f7cdb22c804c381eb300088307bd6b4557a8b060f2161e4da
1
+ 33477fa923666b7ae6ceb628ced2f8a33b4284f195e24c77512b1f690631dfa4b727f4bf2eb196ee693ceb447b28adeab8a50ed8c86477c261b49198bbf59b90
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-local-authentication",
3
- "version": "16.0.1-canary-20250407-10a9b42",
3
+ "version": "16.0.1",
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,10 @@
41
41
  "invariant": "^2.2.4"
42
42
  },
43
43
  "devDependencies": {
44
- "expo-module-scripts": "4.1.1-canary-20250407-10a9b42"
44
+ "expo-module-scripts": "^4.1.1"
45
45
  },
46
46
  "peerDependencies": {
47
- "expo": "53.0.0-canary-20250407-10a9b42"
48
- }
47
+ "expo": "*"
48
+ },
49
+ "gitHead": "1914bb35d23af23078da37e70988261844436505"
49
50
  }
@@ -1,5 +1,5 @@
1
1
  import { ConfigPlugin } from 'expo/config-plugins';
2
2
  declare const _default: ConfigPlugin<void | {
3
- faceIDPermission?: string | false | undefined;
3
+ faceIDPermission?: string | false;
4
4
  }>;
5
5
  export default _default;
@@ -1 +0,0 @@
1
- 36ab401a38c71aae14b727b7f4bf9fa0faa286f7773547a726ace3e4911b97c76efa464a30d1e748f2243191eac5030d2b542b60a4c62c744c6f3406dbe943c1
@@ -1 +0,0 @@
1
- b52ca002449af50507599ac15cb03c8aa0b46fad6f422019ebfffcd0a83ad9a970544f0a9fc06c635af7406f1452e5e0c276f70eb6cc211cb73000d8a58e1f50