Support for NFCActivator#3
Support for NFCActivator#3udevsharold wants to merge 1 commit intoarandomdev:masterfrom udevsharold:master
Conversation
|
I don't think this fits with the goal of this project, which is to enable native background tag reading. In my opinion, a better course of action would be to update NFCActivator for iOS 13 (or fork it into NFCActivator13 to avoid apt dependencies). The only thing that needs to be done is to find a method in Springboard that receives the NFC event. of course, this should be discussed over there. Furthermore, by updating NFCActivator, we can avoid having 2 event delivery systems. |
|
Yeah, that does make sense if you wanted to keep this project as native-background-tag-reading-only.
I did a pull request on NFCActivator, this should probably avoids the dependencies issue: https://github.com/arandomdev/NFCActivator/blob/c1e202d8fe47afdade5be74f1f5753639c4a4474/control#L3
That make sense, if the method does exist. I haven't do much digging on there tbh. |
|
Thanks for understanding |
|
Ok did a bit more digging, apparently nfcd only sends out an event when the tag contains a valid URL scheme. So we would have to integrate NFCBackground for NFCActivator to work. |
This is basically a "Copy-Paste" from some of NFCBackground codes for the support of NFCActivator.