env.example

This commit is contained in:
0xturboblitz
2023-08-24 11:46:46 +02:00
parent 0eaf82193e
commit bd52315974
2 changed files with 8 additions and 2 deletions

6
app/.env.example Normal file
View File

@@ -0,0 +1,6 @@
# replace with your values
DEFAULT_PNUMBER=13HF12435
DEFAULT_DOB=060222
DEFAULT_DOE=240312
DEFAULT_ADDRESS=0xf4a...a2f
LOCAL_IP=http://192.168.1.1:3000

View File

@@ -234,13 +234,13 @@ function App(): JSX.Element {
style={styles.input}
onChangeText={setDateOfBirth}
value={dateOfBirth}
placeholder="Date of Birth (YYYY-MM-DD)"
placeholder="Date of Birth (YYMMDD)"
/>
<TextInput
style={styles.input}
onChangeText={setDateOfExpiry}
value={dateOfExpiry}
placeholder="Date of Expiry (YYYY-MM-DD)"
placeholder="Date of Expiry (YYMMDD)"
/>
<Button title="Scan Passport with NFC" onPress={scan} />
<Button title="Call native method" onPress={handleNative} />