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
{{ message }}
Repository navigation
Adding expect/actual implementation for openFileWithDefaultApplication
#665
Could be a way to avoid each time to create a custom expect/actual implementation to wrap the missing behavior of openFileWithDefaultApplication on the web target create an internal wrapper on commonMain with a onWeb arg to eventually perform an alternative action if invoked by a webapp?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi @vinceglb!
Could be a way to avoid each time to create a custom expect/actual implementation to wrap the missing behavior of
openFileWithDefaultApplicationon the web target create an internal wrapper oncommonMainwith aonWebarg to eventually perform an alternative action if invoked by a webapp?For example:
openFileWithDefaultApplicationWrapper( onWeb: ((PlatformFile) -> Unit)? = null )All reactions