localnotificationsplugin icon indicating copy to clipboard operation
localnotificationsplugin copied to clipboard

macOS support in 3.0.0-beta14 - not working

Open sunnysonic opened this issue 8 years ago • 3 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 avatar Mar 24 '18 21:03 sunnysonic

@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).

edsnider avatar Mar 26 '18 12:03 edsnider

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 avatar Mar 26 '18 21:03 sunnysonic

@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.

edsnider avatar Jul 06 '18 02:07 edsnider