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
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ Sync gradle and go :)
71
71
72
72
#Methods
73
73
74
-
##Since version >= 3.0.0 --> Currently master branch
74
+
##Since version >= 3.0.0
75
75
76
76
We unified our library's methods to bring more efficiency and simplify the usability for other developers. We hope that you enjoy it. :)
77
77
@@ -83,15 +83,15 @@ We unified our library's methods to bring more efficiency and simplify the usabi
83
83
84
84
`getAllItems(options)`: Will retrieve all keys and values from Shared Preferences & Keychain
85
85
86
-
"Options" is a new parameter (optional) that you can pass to our methods. But what does it do? Now, you can select which keychain's service (iOS) and shared preferences name (android) you can use. To do so:
86
+
"Options" is a new parameter (optional) that you can pass to our methods. But what does it do? Now, you can select which keychain's service (iOS) and shared preferences's name (android) you can use. To do so:
87
87
88
88
```javascript
89
89
SInfo.setItem('key1', 'value1', {
90
90
sharedPreferencesName:'mySharedPrefs',
91
91
keychainService:'myKeychain'});
92
92
```
93
93
94
-
As I said before our "options" is optional, if you prefer to not use it, our default sharedPreferencesName is: **shared_preferences** and keychainService is: **app**
94
+
But if you prefer to not use it, our default sharedPreferencesName is: **shared_preferences** and keychainService is: **app**
95
95
96
96
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.
Copy file name to clipboardExpand all lines: package.json
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
"name": "react-native-sensitive-info",
3
3
"version": "2.2.0",
4
4
"main": "RNSensitiveInfo.js",
5
+
"description": "react-native-sensitive-info manages all data stored in Android Shared Preferences and iOS Keychain. You can set, get and delete keys/values using simple methods.",
0 commit comments