Skip to content

[v4.0.0-beta.7] NfcManager.mifareClassicHandlerAndroid.mifareClassicWriteBlock crashes because MIFARE_BLOCK_SIZE is undefined #820

@mi1ton-dprim

Description

@mi1ton-dprim

Hello!
NfcManager.mifareClassicHandlerAndroid.mifareClassicWriteBlock throws [Error: data should be a non-empty Array[undefined] of integers (0 - 255)] .

I have to:

if (undefined === NativeModules.NfcManager.MIFARE_BLOCK_SIZE) {
NativeModules.NfcManager.MIFARE_BLOCK_SIZE = 16;
}

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