Version 2 #662
Replies: 7 comments 56 replies
-
I noticed your posting regarding Version 2 in that there are plans to support WebView2. Where are you with that in the 2.0.65 alpha? |
Beta Was this translation helpful? Give feedback.
-
Awesome! Well, I would be willing to give it a go and provide feedback if that helps. |
Beta Was this translation helpful? Give feedback.
-
I have fixed a few things with the windows side of the house on the build and vscode debug. I could do a pull request if that would be helpful. |
Beta Was this translation helpful? Give feedback.
-
i'am waiting for version 2.0 since my app doesn't work on windows because some react libraries doesn't load on IE11. Is there any fix for that or i need to wait for the 2.0 release? |
Beta Was this translation helpful? Give feedback.
-
Hello, Application works perfectly on MacOS but I m wondering how to build my app to window or linux in "v2.0.0-alpha.65"? |
Beta Was this translation helpful? Give feedback.
-
First things first: This is a great project, thanks a lot for your effort 💪🏼 After porting one of my projects to Wails v1 some months ago I started to migrate it to v2, but got stuck when running the development mode. After spending some hours with (unsuccessfully) debugging my own code. I suspected that the chance it high that there is a problem in the Wails v2 alpha branch itself so I started to debug with a local repository clone of Wails. The main problems were two JS problems when running in development mode:
So basically somehow the function setupIPCBridge() {
-// darwin
-window.webkit = {
- messageHandlers: {
- external: {
- postMessage: (message) => {
- websocket.send(message);
- }
- },
- windowDrag: {
- postMessage: () => {
- // Ignore window drag events
- }
- }
- }
+window.wailsInvoke = (message) => {
+ websocket.send(message);
+};
} The error regarding the empty To fiy both errors I've adjusted the export function SendMessage(message) {
-window.webkit.messageHandlers.external.postMessage(message);
+window.wailsInvoke(message);
} After rebuilding the assets (using the Since these changes were published in [ TL;DR; The npm package version Maybe you already noticed this bug on your local system already, but haven't pushed a new commit yet. Anyway, just wanted to share this finding to save other (and you) from spending more hours into finding the root cause. |
Beta Was this translation helpful? Give feedback.
-
I have tried v2. It's good enough for me to start a project. Is there any way to add GetPosition and GetWindowSize function to the window api? |
Beta Was this translation helpful? Give feedback.
-
This is for discussing anything related to Version 2 of the project.
Beta Was this translation helpful? Give feedback.
All reactions