diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..90c4c4525 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +app/android/android-passport-reader/app/google-services.json diff --git a/README.md b/README.md index b62c6b507..99ffcd4f0 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,3 @@ We are actively looking for contributors. Please check the [open issues](https:/ Contact me @FlorentTavernier on telegram for any feedback. Thanks to [Youssef](https://github.com/yssf-io), [Aayush](https://twitter.com/yush_g), [Andy](https://twitter.com/viv_boop), [Vivek](https://twitter.com/viv_boop), [Marcus](https://github.com/base0010) and [Andrew](https://github.com/AndrewCLu) for contributing ideas and helping build this technology, and to [EF PSE](https://pse.dev/) for supporting this work through grants! - - -//check \ No newline at end of file diff --git a/app/App.tsx b/app/App.tsx index 062d90a71..6a0597ef4 100644 --- a/app/App.tsx +++ b/app/App.tsx @@ -65,8 +65,12 @@ import axios from 'axios'; import groth16ExportSolidityCallData from './utils/snarkjs'; import contractAddresses from "./deployments/addresses.json" import proofOfPassportArtefact from "./deployments/ProofOfPassport.json"; +<<<<<<< HEAD import CustomTextInput from './src/components/CustomTextInput'; import EnterDetailsScreen from './src/screens/EnterDetailsScreen'; +======= + +>>>>>>> upstream/main console.log('DEFAULT_PNUMBER', DEFAULT_PNUMBER); const SKIP_SCAN = false; @@ -109,6 +113,7 @@ function App(): JSX.Element { gender: false, expiry_date: false, }); +<<<<<<< HEAD const startCameraScan = () => { NativeModules.CameraActivityModule.startCameraActivity() @@ -131,6 +136,8 @@ function App(): JSX.Element { }); }; +======= +>>>>>>> upstream/main const handleDisclosureChange = (field: keyof typeof disclosure) => { setDisclosure( @@ -140,6 +147,7 @@ function App(): JSX.Element { }; const backgroundStyle = { +<<<<<<< HEAD backgroundColor: Colors.white, flex:1 }; @@ -152,6 +160,11 @@ function App(): JSX.Element { // Include any other styles you want to apply to the input component }); +======= + backgroundColor: isDarkMode ? Colors.darker : Colors.lighter, + }; + +>>>>>>> upstream/main useEffect(() => { const logEventListener = DeviceEventEmitter.addListener('LOG_EVENT', e => { console.log(e); @@ -391,11 +404,16 @@ function App(): JSX.Element { >>>>>> upstream/main /> +======= + backgroundColor: isDarkMode ? Colors.black : Colors.white, + }} + > + + {step === 'enterDetails' ? ( + + Welcome to Proof of Passport + Enter Your Passport Details + Passport Number + + + + Date of Birth + + + + Date of Expiry + + + + + + +>>>>>>> upstream/main ) : null} {step === 'scanning' ? ( @@ -534,7 +610,11 @@ function App(): JSX.Element { ) : null} +<<<<<<< HEAD +======= + +>>>>>>> upstream/main Test functions