Fixed MFC 1k/4k issue and Ultralight detection

This commit is contained in:
michael
2026-01-26 14:06:49 -08:00
parent b27baf5dec
commit 2409ec3625
10 changed files with 237 additions and 57 deletions

View File

@@ -1,13 +1,13 @@
import React, {useCallback, useEffect} from 'react';
import {StyleSheet, View, Platform} from 'react-native';
import {Button, Text} from 'react-native-paper';
import type {ScanScreenProps} from '../types/navigation';
import {DTColors} from '../theme';
import {useScan} from '../hooks';
import {getScanInstructions} from '../services/nfc';
import {ScanAnimation} from '../components';
import React, { useCallback, useEffect } from 'react';
import { StyleSheet, View, Platform } from 'react-native';
import { Button, Text } from 'react-native-paper';
import type { ScanScreenProps } from '../types/navigation';
import { DTColors } from '../theme';
import { useScan } from '../hooks';
import { getScanInstructions } from '../services/nfc';
import { ScanAnimation } from '../components';
export function ScanScreen({navigation}: ScanScreenProps) {
export function ScanScreen({ navigation }: ScanScreenProps) {
const {
state,
tag,
@@ -194,6 +194,12 @@ export function ScanScreen({navigation}: ScanScreenProps) {
<Text variant="bodyLarge" style={styles.instructionText}>
{getScanInstructions()}
</Text>
<Text variant="headlineSmall" style={{ paddingTop: 15, paddingBottom: 10 }}>
Not Scanning?
</Text>
<Text variant="bodyLarge" style={styles.instructionText}>
Phones can only read high frequency (13.56 MHz) -- low and ultra high frequency transponders cannot be scanned.
</Text>
{scanProgress && scanProgress.current > 1 && (
<Text variant="bodySmall" style={styles.progressText}>
{scanProgress.step}