fabiofabbri84 commented on issue #214:
URL: 
https://github.com/apache/cordova-electron/issues/214#issuecomment-1164347885

   Hi, I noticed the same as I was working on upgrading an app from 
cordova-electron 1.x to 3.x
   
   With 1.x I was able to access the main process using the options 
nodeIntegration = true and contextIsolation = false in 
browserWindow.webPreferences, but as this is not supported anymore in 
cordova-electron 3.x, I deep dived into the code to understand how it works and 
how can I create a plugin that runs in the main process.
   
   I'm going to fork cordova-electron to try to this, and also to call the 
framework function with parameters (succes, fail, args) to make it more similar 
to "browser" platform and address the fact that if you have to run the error 
function, Electron returns a string wrapped in an Error object.


-- 
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.

To unsubscribe, e-mail: [email protected]

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