Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RNSInfo doesnt have getItem or setItem in react native version 0.76 #428

Open
nishmitha03 opened this issue Jan 23, 2025 · 0 comments
Open

Comments

@nishmitha03
Copy link

import RNSInfo from 'react-native-sensitive-info';

export const fetchDataInfo = async (storageData: string) => { try { const response = await RNSInfo.getItem(storageData, SENSITIVE_INFO_OPTIONS); if (response && response !== null) { return JSON.parse(response); } else { return null; } } catch (e) { return null; } };

Here the console log of RNSInfo is below, the RNSInfo doesnt have getItem or setItem now
LOG RNSInfo {"cancelFingerprintAuth": [Function cancelFingerprintAuth], "setInvalidatedByBiometricEnrollment": [Function setInvalidatedByBiometricEnrollment]}

Im using the latest react native version 0.76.0 and facing issues here.

react-native: 0.76.0
react-native-sensitive-info: 5.5.8

Any assistance here would be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant