xam.package.dependency-testing
1.1.7
dotnet add package xam.package.dependency-testing --version 1.1.7
NuGet\Install-Package xam.package.dependency-testing -Version 1.1.7
<PackageReference Include="xam.package.dependency-testing" Version="1.1.7" />
paket add xam.package.dependency-testing --version 1.1.7
#r "nuget: xam.package.dependency-testing, 1.1.7"
// Install xam.package.dependency-testing as a Cake Addin #addin nuget:?package=xam.package.dependency-testing&version=1.1.7 // Install xam.package.dependency-testing as a Cake Tool #tool nuget:?package=xam.package.dependency-testing&version=1.1.7
Simple test of creating nuget package. This example prouved that DependencyService works fine with Nuget mechanics (at least on Android devices).
Use case:
Create an empty PCL/Shared project -> Install this package -> In App.cs, replace the line where finds "Text" by "Text=DependencyService.Get<IIdentification>().whoAmI()"->Excute.
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.)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
MonoAndroid | monoandroid10 is compatible. |
Windows Phone | wp8 is compatible. wp81 was computed. |
Xamarin.iOS | xamarinios10 is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.7 | 2,489 | 11/19/2015 |