Skip to content

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

Open
@nishmitha03

Description

@nishmitha03

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions