UNPKG

react-native-app-data-sharing

Version:

This React Native package facilitates seamless and secure data sharing between applications on the same device.

50 lines (45 loc) 2.04 kB
"use strict"; // Modified from react-native-keychain (https://github.com/oblador/react-native-keychain) /** * Enum representing when a keychain item is accessible. */ export let ACCESSIBLE = /*#__PURE__*/function (ACCESSIBLE) { ACCESSIBLE["WHEN_UNLOCKED"] = "AccessibleWhenUnlocked"; ACCESSIBLE["AFTER_FIRST_UNLOCK"] = "AccessibleAfterFirstUnlock"; ACCESSIBLE["ALWAYS"] = "AccessibleAlways"; ACCESSIBLE["WHEN_PASSCODE_SET_THIS_DEVICE_ONLY"] = "AccessibleWhenPasscodeSetThisDeviceOnly"; ACCESSIBLE["WHEN_UNLOCKED_THIS_DEVICE_ONLY"] = "AccessibleWhenUnlockedThisDeviceOnly"; ACCESSIBLE["AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY"] = "AccessibleAfterFirstUnlockThisDeviceOnly"; return ACCESSIBLE; }({}); /** * Enum representing access control options. */ export let ACCESS_CONTROL = /*#__PURE__*/function (ACCESS_CONTROL) { ACCESS_CONTROL["USER_PRESENCE"] = "UserPresence"; ACCESS_CONTROL["BIOMETRY_ANY"] = "BiometryAny"; ACCESS_CONTROL["BIOMETRY_CURRENT_SET"] = "BiometryCurrentSet"; ACCESS_CONTROL["DEVICE_PASSCODE"] = "DevicePasscode"; ACCESS_CONTROL["APPLICATION_PASSWORD"] = "ApplicationPassword"; ACCESS_CONTROL["BIOMETRY_ANY_OR_DEVICE_PASSCODE"] = "BiometryAnyOrDevicePasscode"; ACCESS_CONTROL["BIOMETRY_CURRENT_SET_OR_DEVICE_PASSCODE"] = "BiometryCurrentSetOrDevicePasscode"; return ACCESS_CONTROL; }({}); /** * Enum representing authentication types. */ export let AUTHENTICATION_TYPE = /*#__PURE__*/function (AUTHENTICATION_TYPE) { AUTHENTICATION_TYPE["DEVICE_PASSCODE_OR_BIOMETRICS"] = "AuthenticationWithBiometricsDevicePasscode"; AUTHENTICATION_TYPE["BIOMETRICS"] = "AuthenticationWithBiometrics"; return AUTHENTICATION_TYPE; }({}); /** * Enum representing types of biometric authentication supported by the device. */ export let BIOMETRY_TYPE = /*#__PURE__*/function (BIOMETRY_TYPE) { BIOMETRY_TYPE["TOUCH_ID"] = "TouchID"; BIOMETRY_TYPE["FACE_ID"] = "FaceID"; BIOMETRY_TYPE["OPTIC_ID"] = "OpticID"; return BIOMETRY_TYPE; }({}); //# sourceMappingURL=DataSharingEnums.ios.js.map