Skip to content
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

SharpHook doesn't work on Mac Catalyst #35

Closed
TolikPylypchuk opened this issue Feb 25, 2023 · 7 comments
Closed

SharpHook doesn't work on Mac Catalyst #35

TolikPylypchuk opened this issue Feb 25, 2023 · 7 comments
Assignees
Labels
libuiohook issue The issue is in libuiohook and not SharpHook

Comments

@TolikPylypchuk
Copy link
Owner

As @karthitect said in discussion #22, SharpHook doesn't work in a MAUI app on macOS as it uses Mac Catalyst - it fails with DllNotFoundException when trying to access libuiohook. I'm not sure it's going to work at all, but this needs to be investigated - maybe the libuiohook build can be updated to work on Mac Catalyst.

@TolikPylypchuk TolikPylypchuk added bug Something isn't working help wanted Extra attention is needed labels Feb 25, 2023
@TolikPylypchuk TolikPylypchuk self-assigned this Feb 25, 2023
@TolikPylypchuk TolikPylypchuk added libuiohook issue The issue is in libuiohook and not SharpHook and removed bug Something isn't working labels Jul 3, 2023
@TolikPylypchuk
Copy link
Owner Author

SharpHook cannot work on Mac Catalyst until libuiohook can be built for it. I've tried configuring it but didn't manage to do that. I've created an issue in the original libuiohook repo to add a Mac Catalyst build.

@TolikPylypchuk
Copy link
Owner Author

Finally, I've managed to add support for Mac Catalyst in SharpHook, although it was really painful. It will be available in version 5.0.0.

@TolikPylypchuk TolikPylypchuk added the waiting for release Issue is fixed and will be closed upon the next release label Jul 10, 2023
@LocutusOfPenguin
Copy link

Hi,

i would need support for Drag&Drop for Mac / Maui very urgently.

When can we expect this 5.0 to be released?
If it takes longer, perhaps you can create a branch for it...i can even help in some way (maybe).

Thanks.

@TolikPylypchuk
Copy link
Owner Author

Hi! Thanks for your interest!

There are still a couple things I need to do before releasing 5.0 - it's a much larger release than I've initially anticipated. I think I'll be done in a couple weeks.

If you can't or don't want to wait for the release, you can use the nupkg files that are built in GitHub actions - they are built for every commit to the master branch (check out the sharphook-build artifact). They are mostly stable (but there could still be some breaking changes) and I think they can be used in development - but not in production, obviously. Also, they all have version 5.0.0 which may be inconvenient.

@TolikPylypchuk TolikPylypchuk removed the help wanted Extra attention is needed label Jul 31, 2023
@JohnKesko
Copy link

@TolikPylypchuk Thank you for providing MacCatalyst support.. wish I looked into this thread a bit earlier instead of wasting a couple of hours trying to figure out what was wrong lol.

Anyway, just fyi - installed version 5.0.0 and it works great!

@TolikPylypchuk
Copy link
Owner Author

Yeah, happens to the best of us :)

That's great to hear that Mac Catalyst support works well! Version 5.0.0 is basically done - I just want to write the docs and test it on various platform configurations - so I think it's going to be a matter of days.

@TolikPylypchuk TolikPylypchuk removed the waiting for release Issue is fixed and will be closed upon the next release label Aug 10, 2023
@TolikPylypchuk
Copy link
Owner Author

I've just released version 5.0.0 so this issue can finally be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libuiohook issue The issue is in libuiohook and not SharpHook
Projects
None yet
Development

No branches or pull requests

3 participants