You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From our extend research in the past days we realised that it's not possible with tao nor cocoa, at this point, to add an event callback for handling CFBundleURLSchemes. fruitbasket does have support to add such callbacks, however, I'm not familiar enough with MacOS and it seems that the core loop should be in the main thread and we can't run 2 event loops (1 from tao and 1 from fruitbasket) to add this support in our application.
What would be a good way to add support to tao for this platform-specific case?
The text was updated successfully, but these errors were encountered:
elpiel
changed the title
Handling CFBundleURLSchemes
Handling CFBundleURLSchemes (macOS)
Dec 23, 2022
elpiel
changed the title
Handling CFBundleURLSchemes (macOS)
Handling CFBundleURLSchemes (MacOS)
Dec 23, 2022
elpiel
changed the title
Handling CFBundleURLSchemes (MacOS)
[MacOS] Handling CFBundleURLSchemes
Dec 23, 2022
This is not a simple question. winit tried to find a way for years at this point. Most relevant discussion/tracking issue: rust-windowing/winit#2120
tao will use whatever winit will use (we plan to deprecate tao in favor of winit when it's possible), so if you want to bring this forward i'd suggest taking part of the discussion over there.
On low level, registering a handler is callback based and does not depend on the event loop, we used fruitbasket to create an App without running the event loop but registering our callback for handling the custom URL scheme.
From our extend research in the past days we realised that it's not possible with
tao
norcocoa
, at this point, to add an event callback for handlingCFBundleURLSchemes
.fruitbasket does have support to add such callbacks, however, I'm not familiar enough with MacOS and it seems that the core loop should be in the main thread and we can't run 2 event loops (1 from tao and 1 from fruitbasket) to add this support in our application.
What would be a good way to add support to
tao
for this platform-specific case?The text was updated successfully, but these errors were encountered: