nfc-uid-emulator icon indicating copy to clipboard operation
nfc-uid-emulator copied to clipboard

Blank screen (no permissions requested)?

Open rsend opened this issue 5 years ago • 1 comments

Hi, I'm trying to run this on a Unihertz Atom, which uses ST21NFC. Your app builds and deploys fine, but when I open it I get a blank white screen.

If I then scan a tag, I get a black screen which belongs to a window titled "NFC Service", but nothing else.

I tried executing the command you suggested in "Application crashed" issue (strings $(ls /system/lib*/nfcjni*) ), but there is no return value.

The logcat after deploying ends with "I/InstantRun: starting instant run server: is main process " and no errors.

Any ideas what I could look for?

R

rsend avatar Jun 07 '19 19:06 rsend

At first, I assume that configuration path can be fetched from NFC native library, such as /system/lib/nfcjni.so.

If there is no output from strings $(ls /system/lib*/nfcjni*), maybe you can follow the steps:

1.Confirm that your device supports customizing NFC unique identifier. 2. Try to find configuration manually by executing find / -name "*nfc*.conf", etc. 3. Figure out which field is responsible for customizing unique identifier.

0140454 avatar Jun 10 '19 02:06 0140454