LoginSignup
0
0

More than 5 years have passed since last update.

[ionic]com.ionic.keyboardのplugin idの変更

Posted at

com.ionic.keyboardのplugin idが変更されていてはまったのでメモ。
id変更前の古いアプリでionic state restoreをすると下記のようなエラーになります。

HogeBook:AppSample hage$ ionic state restore
Attempting to restore your Ionic application from package.json

Restoring Platforms

cordova platform add ios
cordova platform add android

Restore platforms is complete

Restoring Plugins

cordova plugin add com.ionic.keyboard
 ✗ Caught exception:
 undefined 

Mind letting us know? https://github.com/driftyco/ionic-cli/issues

plugin idの名称を修正する

以下のようにidを修正して、ionic state restoreを再度実行すればOKです。

package.json
{
  "cordovaPlugins": [
    "ionic-plugin-keyboard"
  ]
}

参考
https://github.com/driftyco/ionic-plugin-keyboard/issues/83

0
0
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
0
0