OPS: Clipboard package renamed

This commit is contained in:
marcosrdz 2021-02-28 00:13:37 -05:00
parent b0e6c8674c
commit e377fcd889
13 changed files with 28 additions and 25 deletions

View File

@ -24,7 +24,7 @@ import {
TouchableWithoutFeedback, TouchableWithoutFeedback,
View, View,
} from 'react-native'; } 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 LinearGradient from 'react-native-linear-gradient';
import { LightningCustodianWallet, MultisigHDWallet } from './class'; import { LightningCustodianWallet, MultisigHDWallet } from './class';
import { BitcoinUnit } from './models/bitcoinUnits'; import { BitcoinUnit } from './models/bitcoinUnits';

View File

@ -1,5 +1,5 @@
import { useAsyncStorage } from '@react-native-async-storage/async-storage'; 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() { function BlueClipboard() {
BlueClipboard.STORAGE_KEY = 'ClipboardReadAllowed'; BlueClipboard.STORAGE_KEY = 'ClipboardReadAllowed';

View File

@ -7,7 +7,7 @@ import DocumentPicker from 'react-native-document-picker';
import isCatalyst from 'react-native-is-catalyst'; import isCatalyst from 'react-native-is-catalyst';
import { launchCamera, launchImageLibrary } from 'react-native-image-picker'; import { launchCamera, launchImageLibrary } from 'react-native-image-picker';
import { presentCameraNotAuthorizedAlert } from '../class/camera'; import { presentCameraNotAuthorizedAlert } from '../class/camera';
import Clipboard from '@react-native-community/clipboard'; import Clipboard from '@react-native-clipboard/clipboard';
import ActionSheet from '../screen/ActionSheet'; import ActionSheet from '../screen/ActionSheet';
const LocalQRCode = require('@remobile/react-native-qrcode-local-image'); const LocalQRCode = require('@remobile/react-native-qrcode-local-image');

View File

@ -276,7 +276,7 @@ PODS:
- react-native-tcp-socket (3.7.1): - react-native-tcp-socket (3.7.1):
- CocoaAsyncSocket - CocoaAsyncSocket
- React - React
- react-native-webview (11.2.0): - react-native-webview (11.2.1):
- React-Core - React-Core
- react-native-widget-center (0.0.4): - react-native-widget-center (0.0.4):
- React - React
@ -347,7 +347,7 @@ PODS:
- React - React
- RNCAsyncStorage (1.13.4): - RNCAsyncStorage (1.13.4):
- React-Core - React-Core
- RNCClipboard (1.5.1): - RNCClipboard (1.7.0):
- React-Core - React-Core
- RNCMaskedView (0.1.10): - RNCMaskedView (0.1.10):
- React - React
@ -470,7 +470,7 @@ DEPENDENCIES:
- RealmJS (from `../node_modules/realm`) - RealmJS (from `../node_modules/realm`)
- "RemobileReactNativeQrcodeLocalImage (from `../node_modules/@remobile/react-native-qrcode-local-image`)" - "RemobileReactNativeQrcodeLocalImage (from `../node_modules/@remobile/react-native-qrcode-local-image`)"
- "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)" - "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`)" - "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)"
- "RNCPushNotificationIOS (from `../node_modules/@react-native-community/push-notification-ios`)" - "RNCPushNotificationIOS (from `../node_modules/@react-native-community/push-notification-ios`)"
- RNDefaultPreference (from `../node_modules/react-native-default-preference`) - RNDefaultPreference (from `../node_modules/react-native-default-preference`)
@ -607,7 +607,7 @@ EXTERNAL SOURCES:
RNCAsyncStorage: RNCAsyncStorage:
:path: "../node_modules/@react-native-async-storage/async-storage" :path: "../node_modules/@react-native-async-storage/async-storage"
RNCClipboard: RNCClipboard:
:path: "../node_modules/@react-native-community/clipboard" :path: "../node_modules/@react-native-clipboard/clipboard"
RNCMaskedView: RNCMaskedView:
:path: "../node_modules/@react-native-community/masked-view" :path: "../node_modules/@react-native-community/masked-view"
RNCPushNotificationIOS: RNCPushNotificationIOS:
@ -707,7 +707,7 @@ SPEC CHECKSUMS:
react-native-safe-area-context: 86612d2c9a9e94e288319262d10b5f93f0b395f5 react-native-safe-area-context: 86612d2c9a9e94e288319262d10b5f93f0b395f5
react-native-slider: b733e17fdd31186707146debf1f04b5d94aa1a93 react-native-slider: b733e17fdd31186707146debf1f04b5d94aa1a93
react-native-tcp-socket: 96a4f104cdcc9c6621aafe92937f163d88447c5b react-native-tcp-socket: 96a4f104cdcc9c6621aafe92937f163d88447c5b
react-native-webview: c010115ea45efd0d329ac7746d0cc59579d7860c react-native-webview: dbe6c1ad149740f0e2d84a963f1d3c3e77f2d99c
react-native-widget-center: 0f81d17beb163e7fb5848b06754d7d277fe7d99a react-native-widget-center: 0f81d17beb163e7fb5848b06754d7d277fe7d99a
React-RCTActionSheet: 53ea72699698b0b47a6421cb1c8b4ab215a774aa React-RCTActionSheet: 53ea72699698b0b47a6421cb1c8b4ab215a774aa
React-RCTAnimation: 1befece0b5183c22ae01b966f5583f42e69a83c2 React-RCTAnimation: 1befece0b5183c22ae01b966f5583f42e69a83c2
@ -722,7 +722,7 @@ SPEC CHECKSUMS:
RealmJS: 5195064e9aeccf94ae3756bd9d0f2301b9074b07 RealmJS: 5195064e9aeccf94ae3756bd9d0f2301b9074b07
RemobileReactNativeQrcodeLocalImage: 57aadc12896b148fb5e04bc7c6805f3565f5c3fa RemobileReactNativeQrcodeLocalImage: 57aadc12896b148fb5e04bc7c6805f3565f5c3fa
RNCAsyncStorage: 0701cb7395f06d744184641241888a0eec0e2f2a RNCAsyncStorage: 0701cb7395f06d744184641241888a0eec0e2f2a
RNCClipboard: 5e299c6df8e0c98f3d7416b86ae563d3a9f768a3 RNCClipboard: dac13db8b1ce9b998f1cbc7ca33440113602847f
RNCMaskedView: f5c7d14d6847b7b44853f7acb6284c1da30a3459 RNCMaskedView: f5c7d14d6847b7b44853f7acb6284c1da30a3459
RNCPushNotificationIOS: 5b1cf9ad2aaa107ecb92d5d2d7005ba521b2b97a RNCPushNotificationIOS: 5b1cf9ad2aaa107ecb92d5d2d7005ba521b2b97a
RNDefaultPreference: 21816c0a6f61a2829ccc0cef034392e9b509ee5f RNDefaultPreference: 21816c0a6f61a2829ccc0cef034392e9b509ee5f

19
package-lock.json generated
View File

@ -5337,6 +5337,11 @@
"deep-assign": "^3.0.0" "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": { "@react-native-community/blur": {
"version": "3.6.0", "version": "3.6.0",
"resolved": "https://registry.npmjs.org/@react-native-community/blur/-/blur-3.6.0.tgz", "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", "resolved": "https://registry.npmjs.org/@react-native-community/cli-types/-/cli-types-4.10.1.tgz",
"integrity": "sha512-ael2f1onoPF3vF7YqHGWy7NnafzGu+yp88BbFbP0ydoCP2xGSUzmZVw0zakPTC040Id+JQ9WeFczujMkDy6jYQ==" "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": { "@react-native-community/eslint-config": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/@react-native-community/eslint-config/-/eslint-config-2.0.0.tgz", "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==" "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g=="
}, },
"bc-bech32": { "bc-bech32": {
"version": "file:blue_modules/bc-bech32" "version": "file:blue_modules/bc-bech32",
"integrity": "sha512-lwAn5R4LUhcnyrZgNx3YdDPr5+nseM4kARANcv8i0YOMtnPJRTF7B7TZzS3DYgC6tff/aR2W/3jGoY/SJMs6MA=="
}, },
"bc-ur": { "bc-ur": {
"version": "file:blue_modules/bc-ur" "version": "file:blue_modules/bc-ur",
"integrity": "sha512-k5jZLNgiCMQH5d/4lwsa6DJjH12vzdTEr9qVH1y9UPzJW32Ga1u8iC0KDAqtYnkvh8NR4DW8Fco6D2hphHZLzg=="
}, },
"bcrypt-pbkdf": { "bcrypt-pbkdf": {
"version": "1.0.2", "version": "1.0.2",
@ -19557,7 +19559,8 @@
} }
}, },
"scryptsy": { "scryptsy": {
"version": "file:blue_modules/scryptsy" "version": "file:blue_modules/scryptsy",
"integrity": "sha512-1CdSqHQowJBnMAFyPEBRfqag/YP9OF394FV+4YREIJX4ljD7OxvQRDayyoyyCk+senRjSkP6VnUNQmVQqB6g7w=="
}, },
"secp256k1": { "secp256k1": {
"version": "3.8.0", "version": "3.8.0",

View File

@ -72,8 +72,8 @@
"dependencies": { "dependencies": {
"@babel/preset-env": "7.12.1", "@babel/preset-env": "7.12.1",
"@react-native-async-storage/async-storage": "1.13.4", "@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/blur": "3.6.0",
"@react-native-community/clipboard": "1.5.1",
"@react-native-community/masked-view": "0.1.10", "@react-native-community/masked-view": "0.1.10",
"@react-native-community/push-notification-ios": "1.8.0", "@react-native-community/push-notification-ios": "1.8.0",
"@react-native-community/slider": "3.0.3", "@react-native-community/slider": "3.0.3",

View File

@ -16,7 +16,7 @@ import {
PermissionsAndroid, PermissionsAndroid,
Alert, Alert,
} from 'react-native'; } from 'react-native';
import Clipboard from '@react-native-community/clipboard'; import Clipboard from '@react-native-clipboard/clipboard';
import { Icon } from 'react-native-elements'; import { Icon } from 'react-native-elements';
import Share from 'react-native-share'; import Share from 'react-native-share';
import RNFS from 'react-native-fs'; import RNFS from 'react-native-fs';

View File

@ -14,7 +14,7 @@ import {
Alert, Alert,
findNodeHandle, findNodeHandle,
} from 'react-native'; } from 'react-native';
import Clipboard from '@react-native-community/clipboard'; import Clipboard from '@react-native-clipboard/clipboard';
import Share from 'react-native-share'; import Share from 'react-native-share';
import ReactNativeHapticFeedback from 'react-native-haptic-feedback'; import ReactNativeHapticFeedback from 'react-native-haptic-feedback';
import DocumentPicker from 'react-native-document-picker'; import DocumentPicker from 'react-native-document-picker';

View File

@ -12,7 +12,7 @@ import {
StyleSheet, StyleSheet,
KeyboardAvoidingView, KeyboardAvoidingView,
} from 'react-native'; } from 'react-native';
import Clipboard from '@react-native-community/clipboard'; import Clipboard from '@react-native-clipboard/clipboard';
import { Text } from 'react-native-elements'; import { Text } from 'react-native-elements';
import ReactNativeHapticFeedback from 'react-native-haptic-feedback'; import ReactNativeHapticFeedback from 'react-native-haptic-feedback';

View File

@ -7,7 +7,7 @@ import navigationStyle from '../../components/navigationStyle';
import HandoffComponent from '../../components/handoff'; import HandoffComponent from '../../components/handoff';
import loc from '../../loc'; import loc from '../../loc';
import { BlueStorageContext } from '../../blue_modules/storage-context'; 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'; import ToolTipMenu from '../../components/TooltipMenu';
const dayjs = require('dayjs'); const dayjs = require('dayjs');

View File

@ -19,7 +19,7 @@ import { Icon } from 'react-native-elements';
import { useNavigation, useRoute, useTheme } from '@react-navigation/native'; import { useNavigation, useRoute, useTheme } from '@react-navigation/native';
import { getSystemName } from 'react-native-device-info'; import { getSystemName } from 'react-native-device-info';
import QRCode from 'react-native-qrcode-svg'; 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 showPopupMenu from 'react-native-popup-menu-android';
import ToolTip from 'react-native-tooltip'; import ToolTip from 'react-native-tooltip';
import ReactNativeHapticFeedback from 'react-native-haptic-feedback'; import ReactNativeHapticFeedback from 'react-native-haptic-feedback';

View File

@ -22,7 +22,7 @@ import ReactNativeHapticFeedback from 'react-native-haptic-feedback';
import { PlaceholderWallet } from '../../class'; import { PlaceholderWallet } from '../../class';
import WalletImport from '../../class/wallet-import'; import WalletImport from '../../class/wallet-import';
import ActionSheet from '../ActionSheet'; import ActionSheet from '../ActionSheet';
import Clipboard from '@react-native-community/clipboard'; import Clipboard from '@react-native-clipboard/clipboard';
import loc from '../../loc'; import loc from '../../loc';
import { FContainer, FButton } from '../../components/FloatButtons'; import { FContainer, FButton } from '../../components/FloatButtons';
import { isTablet } from 'react-native-device-info'; import { isTablet } from 'react-native-device-info';

View File

@ -20,7 +20,7 @@ import {
View, View,
} from 'react-native'; } from 'react-native';
import { launchImageLibrary } from 'react-native-image-picker'; 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 { Icon } from 'react-native-elements';
import { useRoute, useNavigation, useTheme, useFocusEffect } from '@react-navigation/native'; import { useRoute, useNavigation, useTheme, useFocusEffect } from '@react-navigation/native';
import { Chain } from '../../models/bitcoinUnits'; import { Chain } from '../../models/bitcoinUnits';