Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Blank screen (no permissions requested)? #2

Open
rsend opened this issue Jun 7, 2019 · 1 comment
Open

Blank screen (no permissions requested)? #2

rsend opened this issue Jun 7, 2019 · 1 comment

Comments

@rsend
Copy link

rsend commented Jun 7, 2019

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

@0140454
Copy link
Owner

0140454 commented Jun 10, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants