-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit e24406a. # Conflicts: # packages/app/scripts/eas-build-pre-install.sh
- Loading branch information
Showing
11 changed files
with
121 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
module.exports = { | ||
dependencies: { | ||
// disable frameprocessor and vision-camera-code-scanner | ||
// until reanimated v3 offcially supports v8 | ||
'vision-camera-code-scanner': { | ||
platforms: { | ||
android: null, // disable Android platform, other platforms will still autolink if provided | ||
}, | ||
}, | ||
'react-native-vision-camera': { | ||
platforms: { | ||
android: null, // disable Android platform, other platforms will still autolink if provided | ||
}, | ||
}, | ||
}, | ||
// dependencies: { | ||
// // disable frameprocessor and vision-camera-code-scanner | ||
// // until reanimated v3 offcially supports v8 | ||
// 'vision-camera-code-scanner': { | ||
// platforms: { | ||
// android: null, // disable Android platform, other platforms will still autolink if provided | ||
// }, | ||
// }, | ||
// 'react-native-vision-camera': { | ||
// platforms: { | ||
// android: null, // disable Android platform, other platforms will still autolink if provided | ||
// }, | ||
// }, | ||
// }, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React, { FC } from 'react'; | ||
|
||
import { BarCodeScanner } from 'expo-barcode-scanner'; | ||
import { Camera } from 'expo-camera'; | ||
|
||
import { ScanCameraProps } from './types'; | ||
|
||
const ScanCamera: FC<ScanCameraProps> = ({ | ||
style, | ||
isActive, | ||
children, | ||
onQrcodeScanned, | ||
}) => | ||
isActive ? ( | ||
<Camera | ||
style={style} | ||
onBarCodeScanned={({ data }) => onQrcodeScanned(data)} | ||
barCodeScannerSettings={{ | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access | ||
barCodeTypes: [BarCodeScanner.Constants.BarCodeType.qr], | ||
}} | ||
> | ||
{children} | ||
</Camera> | ||
) : null; | ||
ScanCamera.displayName = 'ScanCamera'; | ||
|
||
export default ScanCamera; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/node_modules/@starcoin/starcoin/dist/starcoin.js b/node_modules/@starcoin/starcoin/dist/starcoin.js | ||
index cd80f13..80fb4b9 100644 | ||
--- a/node_modules/@starcoin/starcoin/dist/starcoin.js | ||
+++ b/node_modules/@starcoin/starcoin/dist/starcoin.js | ||
@@ -438,8 +438,8 @@ var BinarySerializer = /*#__PURE__*/function () { | ||
var low = BigInt(value) & BinarySerializer.BIG_32Fs; | ||
var high = BigInt(value) >> BinarySerializer.BIG_32; // write little endian number | ||
|
||
- this.serializeU32(Number(low)); | ||
- this.serializeU32(Number(high)); | ||
+ this.serializeU32(parseInt(low)); | ||
+ this.serializeU32(parseInt(high)); | ||
}; | ||
|
||
_proto.serializeU128 = function serializeU128(value) { | ||
@@ -475,8 +475,8 @@ var BinarySerializer = /*#__PURE__*/function () { | ||
var low = BigInt(value) & BinarySerializer.BIG_32Fs; | ||
var high = BigInt(value) >> BinarySerializer.BIG_32; // write little endian number | ||
|
||
- this.serializeI32(Number(low)); | ||
- this.serializeI32(Number(high)); | ||
+ this.serializeI32(parseInt(low)); | ||
+ this.serializeI32(parseInt(high)); | ||
}; | ||
|
||
_proto.serializeI128 = function serializeI128(value) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters