Skip to content

Bug when parse an external android package record #5

@jhzzzz

Description

@jhzzzz

Hi, thanks for your library, it do helped me save a lot of time.

Just found a little bug, when parse a ndefmessage buffer which incude an external type of android package like android.com:pkg with payload com.blabla, it will failed with chunk not support.

the reason is NdefMessage.swift line 201:

typeIndex += 1; changed to typeIndex += typeLength; is ok.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions