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.

This is a prerelease version of Plugin.CurrentActivity.
There is a newer version of this package available.
See the version list below for details.
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.

Showing the top 10 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.
Take & Pick Photos and Video Plugin for Xamarin and Windows
Central repository for App Center open source resources and planning.
Building IoT or Mobile solutions are fun and exciting. This year for Build, we wanted to show the amazing scenarios that can come together when these two are combined. So, we went and developed a sample application. MyDriving uses a wide range of Azure services to process and analyze car telemetry data for both real-time insights and long-term patterns and trends. The following features are supported in the current version of the mobile app.
A Xamarin demo app featuring both Xamarin.Forms and native approaches to Xamarin development
A Xamarin Framework for Backgrounding & Device Hardware Services (iOS, Android, UWP, Tizen, tvOS, watchOS, & more coming soon)
Mapsui is a .NET Map component for WPF, UWP and Xamarin Android and iOS
Xamarin and MvvMCross plugin for authenticate a user via fingerprint sensor

Version History

Version Downloads Last updated 433,025 5/25/2018 562 5/23/2018 373,924 5/14/2018 422 5/14/2018 22,306 5/9/2018 21,439 5/4/2018 514 5/4/2018 6,584 4/11/2018 713 4/6/2018 523 4/3/2018
1.0.1 997,933 12/19/2015
1.0.0 11,928 11/16/2015
Show less