Plugin.NFC icon indicating copy to clipboard operation
Plugin.NFC copied to clipboard

Format non dfef tags

Open dev-vinicius opened this issue 3 years ago • 7 comments

Add method to read and format non NDEF tags. The tag must be NDEF formatable.

Add property to get Identifier as string on ITagInfo and TagInfo implementation.

Credits to: https://github.com/tanersahincom -> https://github.com/tanersahincom/NFCAndroidExample

dev-vinicius avatar Apr 07 '22 01:04 dev-vinicius

@tanersahincom I noticed you dont have a license on your code example, is it ok if we merge this in?

saamerm avatar Apr 07 '22 15:04 saamerm

@dev-vinicius could you please share a video of this code working on iOS & Android?

saamerm avatar Apr 07 '22 15:04 saamerm

@tanersahincom I noticed you dont have a license on your code example, is it ok if we merge this in?

How can i add a license ? What is this license ?

dev-vinicius avatar Apr 07 '22 16:04 dev-vinicius

@dev-vinicius A license is basically permission for people to use/copy/share your code. If there is no license on someone's repository, by default it is considered that there's no permission to use that person's code 😞

saamerm avatar Apr 07 '22 17:04 saamerm

@dev-vinicius A license is basically permission for people to use/copy/share your code. If there is no license on someone's repository, by default it is considered that there's no permission to use that person's code 😞

I understand. That's fine.

The ideia is to use the NdefFormatable.Get(_currentTag) instead of Ndef.Get(_currentTag) because the NdefFormatable class has the method format that initalizes a tag (ndef formatable only) in ndef format.

After format, the reading and writing starts working.

dev-vinicius avatar Apr 07 '22 23:04 dev-vinicius

Can this PR be resolved in any way. This is the solution to my problem as well, but to be able to use it, it has to be in the library. I copied the code for now, but that defeats the purpose of this library

Wautvda avatar Oct 06 '22 08:10 Wautvda

Please find a way to resolve this PR. This is the solution to my problem as well

ChethanReddy12 avatar Oct 12 '22 07:10 ChethanReddy12