From 9b9472162eedbb3731a990467229acc3fc19c200 Mon Sep 17 00:00:00 2001 From: mansi-dev Date: Tue, 27 Jan 2026 23:20:10 +0530 Subject: [PATCH] refactor: rename package to RNAuthentication and update dependencies feat: add postinstall script for patch-package fix: update react-native-biometrics to support device credentials refactor: remove FaceAuth, Home, LockScreen, Managelock, and related auth files chore: update TypeScript configuration for React Native --- App.tsx | 183 +- HomeScreen.tsx | 10 + LockScreen.tsx | 89 + README.md | 35 + android/app/build.gradle | 8 +- android/app/src/main/AndroidManifest.xml | 3 + .../MainActivity.kt | 4 +- .../MainApplication.kt | 2 +- android/app/src/main/res/values/strings.xml | 2 +- android/settings.gradle | 2 +- app.json | 4 +- babel.config.js | 3 - docs/IOS_BIOMETRICS.md | 21 - index.js | 2 +- ios/Podfile | 2 +- ios/Podfile.lock | 157 +- .../project.pbxproj | 84 +- .../xcschemes/RNAuthentication.xcscheme} | 24 +- .../contents.xcworkspacedata | 2 +- .../AppDelegate.swift | 2 +- .../AppIcon.appiconset/Contents.json | 0 .../Images.xcassets/Contents.json | 0 .../Info.plist | 4 +- .../LaunchScreen.storyboard | 2 +- .../PrivacyInfo.xcprivacy | 18 +- package-lock.json | 1523 ++++++++++------- package.json | 19 +- patches/react-native-biometrics+3.0.1.patch | 56 + src/screen/FaceAuth.tsx | 79 - src/screen/Home.tsx | 106 -- src/screen/LockScreen.tsx | 70 - src/screen/Managelock.tsx | 38 - src/screen/authorised/AppPinService.ts | 20 - src/screen/authorised/AuthManager.ts | 21 - src/screen/authorised/AuthScreen.tsx | 35 - src/screen/authorised/deviceAuth.ts | 40 - tsconfig.json | 1 + 37 files changed, 1184 insertions(+), 1487 deletions(-) create mode 100644 HomeScreen.tsx create mode 100644 LockScreen.tsx rename android/app/src/main/java/com/{authenticationsdk => rnauthentication}/MainActivity.kt (88%) rename android/app/src/main/java/com/{authenticationsdk => rnauthentication}/MainApplication.kt (96%) delete mode 100644 docs/IOS_BIOMETRICS.md rename ios/{authenticationsdk.xcodeproj => RNAuthentication.xcodeproj}/project.pbxproj (79%) rename ios/{authenticationsdk.xcodeproj/xcshareddata/xcschemes/authenticationsdk.xcscheme => RNAuthentication.xcodeproj/xcshareddata/xcschemes/RNAuthentication.xcscheme} (78%) rename ios/{authenticationsdk.xcworkspace => RNAuthentication.xcworkspace}/contents.xcworkspacedata (77%) rename ios/{authenticationsdk => RNAuthentication}/AppDelegate.swift (96%) rename ios/{authenticationsdk => RNAuthentication}/Images.xcassets/AppIcon.appiconset/Contents.json (100%) rename ios/{authenticationsdk => RNAuthentication}/Images.xcassets/Contents.json (100%) rename ios/{authenticationsdk => RNAuthentication}/Info.plist (91%) rename ios/{authenticationsdk => RNAuthentication}/LaunchScreen.storyboard (94%) rename ios/{authenticationsdk => RNAuthentication}/PrivacyInfo.xcprivacy (94%) create mode 100644 patches/react-native-biometrics+3.0.1.patch delete mode 100644 src/screen/FaceAuth.tsx delete mode 100644 src/screen/Home.tsx delete mode 100644 src/screen/LockScreen.tsx delete mode 100644 src/screen/Managelock.tsx delete mode 100644 src/screen/authorised/AppPinService.ts delete mode 100644 src/screen/authorised/AuthManager.ts delete mode 100644 src/screen/authorised/AuthScreen.tsx delete mode 100644 src/screen/authorised/deviceAuth.ts diff --git a/App.tsx b/App.tsx index 49545e5..8797b9e 100644 --- a/App.tsx +++ b/App.tsx @@ -1,166 +1,25 @@ import React, { useState } from 'react'; -import { - View, - Text, - StyleSheet, - TouchableOpacity, - SafeAreaView, -} from 'react-native'; -import Ionicons from '@react-native-vector-icons/ionicons'; +import { NavigationContainer } from '@react-navigation/native'; +import { createNativeStackNavigator } from '@react-navigation/native-stack'; +import HomeScreen from './HomeScreen'; +import LockScreen from './LockScreen'; -const PIN_LENGTH = 4; +const Stack = createNativeStackNavigator(); -const App: React.FC = () => { - const [pin, setPin] = useState(''); +export default function App() { + const [unlocked, setUnlocked] = useState(false); - const handlePress = (value: string) => { - if (pin.length < PIN_LENGTH) { - setPin(pin + value); - } - }; - - const handleDelete = () => { - setPin(pin.slice(0, -1)); - }; - - return ( - - Verify Identity - - Use PIN, Fingerprint or Face ID - - - {/* PIN DOTS */} - - {Array.from({ length: PIN_LENGTH }).map((_, i) => ( - i && styles.pinDotFilled, - ]} - /> - ))} - - - {/* BIOMETRIC OPTIONS */} - - - - Fingerprint - - - - - Face ID - - - - {/* KEYPAD */} - - {[1, 2, 3, 4, 5, 6, 7, 8, 9, '', 0, 'del'].map((item, index) => { - if (item === '') { - return ; - } - - if (item === 'del') { - return ( - - - - ); - } - - return ( - handlePress(item.toString())} - > - {item} - - ); - })} - - - ); - -}; -const styles = StyleSheet.create({ - container: { - flex: 1, - backgroundColor: '#F8FAFF', - alignItems: 'center', - paddingHorizontal: 20, - }, - title: { - fontSize: 24, - fontWeight: '700', - marginTop: 40, - color: '#111827', - }, - subtitle: { - fontSize: 14, - color: '#6B7280', - marginTop: 6, - }, - - pinRow: { - flexDirection: 'row', - marginVertical: 28, - }, - pinDot: { - width: 14, - height: 14, - borderRadius: 7, - borderWidth: 1.5, - borderColor: '#2563EB', - marginHorizontal: 8, - }, - pinDotFilled: { - backgroundColor: '#2563EB', - }, - - bioRow: { - flexDirection: 'row', - marginBottom: 30, - }, - bioBtn: { - alignItems: 'center', - marginHorizontal: 30, - }, - bioText: { - marginTop: 6, - fontSize: 12, - color: '#374151', - }, - - keypad: { - width: '80%', - flexDirection: 'row', - flexWrap: 'wrap', - justifyContent: 'center', - }, - key: { - width: '33%', - height: 70, - justifyContent: 'center', - alignItems: 'center', - }, - keyText: { - fontSize: 26, - fontWeight: '500', - color: '#111827', - }, -}); - - -export default App; + return ( + + + {!unlocked ? ( + + {() => setUnlocked(true)} />} + + ) : ( + + )} + + + ); +} diff --git a/HomeScreen.tsx b/HomeScreen.tsx new file mode 100644 index 0000000..a213f4c --- /dev/null +++ b/HomeScreen.tsx @@ -0,0 +1,10 @@ +import React from 'react'; +import { View, Text } from 'react-native'; + +export default function HomeScreen() { + return ( + + Welcome! App Unlocked 🔓 + + ); +} diff --git a/LockScreen.tsx b/LockScreen.tsx new file mode 100644 index 0000000..4989b59 --- /dev/null +++ b/LockScreen.tsx @@ -0,0 +1,89 @@ +import React, { useEffect } from 'react'; +import { View, Text, Alert, StyleSheet, Platform } from 'react-native'; +import ReactNativeBiometrics, { BiometryTypes } from 'react-native-biometrics'; + +const rnBiometrics = new ReactNativeBiometrics({ + allowDeviceCredentials: true, // PIN / Pattern fallback +}); + +type Props = { + onUnlock: () => void; +}; + +const LockScreen: React.FC = ({ onUnlock }) => { + useEffect(() => { + checkAndAuthenticate(); + }, []); + + const checkAndAuthenticate = async () => { + try { + const { available, biometryType } = + await rnBiometrics.isSensorAvailable(); + // const isSensorAvailable = await rnBiometrics.isSensorAvailable(); + // console.log('===============>', isSensorAvailable); + if (!available) { + Alert.alert( + 'Biometric not available', + 'Your device does not support biometric authentication.', + ); + return; + } + + console.log('Biometry Type:', biometryType); + + // Face ID / Face Unlock / Fingerprint handled by OS + authenticate(); + } catch (error) { + Alert.alert('Error', 'Failed to check biometric availability'); + } + }; + + const authenticate = async () => { + try { + const { success } = await rnBiometrics.simplePrompt({ + promptMessage: 'Unlock App', + cancelButtonText: 'Cancel', + }); + + if (success) { + onUnlock(); + } else { + showRetryAlert(); + } + } catch (error) { + showRetryAlert(); + } + }; + + const showRetryAlert = () => { + Alert.alert( + 'Authentication Failed', + 'Unable to authenticate using Face ID / Biometrics.', + [ + { text: 'Retry', onPress: authenticate }, + { text: 'Cancel', style: 'cancel' }, + ], + ); + }; + + return ( + + + Authenticating using Face ID / Biometrics... + + + ); +}; + +export default LockScreen; + +const styles = StyleSheet.create({ + container: { + flex: 1, + justifyContent: 'center', + alignItems: 'center', + }, + text: { + fontSize: 16, + }, +}); diff --git a/README.md b/README.md index 3e2c3f8..569c6c6 100644 --- a/README.md +++ b/README.md @@ -95,3 +95,38 @@ To learn more about React Native, take a look at the following resources: - [Learn the Basics](https://reactnative.dev/docs/getting-started) - a **guided tour** of the React Native **basics**. - [Blog](https://reactnative.dev/blog) - read the latest official React Native **Blog** posts. - [`@facebook/react-native`](https://github.com/facebook/react-native) - the Open Source; GitHub **repository** for React Native. + + + +line no 185 to 214 +private BiometricPrompt.PromptInfo getPromptInfo( +String promptMessage, +String cancelButtonText, +boolean allowDeviceCredentials +) { +BiometricPrompt.PromptInfo.Builder builder = +new BiometricPrompt.PromptInfo.Builder() +.setTitle(promptMessage); + + builder.setAllowedAuthenticators( + getAllowedAuthenticators(allowDeviceCredentials) + ); + + if (!allowDeviceCredentials || isCurrentSDK29OrEarlier()) { + builder.setNegativeButtonText(cancelButtonText); + } + + return builder.build(); + +} + +private int getAllowedAuthenticators(boolean allowDeviceCredentials) { +int authenticators = BiometricManager.Authenticators.BIOMETRIC_WEAK; + + if (allowDeviceCredentials) { + authenticators |= BiometricManager.Authenticators.DEVICE_CREDENTIAL; + } + + return authenticators; + +} diff --git a/android/app/build.gradle b/android/app/build.gradle index 65d3969..4715af1 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -77,18 +77,14 @@ android { buildToolsVersion rootProject.ext.buildToolsVersion compileSdk rootProject.ext.compileSdkVersion - namespace "com.authenticationsdk" + namespace "com.rnauthentication" defaultConfig { - applicationId "com.authenticationsdk" + applicationId "com.rnauthentication" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "1.0" } - - buildFeatures { - prefab true - } signingConfigs { debug { storeFile file('debug.keystore') diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index fb78f39..b78d821 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,6 +1,9 @@ + + + - authenticationsdk + RNAuthentication diff --git a/android/settings.gradle b/android/settings.gradle index 686dc82..7343e02 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -1,6 +1,6 @@ pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") } plugins { id("com.facebook.react.settings") } extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() } -rootProject.name = 'authenticationsdk' +rootProject.name = 'RNAuthentication' include ':app' includeBuild('../node_modules/@react-native/gradle-plugin') diff --git a/app.json b/app.json index 1dc3531..5749ff8 100644 --- a/app.json +++ b/app.json @@ -1,4 +1,4 @@ { - "name": "authenticationsdk", - "displayName": "authenticationsdk" + "name": "RNAuthentication", + "displayName": "RNAuthentication" } diff --git a/babel.config.js b/babel.config.js index b6e4e1b..f7b3da3 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,6 +1,3 @@ module.exports = { presets: ['module:@react-native/babel-preset'], - plugins: [ - 'react-native-worklets-core/plugin', - ], }; diff --git a/docs/IOS_BIOMETRICS.md b/docs/IOS_BIOMETRICS.md deleted file mode 100644 index 29f6641..0000000 --- a/docs/IOS_BIOMETRICS.md +++ /dev/null @@ -1,21 +0,0 @@ -iOS Biometric / Device Lock Setup - -To enable and test device biometric authentication on iOS: - -- Ensure the Info.plist contains a Face ID usage description (`NSFaceIDUsageDescription`). This project already adds a default string. -- Install CocoaPods and native deps: - -```sh -cd ios -bundle install # (if you use Bundler) -bundle exec pod install -``` - -- Open the workspace in Xcode (`ios/authenticationsdk.xcworkspace`) and build to a device or simulator. For Face ID testing use a simulator with Face ID enabled or a device with Face ID configured. -- The app uses `react-native-keychain` to prompt for biometrics / device passcode; no additional Xcode entitlements are required beyond the Info.plist usage string. - -If biometrics are not available, the Keychain prompt can fall back to the device passcode when configured. - -Testing notes: -- Simulator: Device > Face ID > Enrolled to simulate Face ID responses. -- Device: Make sure Face ID / Touch ID is configured in Settings. diff --git a/index.js b/index.js index 68dfc75..9b73932 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ */ import { AppRegistry } from 'react-native'; -import App from './src/screen/authorised/AuthScreen.tsx'; +import App from './App'; import { name as appName } from './app.json'; AppRegistry.registerComponent(appName, () => App); diff --git a/ios/Podfile b/ios/Podfile index 639f3ff..cf0b278 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -14,7 +14,7 @@ if linkage != nil use_frameworks! :linkage => linkage.to_sym end -target 'authenticationsdk' do +target 'RNAuthentication' do config = use_native_modules! use_react_native!( diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 0d250b7..9d188a3 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -5,59 +5,9 @@ PODS: - FBLazyVector (0.83.1) - fmt (11.0.2) - glog (0.3.5) - - GoogleDataTransport (9.4.1): - - GoogleUtilities/Environment (~> 7.7) - - nanopb (< 2.30911.0, >= 2.30908.0) - - PromisesObjC (< 3.0, >= 1.2) - - GoogleMLKit/FaceDetection (6.0.0): - - GoogleMLKit/MLKitCore - - MLKitFaceDetection (~> 5.0.0) - - GoogleMLKit/MLKitCore (6.0.0): - - MLKitCommon (~> 11.0.0) - - GoogleToolboxForMac/Defines (4.2.1) - - GoogleToolboxForMac/Logger (4.2.1): - - GoogleToolboxForMac/Defines (= 4.2.1) - - "GoogleToolboxForMac/NSData+zlib (4.2.1)": - - GoogleToolboxForMac/Defines (= 4.2.1) - - GoogleUtilities/Environment (7.13.3): - - GoogleUtilities/Privacy - - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.13.3): - - GoogleUtilities/Environment - - GoogleUtilities/Privacy - - GoogleUtilities/Privacy (7.13.3) - - GoogleUtilities/UserDefaults (7.13.3): - - GoogleUtilities/Logger - - GoogleUtilities/Privacy - - GoogleUtilitiesComponents (1.1.0): - - GoogleUtilities/Logger - - GTMSessionFetcher/Core (3.5.0) - hermes-engine (0.14.0): - hermes-engine/Pre-built (= 0.14.0) - hermes-engine/Pre-built (0.14.0) - - MLImage (1.0.0-beta5) - - MLKitCommon (11.0.0): - - GoogleDataTransport (< 10.0, >= 9.4.1) - - GoogleToolboxForMac/Logger (< 5.0, >= 4.2.1) - - "GoogleToolboxForMac/NSData+zlib (< 5.0, >= 4.2.1)" - - GoogleUtilities/UserDefaults (< 8.0, >= 7.13.0) - - GoogleUtilitiesComponents (~> 1.0) - - GTMSessionFetcher/Core (< 4.0, >= 3.3.2) - - MLKitFaceDetection (5.0.0): - - MLKitCommon (~> 11.0) - - MLKitVision (~> 7.0) - - MLKitVision (7.0.0): - - GoogleToolboxForMac/Logger (< 5.0, >= 4.2.1) - - "GoogleToolboxForMac/NSData+zlib (< 5.0, >= 4.2.1)" - - GTMSessionFetcher/Core (< 4.0, >= 3.3.2) - - MLImage (= 1.0.0-beta5) - - MLKitCommon (~> 11.0) - - nanopb (2.30910.0): - - nanopb/decode (= 2.30910.0) - - nanopb/encode (= 2.30910.0) - - nanopb/decode (2.30910.0) - - nanopb/encode (2.30910.0) - - PromisesObjC (2.4.0) - RCT-Folly (2024.11.18.00): - boost - DoubleConversion @@ -2031,35 +1981,6 @@ PODS: - ReactCommon/turbomodule/core - 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 @@ -2617,7 +2538,7 @@ PODS: - React-perflogger (= 0.83.1) - React-utils (= 0.83.1) - SocketRocket - - RNCAsyncStorage (2.2.0): + - RNScreens (4.19.0): - boost - DoubleConversion - fast_float @@ -2637,15 +2558,17 @@ PODS: - React-jsi - React-NativeModulesApple - React-RCTFabric + - React-RCTImage - React-renderercss - React-rendererdebug - React-utils - ReactCodegen - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core + - RNScreens/common (= 4.19.0) - SocketRocket - Yoga - - RNKeychain (10.0.0): + - RNScreens/common (4.19.0): - boost - DoubleConversion - fast_float @@ -2665,6 +2588,7 @@ PODS: - React-jsi - React-NativeModulesApple - React-RCTFabric + - React-RCTImage - React-renderercss - React-rendererdebug - React-utils @@ -2674,21 +2598,6 @@ PODS: - SocketRocket - Yoga - SocketRocket (0.7.1) - - vision-camera-face-detector (0.1.8): - - GoogleMLKit/FaceDetection - - 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: @@ -2738,8 +2647,6 @@ DEPENDENCIES: - React-microtasksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`) - 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`) @@ -2773,27 +2680,12 @@ DEPENDENCIES: - ReactAppDependencyProvider (from `build/generated/ios/ReactAppDependencyProvider`) - ReactCodegen (from `build/generated/ios/ReactCodegen`) - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) - - "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)" - - RNKeychain (from `../node_modules/react-native-keychain`) + - RNScreens (from `../node_modules/react-native-screens`) - SocketRocket (~> 0.7.1) - - vision-camera-face-detector (from `../node_modules/vision-camera-face-detector`) - - VisionCamera (from `../node_modules/react-native-vision-camera`) - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) SPEC REPOS: trunk: - - GoogleDataTransport - - GoogleMLKit - - GoogleToolboxForMac - - GoogleUtilities - - GoogleUtilitiesComponents - - GTMSessionFetcher - - MLImage - - MLKitCommon - - MLKitFaceDetection - - MLKitVision - - nanopb - - PromisesObjC - SocketRocket EXTERNAL SOURCES: @@ -2888,10 +2780,6 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native-biometrics" react-native-safe-area-context: :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: @@ -2958,14 +2846,8 @@ EXTERNAL SOURCES: :path: build/generated/ios/ReactCodegen ReactCommon: :path: "../node_modules/react-native/ReactCommon" - RNCAsyncStorage: - :path: "../node_modules/@react-native-async-storage/async-storage" - RNKeychain: - :path: "../node_modules/react-native-keychain" - vision-camera-face-detector: - :path: "../node_modules/vision-camera-face-detector" - VisionCamera: - :path: "../node_modules/react-native-vision-camera" + RNScreens: + :path: "../node_modules/react-native-screens" Yoga: :path: "../node_modules/react-native/ReactCommon/yoga" @@ -2976,19 +2858,7 @@ SPEC CHECKSUMS: FBLazyVector: 309703e71d3f2f1ed7dc7889d58309c9d77a95a4 fmt: a40bb5bd0294ea969aaaba240a927bd33d878cdd glog: 5683914934d5b6e4240e497e0f4a3b42d1854183 - GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a - GoogleMLKit: 97ac7af399057e99182ee8edfa8249e3226a4065 - GoogleToolboxForMac: d1a2cbf009c453f4d6ded37c105e2f67a32206d8 - GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15 - GoogleUtilitiesComponents: 679b2c881db3b615a2777504623df6122dd20afe - GTMSessionFetcher: 5aea5ba6bd522a239e236100971f10cb71b96ab6 - hermes-engine: e32c23b48a7e7bba5949724df09e91da62deb39d - MLImage: 1824212150da33ef225fbd3dc49f184cf611046c - MLKitCommon: afec63980417d29ffbb4790529a1b0a2291699e1 - MLKitFaceDetection: 7c0e8bf09ddd27105da32d088fca978a99fc30cc - MLKitVision: e858c5f125ecc288e4a31127928301eaba9ae0c1 - nanopb: 438bc412db1928dac798aa6fd75726007be04262 - PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 + hermes-engine: 02f0fb2d6d796f649e798ca7ddeb82356ec34dd1 RCT-Folly: 846fda9475e61ec7bcbf8a3fe81edfcaeb090669 RCTDeprecation: a41bbdd9af30bf2e5715796b313e44ec43eefff1 RCTRequired: 7be34aabb0b77c3cefe644528df0fa0afad4e4d0 @@ -3027,8 +2897,6 @@ SPEC CHECKSUMS: React-microtasksnativemodule: cdc02da075f2857803ed63f24f5f72fc40e094c0 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 @@ -3062,13 +2930,10 @@ SPEC CHECKSUMS: ReactAppDependencyProvider: 0eb286cc274abb059ee601b862ebddac2e681d01 ReactCodegen: 3d48510bcef445f6403c0004047d4d9cbb915435 ReactCommon: ac934cb340aee91282ecd6f273a26d24d4c55cae - RNCAsyncStorage: 29f0230e1a25f36c20b05f65e2eb8958d6526e82 - RNKeychain: a2c134ab796272c3d605e035ab727591000b30f3 + RNScreens: ffbb0296608eb3560de641a711bbdb663ed1f6b4 SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748 - vision-camera-face-detector: 121594b24889f2996de6cb233f6965e7900952cc - VisionCamera: 0044a94f7489f19e19d5938e97dfc36f4784af3c Yoga: 5456bb010373068fc92221140921b09d126b116e -PODFILE CHECKSUM: e0882a7b99dc9c0e8d75aefd548a7e1553fa08f6 +PODFILE CHECKSUM: 34da44c2d7e6f9ba1a69997d2e260ac69ce9dff3 COCOAPODS: 1.16.2 diff --git a/ios/authenticationsdk.xcodeproj/project.pbxproj b/ios/RNAuthentication.xcodeproj/project.pbxproj similarity index 79% rename from ios/authenticationsdk.xcodeproj/project.pbxproj rename to ios/RNAuthentication.xcodeproj/project.pbxproj index 1ec863c..3c0d058 100644 --- a/ios/authenticationsdk.xcodeproj/project.pbxproj +++ b/ios/RNAuthentication.xcodeproj/project.pbxproj @@ -7,23 +7,23 @@ objects = { /* Begin PBXBuildFile section */ - 0C80B921A6F3F58F76C31292 /* libPods-authenticationsdk.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-authenticationsdk.a */; }; + 0C80B921A6F3F58F76C31292 /* libPods-RNAuthentication.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-RNAuthentication.a */; }; 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; }; 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; - AC40AE863A1BE7BA9152BD0A /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; }; + FDE86AD04E2D8E32DF80DF88 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - 13B07F961A680F5B00A75B9A /* authenticationsdk.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = authenticationsdk.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = authenticationsdk/Images.xcassets; sourceTree = ""; }; - 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = authenticationsdk/Info.plist; sourceTree = ""; }; - 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = authenticationsdk/PrivacyInfo.xcprivacy; sourceTree = ""; }; - 3B4392A12AC88292D35C810B /* Pods-authenticationsdk.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-authenticationsdk.debug.xcconfig"; path = "Target Support Files/Pods-authenticationsdk/Pods-authenticationsdk.debug.xcconfig"; sourceTree = ""; }; - 5709B34CF0A7D63546082F79 /* Pods-authenticationsdk.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-authenticationsdk.release.xcconfig"; path = "Target Support Files/Pods-authenticationsdk/Pods-authenticationsdk.release.xcconfig"; sourceTree = ""; }; - 5DCACB8F33CDC322A6C60F78 /* libPods-authenticationsdk.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-authenticationsdk.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = authenticationsdk/AppDelegate.swift; sourceTree = ""; }; - 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = authenticationsdk/LaunchScreen.storyboard; sourceTree = ""; }; + 13B07F961A680F5B00A75B9A /* RNAuthentication.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNAuthentication.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RNAuthentication/Images.xcassets; sourceTree = ""; }; + 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNAuthentication/Info.plist; sourceTree = ""; }; + 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = RNAuthentication/PrivacyInfo.xcprivacy; sourceTree = ""; }; + 3B4392A12AC88292D35C810B /* Pods-RNAuthentication.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNAuthentication.debug.xcconfig"; path = "Target Support Files/Pods-RNAuthentication/Pods-RNAuthentication.debug.xcconfig"; sourceTree = ""; }; + 5709B34CF0A7D63546082F79 /* Pods-RNAuthentication.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNAuthentication.release.xcconfig"; path = "Target Support Files/Pods-RNAuthentication/Pods-RNAuthentication.release.xcconfig"; sourceTree = ""; }; + 5DCACB8F33CDC322A6C60F78 /* libPods-RNAuthentication.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNAuthentication.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 761780EC2CA45674006654EE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = RNAuthentication/AppDelegate.swift; sourceTree = ""; }; + 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = RNAuthentication/LaunchScreen.storyboard; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; /* End PBXFileReference section */ @@ -32,14 +32,14 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 0C80B921A6F3F58F76C31292 /* libPods-authenticationsdk.a in Frameworks */, + 0C80B921A6F3F58F76C31292 /* libPods-RNAuthentication.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 13B07FAE1A68108700A75B9A /* authenticationsdk */ = { + 13B07FAE1A68108700A75B9A /* RNAuthentication */ = { isa = PBXGroup; children = ( 13B07FB51A68108700A75B9A /* Images.xcassets */, @@ -48,14 +48,14 @@ 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */, 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */, ); - name = authenticationsdk; + name = RNAuthentication; sourceTree = ""; }; 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { isa = PBXGroup; children = ( ED297162215061F000B7C4FE /* JavaScriptCore.framework */, - 5DCACB8F33CDC322A6C60F78 /* libPods-authenticationsdk.a */, + 5DCACB8F33CDC322A6C60F78 /* libPods-RNAuthentication.a */, ); name = Frameworks; sourceTree = ""; @@ -70,7 +70,7 @@ 83CBB9F61A601CBA00E9B192 = { isa = PBXGroup; children = ( - 13B07FAE1A68108700A75B9A /* authenticationsdk */, + 13B07FAE1A68108700A75B9A /* RNAuthentication */, 832341AE1AAA6A7D00B99B32 /* Libraries */, 83CBBA001A601CBA00E9B192 /* Products */, 2D16E6871FA4F8E400B85C8A /* Frameworks */, @@ -84,7 +84,7 @@ 83CBBA001A601CBA00E9B192 /* Products */ = { isa = PBXGroup; children = ( - 13B07F961A680F5B00A75B9A /* authenticationsdk.app */, + 13B07F961A680F5B00A75B9A /* RNAuthentication.app */, ); name = Products; sourceTree = ""; @@ -92,8 +92,8 @@ BBD78D7AC51CEA395F1C20DB /* Pods */ = { isa = PBXGroup; children = ( - 3B4392A12AC88292D35C810B /* Pods-authenticationsdk.debug.xcconfig */, - 5709B34CF0A7D63546082F79 /* Pods-authenticationsdk.release.xcconfig */, + 3B4392A12AC88292D35C810B /* Pods-RNAuthentication.debug.xcconfig */, + 5709B34CF0A7D63546082F79 /* Pods-RNAuthentication.release.xcconfig */, ); path = Pods; sourceTree = ""; @@ -101,9 +101,9 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 13B07F861A680F5B00A75B9A /* authenticationsdk */ = { + 13B07F861A680F5B00A75B9A /* RNAuthentication */ = { isa = PBXNativeTarget; - buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "authenticationsdk" */; + buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNAuthentication" */; buildPhases = ( C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */, 13B07F871A680F5B00A75B9A /* Sources */, @@ -117,9 +117,9 @@ ); dependencies = ( ); - name = authenticationsdk; - productName = authenticationsdk; - productReference = 13B07F961A680F5B00A75B9A /* authenticationsdk.app */; + name = RNAuthentication; + productName = RNAuthentication; + productReference = 13B07F961A680F5B00A75B9A /* RNAuthentication.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -135,7 +135,7 @@ }; }; }; - buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "authenticationsdk" */; + buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNAuthentication" */; compatibilityVersion = "Xcode 12.0"; developmentRegion = en; hasScannedForEncodings = 0; @@ -148,7 +148,7 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 13B07F861A680F5B00A75B9A /* authenticationsdk */, + 13B07F861A680F5B00A75B9A /* RNAuthentication */, ); }; /* End PBXProject section */ @@ -160,7 +160,7 @@ files = ( 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */, 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, - AC40AE863A1BE7BA9152BD0A /* PrivacyInfo.xcprivacy in Resources */, + FDE86AD04E2D8E32DF80DF88 /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -189,15 +189,15 @@ files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-authenticationsdk/Pods-authenticationsdk-frameworks-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-RNAuthentication/Pods-RNAuthentication-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-authenticationsdk/Pods-authenticationsdk-frameworks-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-RNAuthentication/Pods-RNAuthentication-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-authenticationsdk/Pods-authenticationsdk-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNAuthentication/Pods-RNAuthentication-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = { @@ -215,7 +215,7 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-authenticationsdk-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-RNAuthentication-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -228,15 +228,15 @@ files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-authenticationsdk/Pods-authenticationsdk-resources-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-RNAuthentication/Pods-RNAuthentication-resources-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Copy Pods Resources"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-authenticationsdk/Pods-authenticationsdk-resources-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-RNAuthentication/Pods-RNAuthentication-resources-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-authenticationsdk/Pods-authenticationsdk-resources.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNAuthentication/Pods-RNAuthentication-resources.sh\"\n"; showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -255,13 +255,13 @@ /* Begin XCBuildConfiguration section */ 13B07F941A680F5B00A75B9A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-authenticationsdk.debug.xcconfig */; + baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-RNAuthentication.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; ENABLE_BITCODE = NO; - INFOPLIST_FILE = authenticationsdk/Info.plist; + INFOPLIST_FILE = RNAuthentication/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 15.1; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -274,7 +274,7 @@ "-lc++", ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = authenticationsdk; + PRODUCT_NAME = RNAuthentication; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; @@ -283,12 +283,12 @@ }; 13B07F951A680F5B00A75B9A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-authenticationsdk.release.xcconfig */; + baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-RNAuthentication.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = 1; - INFOPLIST_FILE = authenticationsdk/Info.plist; + INFOPLIST_FILE = RNAuthentication/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 15.1; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -301,7 +301,7 @@ "-lc++", ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = authenticationsdk; + PRODUCT_NAME = RNAuthentication; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; @@ -456,7 +456,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "authenticationsdk" */ = { + 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RNAuthentication" */ = { isa = XCConfigurationList; buildConfigurations = ( 13B07F941A680F5B00A75B9A /* Debug */, @@ -465,7 +465,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "authenticationsdk" */ = { + 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNAuthentication" */ = { isa = XCConfigurationList; buildConfigurations = ( 83CBBA201A601CBA00E9B192 /* Debug */, diff --git a/ios/authenticationsdk.xcodeproj/xcshareddata/xcschemes/authenticationsdk.xcscheme b/ios/RNAuthentication.xcodeproj/xcshareddata/xcschemes/RNAuthentication.xcscheme similarity index 78% rename from ios/authenticationsdk.xcodeproj/xcshareddata/xcschemes/authenticationsdk.xcscheme rename to ios/RNAuthentication.xcodeproj/xcshareddata/xcschemes/RNAuthentication.xcscheme index fb4baf8..e6add1d 100644 --- a/ios/authenticationsdk.xcodeproj/xcshareddata/xcschemes/authenticationsdk.xcscheme +++ b/ios/RNAuthentication.xcodeproj/xcshareddata/xcschemes/RNAuthentication.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "RNAuthentication.app" + BlueprintName = "RNAuthentication" + ReferencedContainer = "container:RNAuthentication.xcodeproj"> @@ -33,9 +33,9 @@ + BuildableName = "RNAuthenticationTests.xctest" + BlueprintName = "RNAuthenticationTests" + ReferencedContainer = "container:RNAuthentication.xcodeproj"> @@ -55,9 +55,9 @@ + BuildableName = "RNAuthentication.app" + BlueprintName = "RNAuthentication" + ReferencedContainer = "container:RNAuthentication.xcodeproj"> @@ -72,9 +72,9 @@ + BuildableName = "RNAuthentication.app" + BlueprintName = "RNAuthentication" + ReferencedContainer = "container:RNAuthentication.xcodeproj"> diff --git a/ios/authenticationsdk.xcworkspace/contents.xcworkspacedata b/ios/RNAuthentication.xcworkspace/contents.xcworkspacedata similarity index 77% rename from ios/authenticationsdk.xcworkspace/contents.xcworkspacedata rename to ios/RNAuthentication.xcworkspace/contents.xcworkspacedata index f5c63b6..abc34b3 100644 --- a/ios/authenticationsdk.xcworkspace/contents.xcworkspacedata +++ b/ios/RNAuthentication.xcworkspace/contents.xcworkspacedata @@ -2,7 +2,7 @@ + location = "group:RNAuthentication.xcodeproj"> diff --git a/ios/authenticationsdk/AppDelegate.swift b/ios/RNAuthentication/AppDelegate.swift similarity index 96% rename from ios/authenticationsdk/AppDelegate.swift rename to ios/RNAuthentication/AppDelegate.swift index facdec8..fe285a0 100644 --- a/ios/authenticationsdk/AppDelegate.swift +++ b/ios/RNAuthentication/AppDelegate.swift @@ -24,7 +24,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { window = UIWindow(frame: UIScreen.main.bounds) factory.startReactNative( - withModuleName: "authenticationsdk", + withModuleName: "RNAuthentication", in: window, launchOptions: launchOptions ) diff --git a/ios/authenticationsdk/Images.xcassets/AppIcon.appiconset/Contents.json b/ios/RNAuthentication/Images.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from ios/authenticationsdk/Images.xcassets/AppIcon.appiconset/Contents.json rename to ios/RNAuthentication/Images.xcassets/AppIcon.appiconset/Contents.json diff --git a/ios/authenticationsdk/Images.xcassets/Contents.json b/ios/RNAuthentication/Images.xcassets/Contents.json similarity index 100% rename from ios/authenticationsdk/Images.xcassets/Contents.json rename to ios/RNAuthentication/Images.xcassets/Contents.json diff --git a/ios/authenticationsdk/Info.plist b/ios/RNAuthentication/Info.plist similarity index 91% rename from ios/authenticationsdk/Info.plist rename to ios/RNAuthentication/Info.plist index 9f1cc36..29758fe 100644 --- a/ios/authenticationsdk/Info.plist +++ b/ios/RNAuthentication/Info.plist @@ -7,7 +7,7 @@ CFBundleDevelopmentRegion en CFBundleDisplayName - authenticationsdk + RNAuthentication CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -35,8 +35,6 @@ NSLocationWhenInUseUsageDescription - NSFaceIDUsageDescription - This app uses Face ID to secure access to sensitive features. RCTNewArchEnabled UILaunchStoryboardName diff --git a/ios/authenticationsdk/LaunchScreen.storyboard b/ios/RNAuthentication/LaunchScreen.storyboard similarity index 94% rename from ios/authenticationsdk/LaunchScreen.storyboard rename to ios/RNAuthentication/LaunchScreen.storyboard index 8c7627f..79450bb 100644 --- a/ios/authenticationsdk/LaunchScreen.storyboard +++ b/ios/RNAuthentication/LaunchScreen.storyboard @@ -16,7 +16,7 @@ -