Open
Description
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.