avioli / uni_links

Flutter plugin for accepting incoming links.
BSD 2-Clause "Simplified" License
563 stars 303 forks source link

Added support for receiving NFC generated ACTION_NDEF_DISCOVERED inte… #102

Closed timmaffett closed 3 years ago

timmaffett commented 3 years ago

…nts in addtion to the ACTION_VIEW intents that were the only intents supported.

Now NFC cards with NDEF URI records can be used to generate deep links. (I believe this also will address the issue "Not working when app launch from read NFC tag URI in Android #91" from avioli/uni_links source repository.

Signed-off-by: Tim Maffett timmaffett@gmail.com

timmaffett commented 3 years ago

After making this pull request I noticed CathalT's pull request from Aug 16, 2019. That one supports IOS also, and the Android change is identical to mine. I wish I had looked at those pull requests earlier! Perhaps it is just time for a fork of uni_links which supports NFC properly? It has been >1.5 years since CathaIT's pull request?

avioli commented 3 years ago

@timmaffett Thanks, but adding NFC support means that the app will be marked as requiring NFC even if it doesn't actually call any NFC related methods (at least on iOS). Single-platform support is not an option.

I'm considering adding an opt-in support like permission_handler.