FIX: Update code

This commit is contained in:
Marcos Rodriguez Velez 2024-03-25 00:30:24 -04:00
parent fbc7157c54
commit 6bd9bfa067
No known key found for this signature in database
GPG Key ID: 6030B2F48CCE86D7
4 changed files with 24 additions and 19 deletions

View File

@ -859,7 +859,11 @@ export class AppStorage {
isDoNotTrackEnabled = async (): Promise<boolean> => {
try {
return !!(await AsyncStorage.getItem(AppStorage.DO_NOT_TRACK));
const doNotTrackValue = !!(await AsyncStorage.getItem(AppStorage.DO_NOT_TRACK));
if (doNotTrackValue) {
await DefaultPreference.set(AppStorage.DO_NOT_TRACK, '1');
AsyncStorage.removeItem(AppStorage.DO_NOT_TRACK);
}
} catch (_) {}
return false;
};

View File

@ -8,6 +8,7 @@
#import <RNCPushNotificationIOS.h>
#import "EventEmitter.h"
#import <React/RCTRootView.h>
#import <Bugsnag/Bugsnag.h>
@interface AppDelegate() <UNUserNotificationCenterDelegate>

View File

@ -494,7 +494,7 @@ PODS:
- React-Core
- RNLocalize (3.0.6):
- React-Core
- RNPermissions (4.1.4):
- RNPermissions (4.1.5):
- React-Core
- RNPrivacySnapshot (1.0.0):
- React
@ -511,7 +511,7 @@ PODS:
- RNScreens (3.29.0):
- RCT-Folly (= 2021.07.22.00)
- React-Core
- RNShare (10.0.2):
- RNShare (10.1.0):
- React-Core
- RNSVG (13.14.0):
- React-Core
@ -854,14 +854,14 @@ SPEC CHECKSUMS:
RNHandoff: d3b0754cca3a6bcd9b25f544f733f7f033ccf5fa
RNKeychain: bfe3d12bf4620fe488771c414530bf16e88f3678
RNLocalize: 4222a3756cdbe2dc9a5bdf445765a4d2572107cb
RNPermissions: 31223c0cf32b7623e6ec4cd13a7e4552fd43c71c
RNPermissions: 9fa74223844f437bc309e112994859dc47194829
RNPrivacySnapshot: 71919dde3c6a29dd332115409c2aec564afee8f4
RNQuickAction: 6d404a869dc872cde841ad3147416a670d13fa93
RNRate: ef3bcff84f39bb1d1e41c5593d3eea4aab2bd73a
RNReactNativeHapticFeedback: ec56a5f81c3941206fd85625fa669ffc7b4545f9
RNReanimated: fc36806836aca984b797f01432abe31689663421
RNScreens: 8ba3eeb8f5cb9f13662df564e785d64ef7214bf2
RNShare: 859ff710211285676b0bcedd156c12437ea1d564
RNShare: b674d9f1cb0dc11116983bebd8712908a226a3ee
RNSVG: d00c8f91c3cbf6d476451313a18f04d220d4f396
RNVectorIcons: 2b974a961e7ad079fafdd8af68b12210d5b4b28e
RNWatch: fd30ca40a5b5ef58dcbc195638e68219bc455236

28
package-lock.json generated
View File

@ -80,7 +80,7 @@
"react-native-modal": "13.0.1",
"react-native-obscure": "https://github.com/BlueWallet/react-native-obscure.git#f4b83b4a261e39b1f5ed4a45ac5bcabc8a59eadb",
"react-native-passcode-auth": "https://github.com/BlueWallet/react-native-passcode-auth#a2ff977ba92b36f8d0a5567f59c05cc608e8bd12",
"react-native-permissions": "4.1.4",
"react-native-permissions": "4.1.5",
"react-native-privacy-snapshot": "https://github.com/BlueWallet/react-native-privacy-snapshot#529e4627d93f67752a27e82a040ff7b64dca0783",
"react-native-prompt-android": "https://github.com/BlueWallet/react-native-prompt-android#ed168d66fed556bc2ed07cf498770f058b78a376",
"react-native-push-notification": "8.1.1",
@ -92,7 +92,7 @@
"react-native-safe-area-context": "4.9.0",
"react-native-screens": "3.29.0",
"react-native-secure-key-store": "https://github.com/BlueWallet/react-native-secure-key-store#2076b48",
"react-native-share": "10.0.2",
"react-native-share": "10.1.0",
"react-native-svg": "13.14.0",
"react-native-tcp-socket": "6.0.6",
"react-native-vector-icons": "10.0.3",
@ -19542,9 +19542,9 @@
"license": "ISC"
},
"node_modules/react-native-permissions": {
"version": "4.1.4",
"resolved": "https://registry.npmjs.org/react-native-permissions/-/react-native-permissions-4.1.4.tgz",
"integrity": "sha512-el6u90VZNFDEtmHpSheirwRhGvs6M5rSZcoqIqB128IPO00f2c1q+PP4kEaM1u19Q0ldQ+R+S7C/l8Zrduy6JQ==",
"version": "4.1.5",
"resolved": "https://registry.npmjs.org/react-native-permissions/-/react-native-permissions-4.1.5.tgz",
"integrity": "sha512-r6VMRacASmtRHS+GZ+5HQCp9p9kiE+UU9magHOZCXZLTJitdTuVHWZRrb4v4oqZGU+zAp3mZhTQftuMMv+WLUg==",
"peerDependencies": {
"react": ">=18.1.0",
"react-native": ">=0.70.0",
@ -19689,9 +19689,9 @@
"license": "ISC"
},
"node_modules/react-native-share": {
"version": "10.0.2",
"resolved": "https://registry.npmjs.org/react-native-share/-/react-native-share-10.0.2.tgz",
"integrity": "sha512-EZs4MtsyauAI1zP8xXT1hIFB/pXOZJNDCKcgCpEfTZFXgCUzz8MDVbI1ocP2hA59XHRSkqAQdbJ0BFTpjxOBlg==",
"version": "10.1.0",
"resolved": "https://registry.npmjs.org/react-native-share/-/react-native-share-10.1.0.tgz",
"integrity": "sha512-fKKvwaZe5s3HW0tcRKyR5AWvAfXvkk0FgTw1nYWYjI4gNqntXbMjRqWZed8Hmd1MvIJS17K/ELPges0tsxbp3g==",
"engines": {
"node": ">=16"
}
@ -37159,9 +37159,9 @@
"from": "react-native-passcode-auth@https://github.com/BlueWallet/react-native-passcode-auth#a2ff977ba92b36f8d0a5567f59c05cc608e8bd12"
},
"react-native-permissions": {
"version": "4.1.4",
"resolved": "https://registry.npmjs.org/react-native-permissions/-/react-native-permissions-4.1.4.tgz",
"integrity": "sha512-el6u90VZNFDEtmHpSheirwRhGvs6M5rSZcoqIqB128IPO00f2c1q+PP4kEaM1u19Q0ldQ+R+S7C/l8Zrduy6JQ=="
"version": "4.1.5",
"resolved": "https://registry.npmjs.org/react-native-permissions/-/react-native-permissions-4.1.5.tgz",
"integrity": "sha512-r6VMRacASmtRHS+GZ+5HQCp9p9kiE+UU9magHOZCXZLTJitdTuVHWZRrb4v4oqZGU+zAp3mZhTQftuMMv+WLUg=="
},
"react-native-privacy-snapshot": {
"version": "git+ssh://git@github.com/BlueWallet/react-native-privacy-snapshot.git#529e4627d93f67752a27e82a040ff7b64dca0783",
@ -37265,9 +37265,9 @@
"from": "react-native-secure-key-store@https://github.com/BlueWallet/react-native-secure-key-store#2076b48"
},
"react-native-share": {
"version": "10.0.2",
"resolved": "https://registry.npmjs.org/react-native-share/-/react-native-share-10.0.2.tgz",
"integrity": "sha512-EZs4MtsyauAI1zP8xXT1hIFB/pXOZJNDCKcgCpEfTZFXgCUzz8MDVbI1ocP2hA59XHRSkqAQdbJ0BFTpjxOBlg=="
"version": "10.1.0",
"resolved": "https://registry.npmjs.org/react-native-share/-/react-native-share-10.1.0.tgz",
"integrity": "sha512-fKKvwaZe5s3HW0tcRKyR5AWvAfXvkk0FgTw1nYWYjI4gNqntXbMjRqWZed8Hmd1MvIJS17K/ELPges0tsxbp3g=="
},
"react-native-size-matters": {
"version": "0.3.1",