So it’s only ‘AGENT’ logic works wrong on the two phones.
Could you help check? Below are the introductions of the phones;
Maybe SamSung Galaxy S9+ has “Infinity Display”? But “HuaWei Hornor v10” does not have “Infinity Display”.
I’d recommend that you use DeviceInfoProvider and DeviceInfo directly instead of the standard agent profiles. Unfortunately, we cannot take into account all possible devices in standard profiles. Also, you should know that Screen Agent feature is deprecated and removed since version 7.0.
Thanks, but that way seems not suit to my project. I have many screens have totally different layout in phone but same component id in java code, there are many logic with the component id. Simply hide/show does not work for me.
AGENT is a good way, it seems hard without it. Could you suggest a way that I can implement similar agent feature in cuba7? I mainly need to have different layout in phone but with same component id in java.
Unfortunately, we have decided not to support them any more during the complexity of device detection and limitations that cannot be implemented with new Screen API. Agents are not supported in 7.0 and will not be implemented in the future.