diff --git a/app/.gitignore b/app/.gitignore index e2209bbae..b789807bc 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -65,4 +65,5 @@ yarn-error.log # testing /coverage -.env \ No newline at end of file +.env +.expo/ diff --git a/app/App.tsx b/app/App.tsx index 4742e512d..5775545c0 100644 --- a/app/App.tsx +++ b/app/App.tsx @@ -9,7 +9,7 @@ import { useColorScheme, View, Button, - // NativeModules, + NativeModules, DeviceEventEmitter, TextInput, ActivityIndicator, @@ -150,6 +150,11 @@ function App(): JSX.Element { // mint "Proof of Passport" NFT to the address logic here }; + const handleNative = async () => { + const value = await NativeModules.PassportReader.scanPassport(); + console.log(`native tells us ${value}`); + }; + return (