執行
ionic cordova plugin add cordova-plugin-qrscanner
出現
Failed to install 'cordova-plugin-qrscanner': CordovaError: Failed to fetch plugin cordova-plugin-swift-support via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. Error: cmd: Command failed with exit code 4294963238 Error output: ...
後找到說明,加上參數
ionic cordova plugin add cordova-plugin-qrscanner --nofetch
Ref.https://cordova.apache.org/news/2017/05/04/cordova-7.html
