-
Notifications
You must be signed in to change notification settings - Fork 69
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
While using Navigation in MAUI on Android NFC tag is not scanned #140
Comments
Hello, did you manage to solve this error? |
Hi @francescobuffetti , I ran into this same problem in a xamarin forms app. I did was that in the button that opens the page ReadPage.xaml (scanner) I changed:
by
Maybe this same thing can be giving problems in MAUI |
Hi Francis, I'm trying to do the same thing here, but I'm having a problem trying to start the listener on the page load instead of pressing a button to start listening for an NFC tag. I've tried different measures, in the constructor of the page, but OnResume must be fired after OnCreate. Tried to call it in the constructor, but it fails. Any luck with this? Thanks |
Any news on this? |
Description
I am making a MAUI application which use Navigation. I have a button in the MainPage which navigates to ScanNFC page. In this page, the scan is not working. If ScanNFC page is the root page, then everything is fine and the tag is scanned.
Steps to Reproduce
Expected Behavior
The tag should be scanned as normal.
Actual Behavior
The tag is not scanned if i am using navigation, but it is scanned if ScanNFC page is the root page.
The text was updated successfully, but these errors were encountered: