You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Any update/fix about this?
Otherwise we can clearly define this library as dead.
Anyone found a fix for iOS?
I have react-native version 0.76.8 and it still works on Android.
However on iOS, I get:
[TypeError: 0, _$$_REQUIRE(_dependencyMap[2](...)-native-sensitive-info").getItem is not a function (it is undefined)]
Thank you for your message and the share! 🙏
Unfortunately, it does not solve my situation as my main issue are the "storage" functions like getItem which are still undefined.
I am trying to edit the code and see if I am able to fix it.
In that case, I will share my patch. 🤞
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.
The text was updated successfully, but these errors were encountered: