Skip to content

Commit 9f5f4c7

Browse files
authored
Merge pull request #202 from passion4IT/patch-1
The import reference is wrong.
2 parents 7c5d52d + 700fd72 commit 9f5f4c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

website/docs/setItem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Check out the options that you can use for [Android](android_options) and [iOS](
1515
Example:
1616

1717
```javascript
18-
import RNSInfo from 'react-native-sensitive-info';
18+
import SInfo from 'react-native-sensitive-info';
1919

2020
const myFunc = async () => {
2121
return SInfo.setItem('key1', 'value1', {
@@ -39,4 +39,4 @@ But if you rather not to use it our **default** sharedPreferencesName is: **shar
3939
SInfo.setItem('key1', 'value1', {});
4040
```
4141

42-
If you used Android's getDefaultSharedPreferences in your project the shared preference's name that you are looking for is: **com.mypackage.MyApp_preferences**. On the other hand if you used iOS's Keychain the default service is: **app**.
42+
If you used Android's getDefaultSharedPreferences in your project the shared preference's name that you are looking for is: **com.mypackage.MyApp_preferences**. On the other hand if you used iOS's Keychain the default service is: **app**.

0 commit comments

Comments
 (0)