Re: [web-nfc] "typedef DOMString NDEFRecordType" is expected to be case sensitive or not? (#331)

If the answer is yes, `null` registrable domain would be a problem, since Android SDK says [1] that both domain and type should be non-empty.

> The unchecked exception IllegalArgumentException will be thrown if the domain and type have serious problems, for example if either field is empty, so always catch this exception if you are passing user-generated data into this method.

[1] https://developer.android.com/reference/android/nfc/NdefRecord.html#createExternal(java.lang.String,%20java.lang.String,%20byte%5B%5D)

-- 
GitHub Notification of comment by leonhsl
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/331#issuecomment-529335853 using your GitHub account

Received on Monday, 9 September 2019 07:29:49 UTC