react-native-touch-id | React Native authentication with the native Touch ID popup | iOS library
kandi X-RAY | react-native-touch-id Summary
kandi X-RAY | react-native-touch-id Summary
React Native Touch ID is a React Native library for authenticating users with biometric authentication methods like Face ID and Touch ID on both iOS and Android (experimental).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Authenticate callback
- Set auth config
- Generate AES key store
- Check if fingerprint authentication is available
- End authentication
- Cancel authentication signal
- Invoked when authentication is successful
- Cancels the identity signal
- Resume the auth
- Start authentication
- Create the view
- Cancels the authenticated user
- Create view managers
- Create JS modules
- Cancels the authentication module
- Invoked when an error is detected
- Invoked when the user is authenticated
- On authentication error
- Called when the user is authenticated
- On - load
- Sets the fingerprint handler
- Sets the fingerprint of the fingerprint
- Set the background style of the dialog
- Create native modules
- Checks if fingerprint authentication is available
- Called when authentication failed
react-native-touch-id Key Features
react-native-touch-id Examples and Code Snippets
Community Discussions
Trending Discussions on react-native-touch-id
QUESTION
I encountered this error when upgraded react-native version to 0.63.0. I searched this error but according to other sources it is either problem in react-native-material-dropdown or in react-native-material-textfield. I have also tried to look for Animated.Text.propTypes in node_modules but it does not exist. Although i found it in main.bundle.js in ios folder. My Pod file is as following:
...ANSWER
Answered 2020-Sep-16 at 06:55Anyone suffering from this nightmare it was react-native-material-button that was causing this issue. Turns out that vs code do not completely search node modules.
QUESTION
I have implemented a react-native-fingerprint-scanner
, it's working for Touch Id
.
Now I wanted to add authentication for Touch ID, Face Id, Passcode for both platform
Is there any way to check whether your device support or not. Also, I have tried using react-native-touch-id
but it is not for Face Id
on android.
Is there any way to achieve this for both platforms (iOS/Android)?
Reference:Link
...ANSWER
Answered 2019-Oct-04 at 18:19react-native-touch-id
should work for both TouchID and FaceID.
iOS allows the device to fall back to using the passcode, if faceid/touch is not available. this does not mean that if touchid/faceid fails the first few times it will revert to passcode, rather that if the former are not enrolled, then it will use the passcode.
You can check to see if its supported first.
QUESTION
The app runs fine on the emulator and all Android devices. When I try to run on an iOS device the app opens and then crashes almost instantly. I can't seem to locate the issue as s.Manager is not mentioned anywhere in my code.
What I have done:
- Deleted node_modules, updated some, reinstalled
- Deleted pod files, updated pods, reinstalled
Error logs:
...ANSWER
Answered 2019-Dec-10 at 16:01Turns out that running the following command fixes the issue.
QUESTION
After upgrading react-native from 0.59.10 to 0.61.2 the app does not load. It's stuck on the splash screen and giving me a version mismatch.
XCode logs showing:
...ANSWER
Answered 2019-Oct-09 at 08:55If your project is not huge, you can save *.js files and make react-native init again
But if you need to save a structure of your project you can migrate
with Upgrade Helper
QUESTION
I spent my day trying to fix my problem, I tried every solution I found in other SO posts but unfortunately I can't figure out how to solve my problem.
I try to integrate TouchID inside my react-native project. I downloaded a npm package called "react-native-touch-id" (sounds perfects !). I followed installation guide and I manually linked library to my project.
But when I try to run application I get the following error :
I tried to clean my project :
- rm -rf node_modules
- yarn cache clean && yarn install
- rm -rf ios/Pods/ && pod install
In xCode I even clean the build folder.
About my versions :
- RN : 0.57.4
- xCode : 10.1
- react-native-touch-id : 4.3.0
Here's my Podfile :
...ANSWER
Answered 2018-Dec-11 at 19:06It appeared the problem was the Podfile. It seems that Podfile use its own Podspec which caused troubles. So I simply delete the TouchId pod declaration from my Podfile, clean and re-install my pods.
Then, I manually linked the library to my xcode workspace. To do that, under your project name, Right Click on Libraries directory => Add files to "your project name" => Add the xcodeproj of the npm's package located inside your node_modules directory.
After that, in your project Build Phases under the Link Binary with Libraries you have to add the npm's package static library (example libTouchID.a in my case).
To be sure you can clean your project and try to rebuild, it should work now.
For information, I kept all of my softwares version I mentionned above.
QUESTION
I was using SDK 30. And my app is a standalone app. I was going to update SDK33 to launch a 64-bit app. So I did it in the order that it was written on the homepage. But I've made a lot of errors about where the problem is.
my app.bundle
...ANSWER
Answered 2019-Jun-21 at 03:05I got the project back to square one, and then executed it in order.
My difference is not using npm
but using Yarn
.
It was very effective, and I removed all the places where 'expolib_v1
' was present.
QUESTION
I'm using both Stack Navigations and Draw Navigations at the same time.
"react-navigation": "3.0.4"
My App.js
...ANSWER
Answered 2019-May-17 at 01:36I didn't know why it was loading slowly, but I solved this problem by designing one loading screen.
My use loading Screen Page:
QUESTION
I was using Expo
and I separated expo eject
for module use.
And I tried pod install
in iOS file. it was work.
Pod installation complete! There are 51 dependencies from the Pod file and 63 total pods installed.
But An error occurred when the Xcode
was opened and the build and run
button was pressed.
package.json:
...ANSWER
Answered 2019-May-08 at 09:04I made a podsec
myself and solved it.
This is not in the official document and requires a fundamental solution from the module developer.
This solution creates a lot of Warning
. There's nothing wrong with the code.
- Remove
react-native-secure-randombytes
path from Header Search Path - Unlink
react-native-secure-randombytes
module - react-native unlink react-native-secure-randombytes - Added react-native-secure-randombytes.podspec from this link
Added next code into pod file:
pod 'react-native-secure-randombytes', :path => '../node_modules/react-native-secure-randombytes'
- do `pod install'
QUESTION
After upgrading expo
from: SDK 26 to SDK 32, I have the following issue when I use expo run emulator
or expo app
:
/Users/name user/project name/node_modules/expo/AppEntry.js: Cannot read property ‘1’ of undefined
AppEntry.js:
...ANSWER
Answered 2019-Apr-11 at 17:00Looking at the issue log for expo
, I see someone else had a similar issue when updating from:
SDK version 30 to SDK version 31
and the issue was related to their babel
configuration. Perhaps you're dealing with the same issue, maybe you could try the solution they suggested and see if that resolves your issue as well since you're updating from SDK version 26.
Here is what they suggested:
Install the latest version of babel-plugin-module-resolver
:
QUESTION
I am hitting a brick wall at the moment trying to get my app to build in VS AppCenter. It's a react-native project, with some dependencies brought in via cocoapods.
Everything builds locally fine (clean clone on clean vm)
In the CI Environment in AppCenter though I get the following errors:
ld: warning: directory not found for option '-L/Users/vsts/Library/Developer/Xcode/DerivedData/projectname-adroxiklvgljuicvfqowylcdxjrt/Build/Intermediates.noindex/ArchiveIntermediates/unisafe/BuildProductsPath/Release-iphoneos/BVLinearGradient'
ld: library not found for -lGoogle-Maps-iOS-Utils
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Archive Failed
I get the first warning a number of times for each pod.
Here is my Podfile
...ANSWER
Answered 2018-Nov-02 at 19:14Not a perfect solution...but resolved this by removing and re-adding everything under 'Linked Frameworks and Libraries' in XCode build settings.
I'll close this, but if anyone else has this issue, reply here or PM - happy to help.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install react-native-touch-id
You can use react-native-touch-id like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the react-native-touch-id component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page