diff --git a/BlueComponents.js b/BlueComponents.js index 4b74afbb2..d61c47319 100644 --- a/BlueComponents.js +++ b/BlueComponents.js @@ -23,7 +23,7 @@ import { TouchableWithoutFeedback, View, } from 'react-native'; -import Clipboard from '@react-native-community/clipboard'; +import Clipboard from '@react-native-clipboard/clipboard'; import LinearGradient from 'react-native-linear-gradient'; import { LightningCustodianWallet, MultisigHDWallet } from './class'; import { BitcoinUnit } from './models/bitcoinUnits'; diff --git a/blue_modules/clipboard.js b/blue_modules/clipboard.js index 7131789cc..0292906d9 100644 --- a/blue_modules/clipboard.js +++ b/blue_modules/clipboard.js @@ -1,5 +1,5 @@ import { useAsyncStorage } from '@react-native-async-storage/async-storage'; -import Clipboard from '@react-native-community/clipboard'; +import Clipboard from '@react-native-clipboard/clipboard'; function BlueClipboard() { BlueClipboard.STORAGE_KEY = 'ClipboardReadAllowed'; diff --git a/blue_modules/fs.js b/blue_modules/fs.js index 7f9c97888..4f74af67d 100644 --- a/blue_modules/fs.js +++ b/blue_modules/fs.js @@ -7,7 +7,7 @@ import DocumentPicker from 'react-native-document-picker'; import isCatalyst from 'react-native-is-catalyst'; import { launchCamera, launchImageLibrary } from 'react-native-image-picker'; import { presentCameraNotAuthorizedAlert } from '../class/camera'; -import Clipboard from '@react-native-community/clipboard'; +import Clipboard from '@react-native-clipboard/clipboard'; import ActionSheet from '../screen/ActionSheet'; const LocalQRCode = require('@remobile/react-native-qrcode-local-image'); diff --git a/ios/Podfile.lock b/ios/Podfile.lock index abbca420c..86e0e5770 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -276,7 +276,7 @@ PODS: - react-native-tcp-socket (3.7.1): - CocoaAsyncSocket - React - - react-native-webview (11.2.0): + - react-native-webview (11.2.1): - React-Core - react-native-widget-center (0.0.4): - React @@ -347,7 +347,7 @@ PODS: - React - RNCAsyncStorage (1.13.4): - React-Core - - RNCClipboard (1.5.1): + - RNCClipboard (1.7.0): - React-Core - RNCMaskedView (0.1.10): - React @@ -470,7 +470,7 @@ DEPENDENCIES: - RealmJS (from `../node_modules/realm`) - "RemobileReactNativeQrcodeLocalImage (from `../node_modules/@remobile/react-native-qrcode-local-image`)" - "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)" - - "RNCClipboard (from `../node_modules/@react-native-community/clipboard`)" + - "RNCClipboard (from `../node_modules/@react-native-clipboard/clipboard`)" - "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)" - "RNCPushNotificationIOS (from `../node_modules/@react-native-community/push-notification-ios`)" - RNDefaultPreference (from `../node_modules/react-native-default-preference`) @@ -607,7 +607,7 @@ EXTERNAL SOURCES: RNCAsyncStorage: :path: "../node_modules/@react-native-async-storage/async-storage" RNCClipboard: - :path: "../node_modules/@react-native-community/clipboard" + :path: "../node_modules/@react-native-clipboard/clipboard" RNCMaskedView: :path: "../node_modules/@react-native-community/masked-view" RNCPushNotificationIOS: @@ -707,7 +707,7 @@ SPEC CHECKSUMS: react-native-safe-area-context: 86612d2c9a9e94e288319262d10b5f93f0b395f5 react-native-slider: b733e17fdd31186707146debf1f04b5d94aa1a93 react-native-tcp-socket: 96a4f104cdcc9c6621aafe92937f163d88447c5b - react-native-webview: c010115ea45efd0d329ac7746d0cc59579d7860c + react-native-webview: dbe6c1ad149740f0e2d84a963f1d3c3e77f2d99c react-native-widget-center: 0f81d17beb163e7fb5848b06754d7d277fe7d99a React-RCTActionSheet: 53ea72699698b0b47a6421cb1c8b4ab215a774aa React-RCTAnimation: 1befece0b5183c22ae01b966f5583f42e69a83c2 @@ -722,7 +722,7 @@ SPEC CHECKSUMS: RealmJS: 5195064e9aeccf94ae3756bd9d0f2301b9074b07 RemobileReactNativeQrcodeLocalImage: 57aadc12896b148fb5e04bc7c6805f3565f5c3fa RNCAsyncStorage: 0701cb7395f06d744184641241888a0eec0e2f2a - RNCClipboard: 5e299c6df8e0c98f3d7416b86ae563d3a9f768a3 + RNCClipboard: dac13db8b1ce9b998f1cbc7ca33440113602847f RNCMaskedView: f5c7d14d6847b7b44853f7acb6284c1da30a3459 RNCPushNotificationIOS: 5b1cf9ad2aaa107ecb92d5d2d7005ba521b2b97a RNDefaultPreference: 21816c0a6f61a2829ccc0cef034392e9b509ee5f diff --git a/package-lock.json b/package-lock.json index 3850219db..70796bd20 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5337,6 +5337,11 @@ "deep-assign": "^3.0.0" } }, + "@react-native-clipboard/clipboard": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@react-native-clipboard/clipboard/-/clipboard-1.7.0.tgz", + "integrity": "sha512-i5dJgR+wM8Om+hFEB/PqNb65/x5WxpaZG+UjEBX2/gmmIrmAWI72tI9rVL1gjPA9RWNpdpzvp+ioGjpdl7MyWQ==" + }, "@react-native-community/blur": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/@react-native-community/blur/-/blur-3.6.0.tgz", @@ -5682,11 +5687,6 @@ "resolved": "https://registry.npmjs.org/@react-native-community/cli-types/-/cli-types-4.10.1.tgz", "integrity": "sha512-ael2f1onoPF3vF7YqHGWy7NnafzGu+yp88BbFbP0ydoCP2xGSUzmZVw0zakPTC040Id+JQ9WeFczujMkDy6jYQ==" }, - "@react-native-community/clipboard": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@react-native-community/clipboard/-/clipboard-1.5.1.tgz", - "integrity": "sha512-AHAmrkLEH5UtPaDiRqoULERHh3oNv7Dgs0bTC0hO5Z2GdNokAMPT5w8ci8aMcRemcwbtdHjxChgtjbeA38GBdA==" - }, "@react-native-community/eslint-config": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@react-native-community/eslint-config/-/eslint-config-2.0.0.tgz", @@ -7343,10 +7343,12 @@ "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==" }, "bc-bech32": { - "version": "file:blue_modules/bc-bech32" + "version": "file:blue_modules/bc-bech32", + "integrity": "sha512-lwAn5R4LUhcnyrZgNx3YdDPr5+nseM4kARANcv8i0YOMtnPJRTF7B7TZzS3DYgC6tff/aR2W/3jGoY/SJMs6MA==" }, "bc-ur": { - "version": "file:blue_modules/bc-ur" + "version": "file:blue_modules/bc-ur", + "integrity": "sha512-k5jZLNgiCMQH5d/4lwsa6DJjH12vzdTEr9qVH1y9UPzJW32Ga1u8iC0KDAqtYnkvh8NR4DW8Fco6D2hphHZLzg==" }, "bcrypt-pbkdf": { "version": "1.0.2", @@ -19557,7 +19559,8 @@ } }, "scryptsy": { - "version": "file:blue_modules/scryptsy" + "version": "file:blue_modules/scryptsy", + "integrity": "sha512-1CdSqHQowJBnMAFyPEBRfqag/YP9OF394FV+4YREIJX4ljD7OxvQRDayyoyyCk+senRjSkP6VnUNQmVQqB6g7w==" }, "secp256k1": { "version": "3.8.0", diff --git a/package.json b/package.json index 0802ddf82..457203ec3 100644 --- a/package.json +++ b/package.json @@ -72,8 +72,8 @@ "dependencies": { "@babel/preset-env": "7.12.1", "@react-native-async-storage/async-storage": "1.13.4", + "@react-native-clipboard/clipboard": "1.7.0", "@react-native-community/blur": "3.6.0", - "@react-native-community/clipboard": "1.5.1", "@react-native-community/masked-view": "0.1.10", "@react-native-community/push-notification-ios": "1.8.0", "@react-native-community/slider": "3.0.3", diff --git a/screen/send/create.js b/screen/send/create.js index 2395f96d4..c890f556b 100644 --- a/screen/send/create.js +++ b/screen/send/create.js @@ -16,7 +16,7 @@ import { PermissionsAndroid, Alert, } from 'react-native'; -import Clipboard from '@react-native-community/clipboard'; +import Clipboard from '@react-native-clipboard/clipboard'; import { Icon } from 'react-native-elements'; import Share from 'react-native-share'; import RNFS from 'react-native-fs'; diff --git a/screen/send/psbtWithHardwareWallet.js b/screen/send/psbtWithHardwareWallet.js index 7b6bb46b6..9c269a2b3 100644 --- a/screen/send/psbtWithHardwareWallet.js +++ b/screen/send/psbtWithHardwareWallet.js @@ -14,7 +14,7 @@ import { Alert, findNodeHandle, } from 'react-native'; -import Clipboard from '@react-native-community/clipboard'; +import Clipboard from '@react-native-clipboard/clipboard'; import Share from 'react-native-share'; import ReactNativeHapticFeedback from 'react-native-haptic-feedback'; import DocumentPicker from 'react-native-document-picker'; diff --git a/screen/transactions/CPFP.js b/screen/transactions/CPFP.js index c689ee99a..ef1039b46 100644 --- a/screen/transactions/CPFP.js +++ b/screen/transactions/CPFP.js @@ -12,7 +12,7 @@ import { StyleSheet, KeyboardAvoidingView, } from 'react-native'; -import Clipboard from '@react-native-community/clipboard'; +import Clipboard from '@react-native-clipboard/clipboard'; import { Text } from 'react-native-elements'; import ReactNativeHapticFeedback from 'react-native-haptic-feedback'; diff --git a/screen/transactions/details.js b/screen/transactions/details.js index f6d4c5881..cd2133282 100644 --- a/screen/transactions/details.js +++ b/screen/transactions/details.js @@ -7,7 +7,7 @@ import navigationStyle from '../../components/navigationStyle'; import HandoffComponent from '../../components/handoff'; import loc from '../../loc'; import { BlueStorageContext } from '../../blue_modules/storage-context'; -import Clipboard from '@react-native-community/clipboard'; +import Clipboard from '@react-native-clipboard/clipboard'; import ToolTipMenu from '../../components/TooltipMenu'; const dayjs = require('dayjs'); diff --git a/screen/wallets/addMultisigStep2.js b/screen/wallets/addMultisigStep2.js index b05c72fcd..c857fcc21 100644 --- a/screen/wallets/addMultisigStep2.js +++ b/screen/wallets/addMultisigStep2.js @@ -19,7 +19,7 @@ import { Icon } from 'react-native-elements'; import { useNavigation, useRoute, useTheme } from '@react-navigation/native'; import { getSystemName } from 'react-native-device-info'; import QRCode from 'react-native-qrcode-svg'; -import Clipboard from '@react-native-community/clipboard'; +import Clipboard from '@react-native-clipboard/clipboard'; import showPopupMenu from 'react-native-popup-menu-android'; import ToolTip from 'react-native-tooltip'; import ReactNativeHapticFeedback from 'react-native-haptic-feedback'; diff --git a/screen/wallets/list.js b/screen/wallets/list.js index 7743fae2c..5755a001a 100644 --- a/screen/wallets/list.js +++ b/screen/wallets/list.js @@ -22,7 +22,7 @@ import ReactNativeHapticFeedback from 'react-native-haptic-feedback'; import { PlaceholderWallet } from '../../class'; import WalletImport from '../../class/wallet-import'; import ActionSheet from '../ActionSheet'; -import Clipboard from '@react-native-community/clipboard'; +import Clipboard from '@react-native-clipboard/clipboard'; import loc from '../../loc'; import { FContainer, FButton } from '../../components/FloatButtons'; import { useFocusEffect, useNavigation, useRoute, useTheme } from '@react-navigation/native'; diff --git a/screen/wallets/transactions.js b/screen/wallets/transactions.js index f71ec56aa..227d3375f 100644 --- a/screen/wallets/transactions.js +++ b/screen/wallets/transactions.js @@ -20,7 +20,7 @@ import { View, } from 'react-native'; import { launchImageLibrary } from 'react-native-image-picker'; -import Clipboard from '@react-native-community/clipboard'; +import Clipboard from '@react-native-clipboard/clipboard'; import { Icon } from 'react-native-elements'; import { useRoute, useNavigation, useTheme, useFocusEffect } from '@react-navigation/native'; import { Chain } from '../../models/bitcoinUnits';