[web-nfc] android.nfc.NdefRecord.createXXX() does not have a parameter for record's id (#410)

leonhsl has just created a new issue for https://github.com/w3c/web-nfc:

== android.nfc.NdefRecord.createXXX() does not have a parameter for record's id ==
In our impl, we use android.nfc.NdefRecord.createXXX() helper functions to construct {Text,Uri,Mime,External} records then write them into nfc tags, as we want to write the record's id now, we found that these helper functions do not allow us to pass any id information.

We can switch to use NdefRecord ctor which can accept the id, but it lacks lots of checks those helpers do. Any good idea for this? @beaufortfrancois @reillyeon @riju 

Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/410 using your GitHub account

Received on Thursday, 24 October 2019 09:18:50 UTC