Skip to content

Feature Request: Add support for cordova PreferredContentMode setting #609

Open
@kushagranigam

Description

@kushagranigam

With Cordova iOS v6.1.0, a new preference PreferredContentMode is added for use. This setting allows developers to set preferredContentMode configuration for WKWebView available in iOS 13.0 and newer versions.

At present, adding iOS platform using ionic cordova platform add ios creates a CordovaLib project with CDVWebViewEngine.m in Private/Plugins directory that provides usage for this setting. Although, this code will not execute unless cordova-plugin-ionic-webview is removed from plugins. Once removed from plugins, the platform can be detected properly on iPadOS 13+ when mobile value is provided for PreferredContentMode preference in config.xml. In other cases, the platform is detected as desktop web browser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions