Browse Source

Merge branch 'filepicker' of https://github.com/BlueWallet/BlueWallet into filepicker

ref-lint-hooks
Marcos Rodriguez 5 years ago
parent
commit
6f162bff97
  1. 6
      ios/Podfile.lock
  2. 506
      package-lock.json
  3. 2
      screen/send/psbtWithHardwareWallet.js

6
ios/Podfile.lock

@ -76,6 +76,8 @@ PODS:
- React
- react-native-camera/RN (3.4.0):
- React
- react-native-document-picker (3.2.0):
- React
- react-native-haptic-feedback (1.7.1):
- React
- react-native-image-picker (1.1.0):
@ -169,6 +171,7 @@ DEPENDENCIES:
- react-native-biometrics (from `../node_modules/react-native-biometrics`)
- "react-native-blur (from `../node_modules/@react-native-community/blur`)"
- react-native-camera (from `../node_modules/react-native-camera`)
- react-native-document-picker (from `../node_modules/react-native-document-picker`)
- react-native-haptic-feedback (from `../node_modules/react-native-haptic-feedback`)
- react-native-image-picker (from `../node_modules/react-native-image-picker`)
- react-native-randombytes (from `../node_modules/react-native-randombytes`)
@ -243,6 +246,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/@react-native-community/blur"
react-native-camera:
:path: "../node_modules/react-native-camera"
react-native-document-picker:
:path: "../node_modules/react-native-document-picker"
react-native-haptic-feedback:
:path: "../node_modules/react-native-haptic-feedback"
react-native-image-picker:
@ -331,6 +336,7 @@ SPEC CHECKSUMS:
react-native-biometrics: c892904948a32295b128f633bcc11eda020645c5
react-native-blur: cad4d93b364f91e7b7931b3fa935455487e5c33c
react-native-camera: 203091b4bf99d48b788a0682ad573e8718724893
react-native-document-picker: e3516aff0dcf65ee0785d9bcf190eb10e2261154
react-native-haptic-feedback: 22c9dc85fd8059f83bf9edd9212ac4bd4ae6074d
react-native-image-picker: 3637d63fef7e32a230141ab4660d3ceb773c824f
react-native-randombytes: 991545e6eaaf700b4ee384c291ef3d572e0b2ca8

506
package-lock.json

File diff suppressed because it is too large

2
screen/send/psbtWithHardwareWallet.js

@ -207,7 +207,7 @@ export default class PsbtWithHardwareWallet extends Component {
exportPSBT = async () => {
const fileName = `${Date.now()}.psbt`;
if (Platform.OS === 'ios') {
const filePath = RNFS.TemporaryDirectoryPath + `/${fileName}`;
const filePath = RNFS.TemporaryDirectoryPath + `/${Date.now()}.psbt`;
await RNFS.writeFile(filePath, this.state.isFirstPSBTAlreadyBase64 ? this.state.psbt : this.state.psbt.toBase64(), 'ascii');
Share.open({
url: 'file://' + filePath,

Loading…
Cancel
Save