When I run nfc_manager.sh, it auto-launches the app immediately. Then, if I pick option 1. (Launch NFC Reader App), it opens the app, tells me NFC is Disabled or Unknown, and asks if I want to continue—then as soon as I confirm, it fires up a second time. Once the app opens, I’m stuck in the script and have to hit Ctrl+C to exit. It should only launch once—after I pick option 1. and confirm—not on script start and not twice. Also, the script should check at startup whether the app is installed, if it doesn’t already.
Next, when I select option 2. (List Saved Cards), it logs
[*] Saved cards in: /data/data/com.termux/files/home/nfc_cards
but returns No cards found—even though there are two .json files in /storage/emulated/0/Documents/NFCClone/cards/.