Skip to content

Commit d0769a4

Browse files
committed
README updated
1 parent 6e3c024 commit d0769a4

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,7 @@ protected List<ReactPackage> getPackages() {
7676

7777
Sync gradle and go :)
7878

79-
# Changelog
80-
81-
## Since version >= 5.0.0
82-
83-
We've fixed some issues and updated example.
84-
85-
Thanks to all contributors who helped us on our journey :)
86-
87-
## Since version >= 3.0.0
79+
# Methods
8880

8981
We unified our library's methods to bring more efficiency and simplify the usability for other developers. We hope that you enjoy it. :)
9082

@@ -104,7 +96,11 @@ sharedPreferencesName: 'mySharedPrefs',
10496
keychainService: 'myKeychain'});
10597
```
10698

107-
But if you prefer to not use it, our default sharedPreferencesName is: **shared_preferences** and keychainService is: **app**
99+
But if you prefer to not use it, our default sharedPreferencesName is: **shared_preferences** and keychainService is: **app**. For that, use:
100+
101+
```javascript
102+
SInfo.setItem('key1', 'value1', {});
103+
```
108104

109105
If you used Android's getDefaultSharedPreferences in your project the shared preference's name that you are looking for is: **com.mypackage.MyApp_preferences**. In other hands if you used iOS's Keychain the default service is: **app** which is our default too.
110106

0 commit comments

Comments
 (0)