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
This commit is contained in:
mansi-dev
2026-01-27 23:20:10 +05:30
parent 4b48e7cdcb
commit 9b9472162e
37 changed files with 1184 additions and 1487 deletions

View File

@@ -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')

View File

@@ -1,6 +1,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
<application
android:name=".MainApplication"

View File

@@ -1,4 +1,4 @@
package com.authenticationsdk
package com.rnauthentication
import com.facebook.react.ReactActivity
import com.facebook.react.ReactActivityDelegate
@@ -11,7 +11,7 @@ class MainActivity : ReactActivity() {
* Returns the name of the main component registered from JavaScript. This is used to schedule
* rendering of the component.
*/
override fun getMainComponentName(): String = "authenticationsdk"
override fun getMainComponentName(): String = "RNAuthentication"
/**
* Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate]

View File

@@ -1,4 +1,4 @@
package com.authenticationsdk
package com.rnauthentication
import android.app.Application
import com.facebook.react.PackageList

View File

@@ -1,3 +1,3 @@
<resources>
<string name="app_name">authenticationsdk</string>
<string name="app_name">RNAuthentication</string>
</resources>