I have a ionic cordova app, for which I am creating a .appx file using electron-builder.As per my knowledge electron-builder takes all the configuration from build field of package.json file.While uploading the created appx on store i am getting below error:
Invalid package identity name
Invalid package family name
I am not able to understand where can I add the configuration for the above error. I have tried associating my app with windows store which did create some of the changes in manifest files, but not for all the platform manifest files. Due to internally distributed package dependency i cannot use Visual Studio to create appx. I referred to electron-builder-appx But if i add those mentioned fileds in the package.json then i get "Unknown property Error". Here is the package.json file.
package.json build field config:
{
"build": {
"extraFiles": [
"some-internal-plugin-dist"
],
"appId": "myCompany.myApp",
"nsis": {
"perMachine": true,
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"squirrelWindows": {},
"files": [
"electron.js",
"www/**/*"
],
"win": {
"certificateFile": "./certs/CordovaApp.wincert.pfx",
"icon": "win.ico",
"publisherName": "my Company",
"target": [
{
"target": "nsis",
"arch": [
"ia32"
]
}
]
},
"nodeGypRebuild": "false",
"npmRebuild": "false"
}
}
I also did refer to the question asked on the same but nothing helped.Can anyone please help me with this?