diff --git a/ios/Podfile.lock b/ios/Podfile.lock index d472c1a..0d250b7 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -2032,6 +2032,34 @@ PODS: - SocketRocket - Yoga - react-native-vector-icons-ionicons (12.3.0) + - react-native-worklets-core (1.6.2): + - boost + - DoubleConversion + - fast_float + - fmt + - glog + - hermes-engine + - RCT-Folly + - RCT-Folly/Fabric + - RCTRequired + - RCTTypeSafety + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsi + - React-NativeModulesApple + - React-RCTFabric + - React-renderercss + - React-rendererdebug + - React-utils + - ReactCodegen + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - SocketRocket + - Yoga - React-NativeModulesApple (0.83.1): - boost - DoubleConversion @@ -2651,10 +2679,16 @@ PODS: - React-Core - VisionCamera (4.7.3): - VisionCamera/Core (= 4.7.3) + - VisionCamera/FrameProcessors (= 4.7.3) - VisionCamera/React (= 4.7.3) - VisionCamera/Core (4.7.3) + - VisionCamera/FrameProcessors (4.7.3): + - React + - React-callinvoker + - react-native-worklets-core - VisionCamera/React (4.7.3): - React-Core + - VisionCamera/FrameProcessors - Yoga (0.0.0) DEPENDENCIES: @@ -2705,6 +2739,7 @@ DEPENDENCIES: - react-native-biometrics (from `../node_modules/react-native-biometrics`) - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) - "react-native-vector-icons-ionicons (from `../node_modules/@react-native-vector-icons/ionicons`)" + - react-native-worklets-core (from `../node_modules/react-native-worklets-core`) - React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`) - React-networking (from `../node_modules/react-native/ReactCommon/react/networking`) - React-oscompat (from `../node_modules/react-native/ReactCommon/oscompat`) @@ -2855,6 +2890,8 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native-safe-area-context" react-native-vector-icons-ionicons: :path: "../node_modules/@react-native-vector-icons/ionicons" + react-native-worklets-core: + :path: "../node_modules/react-native-worklets-core" React-NativeModulesApple: :path: "../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios" React-networking: @@ -2991,6 +3028,7 @@ SPEC CHECKSUMS: react-native-biometrics: 43ed5b828646a7862dbc7945556446be00798e7d react-native-safe-area-context: c00143b4823773bba23f2f19f85663ae89ceb460 react-native-vector-icons-ionicons: ad07e944a092a5cf71b8b569d8f5ce2bf674c415 + react-native-worklets-core: 28a6e2121dcf62543b703e81bc4860e9a0150cee React-NativeModulesApple: a2c3d2cbec893956a5b3e4060322db2984fff75b React-networking: 3f98bd96893a294376e7e03730947a08d474c380 React-oscompat: 80166b66da22e7af7fad94474e9997bd52d4c8c6 @@ -3028,7 +3066,7 @@ SPEC CHECKSUMS: RNKeychain: a2c134ab796272c3d605e035ab727591000b30f3 SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748 vision-camera-face-detector: 121594b24889f2996de6cb233f6965e7900952cc - VisionCamera: 7187b3dac1ff3071234ead959ce311875748e14f + VisionCamera: 0044a94f7489f19e19d5938e97dfc36f4784af3c Yoga: 5456bb010373068fc92221140921b09d126b116e PODFILE CHECKSUM: e0882a7b99dc9c0e8d75aefd548a7e1553fa08f6 diff --git a/src/screen/GetPinAuthenticate.tsx b/src/screen/GetPinAuthenticate.tsx deleted file mode 100644 index 31334d0..0000000 --- a/src/screen/GetPinAuthenticate.tsx +++ /dev/null @@ -1,18 +0,0 @@ - -import ReactNativeBiometrics from 'react-native-biometrics'; - -const rnBiometrics = new ReactNativeBiometrics({ - allowDeviceCredentials: true, // IMPORTANT -}); - -const authenticateWithDevicePin = async () => { - const { success } = await rnBiometrics.simplePrompt({ - promptMessage: 'Authenticate using device lock', - }); - - if (success) { - console.log('User authenticated using device PIN / Pattern / FaceID'); - } else { - console.log('Authentication cancelled'); - } -}; diff --git a/src/screen/SetPinScreen.tsx b/src/screen/SetPinScreen.tsx deleted file mode 100644 index dae99c0..0000000 --- a/src/screen/SetPinScreen.tsx +++ /dev/null @@ -1,31 +0,0 @@ -import React, { useState } from 'react'; -import { View, TextInput, Text, TouchableOpacity } from 'react-native'; -import { savePin } from './authorised/AppPinService'; - -const SetPinScreen = ({ onDone }: any) => { - const [pin, setPin] = useState(''); - - const save = async () => { - await savePin(pin); - onDone(); - }; - - return ( - - Create App PIN - - - Save PIN - - - ); -}; - -export default SetPinScreen;