Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Plugin installation fails after 2.2.3 release for existing apps #2383

@MichaelMarner

Description

@MichaelMarner

Expected Behaviour

Assuming semantic versioning, releasing a patch release 2.2.3 would not cause existing apps to stop building.

Actual Behaviour

Existing apps configured to user phonegap-plugin-push ^2.2.0 will stop working. The plugin will fail to install because 2.2.3 introduced a dependency on cordova-support-google-services:

Installing "phonegap-plugin-push" for android

Failed to get module path for cordova-support-google-services. Make sure it is installed manually via NPM.

Steps to Reproduce

  1. Have an app that has been working for a long time with phonegap-plugin-push ^2.2.0
  2. Try to do a fresh build today, npm will fetch 2.2.3 and will fail to install the plugin because of the missing dependency

I'm not sure if this plugin is using strict semver versioning, but this patch release breaks existing apps as described above. They will need to be changed to use an exact version (2.2.2), or install this new dependency.

In addition, there is currently no documentation for the change in installation requirements for new apps.

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