Am I able to use the old Tauri v1 IPC method in Tauri v2? #10224
-
As I understand it, the new IPC method uses custom protocols (very cool! big fan). Unfortunately, this is incompatible with a project of mine that displays an external site, and is very strict in it's CSP/CORs in a way I cannot change :( (unless the answer here has changed haha) Someone else worked briefly on a port from v1 -> v2 and this was the largest problem for them, as much of the functionality is facilitated through IPC. When they asked me about it, I dug through the Tauri source a bit to see if there was a configuration I could change, or a flag to set, or something, but I couldn't find anything. This was also a couple months ago so things may have changed since then lol. Does Tauri still have the old functionality in there somewhere as a fallback? Can I force that fallback somehow? I understand that Tauri is not an "external-site-first" library so I get that this is prooooobably not a huge compatibility consideration, but if there is some way I can use the old method so I can port my project and benefit from all the new stuff, please let me know! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Tauri is supposed to fall back to the old implementation automatically on csp/cors issues. There is no force switch but if you have something reproducible showing problems with the auto fallback we'd appreciate any more info we can get. |
Beta Was this translation helpful? Give feedback.
Tauri is supposed to fall back to the old implementation automatically on csp/cors issues. There is no force switch but if you have something reproducible showing problems with the auto fallback we'd appreciate any more info we can get.