aidanas commented on issue #134:
URL: 
https://github.com/apache/cordova-electron/issues/134#issuecomment-636858212


   I get the same issue for builds on MacOS. 
   Interestingly, I was getting same issue on basic plain electron app (no 
cordova) and the solution was to add your GOOGLE_API_KEY to process.env within 
main.js file. 
   `process.env.GOOGLE_API_KEY = 'your key here';`
   However adding the same line to `cdv-electron-main.js` for cordova electron 
project did not solve the issue. 
   Is there something special Cordova does to `cdv-electron-main.js` file which 
would make settings `process.env` variables not available? 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to