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.

Install-Package Plugin.CurrentActivity -Version
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes


  • MonoAndroid 4.4

    • No dependencies.

NuGet packages (71)

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.
Android platform specific code
Simple cross-platform plugin to work with screen orientation of mobile device.
Standard API to set icon badge.

GitHub repositories (29)

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

Repository Stars
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.
Central repository for App Center open source resources and planning.
Take & Pick Photos and Video Plugin for Xamarin and Windows

Version History

Version Downloads Last updated 1,245,553 5/25/2018 748 5/23/2018 883,904 5/14/2018 570 5/14/2018 28,693 5/9/2018 24,932 5/4/2018 663 5/4/2018 6,733 4/11/2018 861 4/6/2018 678 4/3/2018
1.0.1 1,382,464 12/19/2015
1.0.0 12,829 11/16/2015