screenInfoFromCfg = (req) => {
  const device = uaDevice(req);
  const uaScreenInfos = getState().getConfig("user_agent_screen_infos", {});
  return { device, ...uaScreenInfos[device] };
}
internal helper to get the device specific screen info from config
@param {any} req
@returns object with device type and screen info