Creating a desktop Application for a Web Application using Electron gives Third-party cookie warning
When the web app is run on a normal browser the authentication can proceed with no problems, but if I use the application created by Electron and press login it loads the next page but immediately redirects me to the auth page. And if I look in the console for the app it says: Third-party cookie will be blocked. Learn more in the Issues tab. I forgot to mention the web app uses Firebase and ChatEngine.io to store my messages and users.
How to capture screenshot of full screen using ElectronJS and NextJS (Nextron)
I’m trying to capture a screenshot of my entire screen using ElectronJS and NextJS (project was created using Nextron). I’ve been told to use the desktopCapturer API, but those tutorials want me to put the code in main.js
. However, my Nextron project doesn’t have a main.js
file. Additionally, when I try to import desktopCapturer
in a page like home.jsx
, it says fs
module is not found. I’ve done npm i fs
, but it still doesn’t work.