-
-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not Working IPC #413
Comments
I saw a Roadmap for future updates of this project, where everything will be fixed. Could you tell me when to expect a future update? |
My team and I are also facing the same issue. It would be helpful if we could see a working project |
Check out the official Electron examples on IPC communication, specifically this section on communication from the renderer to the main process: https://www.electronjs.org/docs/latest/tutorial/ipc#pattern-2-renderer-to-main-two-way Here's the code for it: https://github.com/electron/electron/tree/v27.0.0/docs/fiddles/ipc/pattern-2 That example isn't identical, but it's close: you just need to swap out the logic in the main process where the example opens a native file dialog and instead call Happy to help debug any code either of you have got which isn't working once you get close. |
here is my background.ts
|
Maybe #396 (comment) can help. Try change renderer settings |
I'll fix the bug soon, sorry for inconvenience 🙇 |
@Rostov4an1n CC: @abrarabedin001 @pixkk Nextron v8.12.0 is out! If you have time, please try new examples:
|
thanks for letting us know. Will check it out soon. |
@saltyshiomix Thank you very much for the work done! I was able to positively connect the functions of interaction with the buttons of the upper panel of the application via IPC Electron. If I knew how, I could attach a video video evidence 😁🎉 |
download temp error~ PS E:\project\nextrons> npx create-nextron-app my-app --example basic-lang-typescript RequestError: connect ETIMEDOUT 20.205.243.165:443
|
Check your internet connection (or disable/enable VPN for downloading packets). |
The issue Still Persist , Nothing changed. The issue Occur after the import of "IpcRenderer" @saltyshiomix Kindly look into this.. I have used the electron-react-boilerplate where they wrap the ipc into some kind of API or simple callback functions. Also doing some communication stuff useing electron-store. But I'm still unable to understand your method for communication. Can you please update some documentation at least for some basic things. |
Tell me how you can fix the problem. I created a custom top panel where the close, collapse, expand buttons are located. I want to use the example of the close button to send an IPC, which will close the application when pressed.
But when I tried to download the IPC-communication application template, I was faced with the fact that it does not work.
Can you tell me how to send IPC signals? If you would provide an example of a solution to my problem, then I would be very grateful to you
The text was updated successfully, but these errors were encountered: