Maximum Windows

📘

To improve performance for resource-intensive apps you may set a maximum number of windows that are open simultaneously.

Opening many web view windows within your app can result in performance issues, particularly on older devices with limited memory/system resources.

To improve performance for resource-intensive apps you may set a maximum number of windows that are open simultaneously using the navigation.maxWindows appConfig parameter. The number to select will depend on the resource requirements of the pages within your app.

"navigation": {
    "maxWindows": 3
    ...
  }

The main web view window of your app will always remain open. Once maxWindows has been exceeded additional windows will be automatically closed starting with the window that was open first.