Huawei devices open Huawei Pay instead of my Flutter NFC app when scanning a tag during on my app

1 week ago 8
ARTICLE AD BOX

I’m building an NFC app in Flutter, and on Huawei devices I have a problem: when I scan any NFC tag, Huawei Pay automatically opens, and my app goes to the background. My app receives the NFC event, but Huawei Pay still takes over the screen.

I’m using standard NFC reading (no payment protocols), and this does not happen on Samsung/Pixel devices.

How can I prevent Huawei Pay from launching and force my Flutter app to stay in the foreground when an NFC tag is scanned? Is there any way to override this behavior via Flutter or Android native code?

Read Entire Article