Not able to type using Android automation in browserstack

Hi,

I am not able to type in any of the textbox in browserstack cloud agent . below is the code where it is throwing exception in case of android but in case of IOS , it is returning false which is fine.

private bool TrySwitchToActiveElement(TExecutor executor, ref IWebElement element)
{
try
{
element = executor.Driver.SwitchTo().ActiveElement();

    return true;
}
catch (NoSuchElementException ex)
{
    executor.Log.Error(ex, $"There is no active mobile element to set text");
}
catch (Exception ex)
{
    executor.Log.Error(ex);
}

return false;

}

Kindly assist.

@wreed @mykola-mokhnach any inputs from your side ?

i have already used the approach where i am firstly clicking on element and then performing send keys , in that case i am able to type the text but enter is not working in that case.

If this issue only happens to BS then consider creating an issue with their customer support.