piwik-dotnet-tracker
piwik-dotnet-tracker copied to clipboard
Multi platform support
I am quoting Peter (@ptr1120) from https://github.com/piwik/piwik-dotnet-tracker/pull/29 for the description of this issue:
[...] implement the support for e.g. .NetCore, UWP, Mono, Xamarin,... I see big capability for the piwik dot net tracker as an effort able solution for usage tracking. Therefore we should support as many platforms as possible. This task includes the following steps:
- defining the platforms we want to support (see platforms: https://docs.microsoft.com/de-de/dotnet/articles/standard/library). Maybe we can summarize some platforms because of same dependencies (NetStandard).
- creating visual studio projects for the corresponding platforms (e.g. a project Piwik.Tracker.NetStandard) (example see: https://github.com/richardszalay/mockhttp)
- linking the source files into the new project
- fix compiler error by installing needed nuget packages for the platform (e.g. in #25 we can see
System.Security.Cryptography
is not available in UWP) - document how to create / generate a nuget package corresponding to the nuget specification (see: https://docs.microsoft.com/en-us/nuget/schema/nuspec), especially putting the platform files in the correct folders (maybe create build script)
- manually short testing consuming the new nuget
any status on uwp support plans?
Hi, if you have not already done so, you can follow-up on the latest discussion concerning uwp support here : https://github.com/piwik/piwik-dotnet-tracker/issues/25
If you have experience in the matter, we would love to have your opinion.