USB joystick work on windows and doesn't work on android

I am experiencing issues with the new input system. I managed to connect and use a USB joystick in the editor, and it works fine in the Windows build, but as soon as I build for Android, it stops working even though it is detected.

On Windows, it says “Microntek USB Joystick” and the input works.
On Android, it says “AndroidJoystick Microntek USB Joystick” but the input does not work.

This script is designed to detect the name of the joystick and verify if the input is functioning.

public class UniversalInputDetector : MonoBehaviour
{
    public Text text;
    public Text inputField;
    void Update()
    {
        if (Joystick.all.Count > 0)
        {
            Joystick joystick = Joystick.all[0];
            string activeInputs = "Active Inputs:\n";
            text.text = $"Device: {joystick.name}";
            foreach (InputControl control in joystick.allControls)
            {
                if (control is ButtonControl button && button.isPressed)
                {
                    activeInputs += $"{control.name}: Pressed\n";
                }
                else if (control is AxisControl axis)
                {
                    float value = axis.ReadValue();
                    if (Mathf.Abs(value) > 0.1f) 
                    {
                        activeInputs += $"{control.name}: {value:F2}\n";
                    }
                }
                else
                {
                    var value = control.ReadValueAsObject();
                    if (value != null && value.ToString() != "0")
                    {
                        activeInputs += $"{control.name}: {value}\n";
                    }
                }
            }

            Debug.Log(activeInputs);
            inputField.text = activeInputs;
        }
        else
        {
            Debug.Log("No joystick connected.");
            text.text = "No joystick connected.";
        }
    }
}

Note : am using Unity 6 and input system version 1.11.2

After further debugging, this is the JSON I received from the device.

{
    "name": "AndroidJoystick",
    "extend": "Joystick",
    "extendMultiple": [],
    "format": "AGC ",
    "beforeRender": "",
    "runInBackground": "",
    "commonUsages": [],
    "displayName": "",
    "description": "",
    "type": "UnityEngine.InputSystem.Android.AndroidJoystick, Unity.InputSystem, Version=1.11.2.0, Culture=neutral, PublicKeyToken=null",
    "variant": "Joystick",
    "isGenericTypeOfDevice": false,
    "hideInUI": false,
    "controls": [
        {
            "name": "trigger",
            "layout": "Button",
            "variants": "",
            "usage": "",
            "alias": "",
            "useStateFrom": "",
            "offset": 0,
            "bit": 4,
            "sizeInBits": 0,
            "format": "",
            "arraySize": 0,
            "usages": [
                "PrimaryTrigger",
                "PrimaryAction",
                "Submit"
            ],
            "aliases": [],
            "parameters": "",
            "processors": "",
            "displayName": "Trigger",
            "shortDisplayName": "",
            "noisy": false,
            "dontReset": false,
            "synthetic": false,
            "defaultState": "",
            "minValue": "",
            "maxValue": ""
        },
        {
            "name": "stick",
            "layout": "Stick",
            "variants": "",
            "usage": "",
            "alias": "",
            "useStateFrom": "",
            "offset": 4,
            "bit": 4294967295,
            "sizeInBits": 0,
            "format": "VEC2",
            "arraySize": 0,
            "usages": [
                "Primary2DMotion"
            ],
            "aliases": [],
            "parameters": "",
            "processors": "stickDeadzone",
            "displayName": "Stick",
            "shortDisplayName": "",
            "noisy": false,
            "dontReset": false,
            "synthetic": false,
            "defaultState": "",
            "minValue": "",
            "maxValue": ""
        }
    ]
}