Skip to content

<param name="onload" value="true" /> #973

Open
@janpio

Description

@janpio

https://cordova.apache.org/docs/en/9.x/guide/platforms/android/plugin.html#plugin-initialization-and-lifetime
https://cordova.apache.org/docs/en/9.x/guide/platforms/ios/plugin.html#plugin-initialization-and-lifetime

both have this:

Plugins are not instantiated until they are first referenced by a call from JavaScript, unless with an onload name attribute is set to "true" in config.xml.

Is this actually true, config.xml? Or does this refer to plugin.xml?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions