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: package.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "react-native-sensitive-info",
3
-
"version": "5.5.5",
3
+
"version": "5.5.7",
4
4
"main": "RNSensitiveInfo.js",
5
5
"types": "index.d.ts",
6
6
"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.",
Copy file name to clipboardExpand all lines: website/docs/setItem.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Check out the options that you can use for [Android](android_options) and [iOS](
15
15
Example:
16
16
17
17
```javascript
18
-
importRNSInfofrom'react-native-sensitive-info';
18
+
importSInfofrom'react-native-sensitive-info';
19
19
20
20
constmyFunc=async () => {
21
21
returnSInfo.setItem('key1', 'value1', {
@@ -39,4 +39,4 @@ But if you rather not to use it our **default** sharedPreferencesName is: **shar
39
39
SInfo.setItem('key1', 'value1', {});
40
40
```
41
41
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