apache/cordova-electron

How to install keytar(Node module to manage system keychain) in cordova electron@3.0.0?

NishilSB opened this issue · 0 comments

Bug Report

Problem

keytar package is not picked after building cordova-electron

What is expected to happen?

npm i keytar should install keytar in packaged cordova-electron

What does actually happens?

keytar package is getting removed from the package.json after building the app

Information

1-npm i keytar,
2. use any keytar function
3. build the app using cordova build electron

Command or Code

cordova build electron

Environment, Platform, Device

platform - windows 10

Version information

cordova 11.0.0
cordova-electron 3.0.0

Checklist

  • [* ] I searched for existing GitHub issues
  • [* ] I updated all Cordova tooling to most recent version
  • [ *] I included all the necessary information above