Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Releases: semlette/nfc_in_flutter

v2.0.5

18 Jul 08:25
a7810de
Compare
Choose a tag to compare
  • Better reading reliability on iOS
  • New property rawPayload on NDEFRecord which contains the full, unedited record payload (#54 by @laurensfischer).

v2.0.4

09 Mar 11:22
Compare
Choose a tag to compare
  • CoreNFC is now a weak_framework. This should fix a crash on iOS devices that doesn't support NFC. (#28 by @mxpazyj)
  • Added alertMessage argument to readNDEF(). This controls the message on the iOS NFC modal. (#25 by @dghilardi)
  • Actually fixed NDEFRecord.languageCode being ignored when writing (what v2.0.3 tried to, but failed)
  • Support for reading and writing to empty tags on Android (#24)
  • Fixed CoreNFC crashing after cancelling reading multiple times in a row (#29 (comment) by @martyfuhry)

v2.0.3

09 Dec 13:52
Compare
Choose a tag to compare
  • Fixed NDEFRecord.languageCode being ignored when writing

v2.0.2

06 Dec 09:48
Compare
Choose a tag to compare
  • Fixed a crash when reading tags containing records with a custom url protocol and well known type URL

v2.0.1

23 Oct 07:13
Compare
Choose a tag to compare
  • Fixed writing TNF text records on iOS (credit to @janipiippow)

v2.0.0

04 Oct 08:45
Compare
Choose a tag to compare
  • Added noSounds flag to NFCNormalReaderMode

On Android, this tells the system not to play sounds when a NFC chip is scanned.

  • Support for writing NDEF messages has been added

Get acccess to tags using the new .tag property on messages, which you can
use to connect and write to tags.

  • Added the following methods for constructing NDEF messages:

NDEFRecord.empty for empty records

NDEFRecord.plain for text/plain records

NDEFRecord.type for records with custom types

NDEFRecord.text for records with well known text types

NDEFRecord.uri for records with well known URI types

NDEFRecord.absoluteUri

NDEFRecord.external

NDEFRecord.custom

  • COULD BE BREAKING: Records with type T and U (with well known TNF) will
    now be correctly constructed. URI records will have the URL prefix added to the
    .payload and Text records will now correctly have thr first prefix byte removed from the .payload. If you want the precise value, you can use the new .data property which excludes the URL prefix of URI records and language codes of Text records.

  • Added .data property to NDEFRecord which excludes URL prefixes and
    language codes from records with well known types.

  • Added .languageCode property to NDEFRecord which will contain the language
    code of a record with a well known text type.

  • Updated the .tnf property on NDEFRecords. This is now an enumerable
    (NFCTypeNameFormat) with it's value mapped to the correct TNF value.
    This works on both Android and iOS where as it previously did not.

v1.2.0

18 Jul 09:11
Compare
Choose a tag to compare
  • Added id property to NDEFMessage which contains the NFC tag's UID
  • Support for more card types on Android

v1.1.1

11 Jul 08:59
Compare
Choose a tag to compare

Bugfixes

  • Android sessions are now closed properly

v1.1.0

06 Jul 16:07
Compare
Choose a tag to compare
  • Added support for reading from emulated host cards

First release

23 Jun 16:32
Compare
Choose a tag to compare

First release, woohoo!

  • Support for reading NDEF formatted NFC tags on both Android and iOS