To support AAB upload (#4), reduce dependencies (adbkit-apkreader), and reduce command line parameters, a configuration file should be created. The config file should have a few static options including the package ID and location of the key.
Proposal
Location:apkup.json/apkup.js or specified via --config opt
Schema:
module.exports = {
"packageName": "io.event1.app", // ID of the Android package
"key": "./auth.json" // path to the Google API key
}
Questions
[ ] Should the key option be the key itself or a path to the key? I'm thinking it should be the path so that secrets and config are not mixed.
To support AAB upload (#4), reduce dependencies (
adbkit-apkreader
), and reduce command line parameters, a configuration file should be created. The config file should have a few static options including the package ID and location of the key.Proposal
Location:
apkup.json
/apkup.js
or specified via--config
optSchema:
Questions
key
option be the key itself or a path to the key? I'm thinking it should be the path so that secrets and config are not mixed.