Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for #49 to help enable NFC #53

Closed
wants to merge 3 commits into from
Closed

Conversation

nickoe
Copy link

@nickoe nickoe commented Jan 11, 2023

I have tried to fix #49 and it appears to work ok for me on Galaxy A53 5G (SM-A546B).

This may not be the best way to add this check and help the user to enable NFC, but this is how far my android app dev skills go... :S


This essentially forces the user to enable NFC to even be able to enter
the passport number etc., but you can't really do anything with the app
anyways. So I figured it was better to just forcefully request the user
to enable it?

It shows the help text in a toast message.


Please review this and merge or reject this as you see fit.

This essentially forces the user to enable NFC to even be able to enter
the passport number etc., but you can't really do anything with the app
anyways. So I figured it was better to just forcefully request the user
to enable it?

It shows the help text in a toast message.

Fixes tananaev#49
Because Android Studio was suggesting this
@nickoe nickoe closed this Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check if NFC is activated on the phone
2 participants