NuGet\Install-Package Plugin.CurrentActivity -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package Plugin.CurrentActivity --version
<PackageReference Include="Plugin.CurrentActivity" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Plugin.CurrentActivity --version
#r "nuget: Plugin.CurrentActivity,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Plugin.CurrentActivity as a Cake Addin
#addin nuget:?package=Plugin.CurrentActivity&version=

// Install Plugin.CurrentActivity as a Cake Tool
#tool nuget:?package=Plugin.CurrentActivity&version=

Provides a simple solution for getting access to the current Activity of the application when developing a Plugin for Xamarin.
     This will lay down a base "application" class for developers in their Android application with boilerplate code to get them started.

Product Versions
MonoAndroid monoandroid44
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • MonoAndroid 4.4

    • No dependencies.

NuGet packages (75)

Showing the top 5 NuGet packages that depend on Plugin.CurrentActivity:

Package Downloads

Receive information about the device that you are using. Properties such as Model, Operating System, Version, Id, and even the ability to generate a unique Id for your application based off of these properties.


Share Plugin for Xamarin and Windows to share text, link, copy text to clipboard, or open a browser.


Simple cross-platform plugin to work with screen orientation of mobile device.


Android platform specific code


Common application functionality and features to be shared across the framework for Android

GitHub repositories (30)

Showing the top 5 popular GitHub repositories that depend on Plugin.CurrentActivity:

Repository Stars
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
Sample apps built using the Xamarin.Forms framework
The mobile app vault (iOS and Android).
Emgu CV is a cross platform .Net wrapper to the OpenCV image processing library.
Take & Pick Photos and Video Plugin for Xamarin and Windows
Version Downloads Last updated 3,816,292 5/25/2018 1,204 5/23/2018 1,548,785 5/14/2018 1,013 5/14/2018 32,599 5/9/2018 29,036 5/4/2018 1,057 5/4/2018 7,123 4/11/2018 1,238 4/6/2018 1,070 4/3/2018
1.0.1 1,801,931 12/19/2015
1.0.0 14,528 11/16/2015