edsnider / localnotificationsplugin

Local Notifications Plugin for Xamarin and Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

macOS support in 3.0.0-beta14 - not working

sunnysonic opened this issue · comments

Thanks for your plugin!! Very much appreciated!

I'm developing a XForms app that will be available for MacOS as well.
You commented, that the beta includes support for macos, but currently i can't get it to work. Is there some permission or anything else that needs to be set for it to work? (running on high sierra)
There is no sample project for me to have a look at either. that's why the bother...

best regards

@sunnysonic can you be a little more specific about what isn't working for you? Are you getting an error? what is the specific behavior your running into? What version macOS? (it is easiest to use the issue template so these things are captured).

I'm Using MacOs High Sierra (10.13.3) with the latest Visual Studio Mac(7.4) and the latest Xamarin.Forms (2.5.0.280555). As well i have installed the nuget of your plugin in the beta version 3.0.0 into all projects and i'm using netstandard 2.

Notifications are showing on all platforms, except on osx.

On IOS I had to add a class to the appdelegates FinishedLaunching method to display the notification on newer than IOS11 while the app is open.
Something like:
completionHandler(UNNotificationPresentationOptions.Alert);

Do i need to do something like this for the Mac as well?

Right now simply nothing is happening. Not seeing any errors and nothing.

@sunnysonic It is working for me on 10.7+ ... if the app is actually in the foreground you may have to open your Notification Center to see the notification.