I wonder, hypothetically, how to write platform specific code in a .NET Core library.
For example let say I want to use .NET Core to develop Xamarin phone app (looks like it could be possible) and I want to write a class to display local notification. Obviously I would need some kind of OS stuff for iOS and Android. How would I proceed?
Could everything be in the same library?
Or would I need, 1 core common library one normal dotnet platform specific interface service implementation? How is it any better than PCL?