Simple test of creating nuget package.
This example prouved that DependencyService works fine with Nuget mechanics (at least on Android devices).
Create an empty PCL/Shared project -> Install this package -> In App.cs, replace the line where finds "Text" by "Text=DependencyService.Get
Result: (Text appears)
Android - "I am Android."
Windows Phone - "I am Windows Phone."
iOS - "I am iOS."
(For reason that I don't have WP for testing and Mac for compiling, package has only been verified on Android.).
- Version: 1.1.7
- Read more info on NuGet.org...
DependenciesThis package has 0 dependencies.
0 packages depend on this package.
dotnet add package xam.package.dependency-testing
paket add xam.package.dependency-testing