apache / apache/cordova-electron
How to install keytar(Node module to manage system keychain) in cordova electron@3.0.0?
- Dominant language
- JavaScript
- Stars
- 135
- Forks
- 60
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 5
Description
# 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
Contributor guide
Research direction
Start by reproducing the issue on Windows 10 with npm i keytar followed by cordova build electron, then compare package.json and the packaged app before and after the build. The issue is done when keytar is retained in the packaged cordova-electron app and its functions work after building.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, javascript, node.js
- Domain
- build-system, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100