Skip to main content
Version: 5.x

getAllItems

Get all items from storage

getAllItems(options) : Promise<[{  key: string  value: string  service: string}]>

Example:

import RNSInfo from 'react-native-sensitive-info';
const myFunc = async () => {    return SInfo.getAllItems({                sharedPreferencesName: 'mySharedPrefs',        keychainService: 'myKeychain'    });}
await myFunc();
// The data is retrieved