LoginSignup
1
1

More than 5 years have passed since last update.

[PhoneGap/Cordova] 古いバージョンのプラグインをインストールする方法

Last updated at Posted at 2015-02-21

PhoneGapのプラグインのバージョンが変わった時、それまで動作していたものが動かなくなるケースが時々あると思います。
古いバージョンでも良いから動作させたいという時のために、PhoneGapには古いバージョンのプラグインをインストールする方法が存在します。

最新版のプラグインをインストールする方法はご存知の通り、以下のようになります。

install_phonegap_plugin.sh
$ cordova plugin add [プラグインのID]

古いバージョンのプラグインをインストールしたい場合は、以下のようにプラグインのIDの後に@を付けた後に、インストールしたいバージョンを指定します。

install_phonegap_plugin_with_version.sh
$ cordova plugin add [プラグインのID]@[バージョン]

参考情報

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1