Skip to content

Support for NET 10 #11

@b1ade68

Description

@b1ade68

Application does not work if we upgrade to net 10.
App crash on line 62 of class DWIntentReceiver, it seems a NET 10 problem.

public void DWDecodeData(Intent _intent)
{

    var jual = _intent.Extras.Get("com.symbol.datawedge.decode_data");

    var javaList = jual as JavaList;

    if (javaList != null)
    {
        for (int i = 0; i < javaList.Size(); i++)
        {
            byte[] bytes = (byte[])javaList.Get(i);
            foreach (var item in bytes)
            {
                Log.Info("decode_data", ""+item);
            }


        }
    }

}

in this method javaList.Get(i) throws an exception on index 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions