PlotProjects.Plugin 3.0.1

Requires NuGet 2.8.1 or higher.

dotnet add package PlotProjects.Plugin --version 3.0.1
NuGet\Install-Package PlotProjects.Plugin -Version 3.0.1
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.
<PackageReference Include="PlotProjects.Plugin" Version="3.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PlotProjects.Plugin --version 3.0.1
#r "nuget: PlotProjects.Plugin, 3.0.1"
#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 PlotProjects.Plugin as a Cake Addin
#addin nuget:?package=PlotProjects.Plugin&version=3.0.1

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

Plot Xamarin Plugin

Add location based notifications to your Xamarin project easily.

Supported platforms

This plugins supports both IOS 10 or newer, and Android 2.3 or newer.

Tested under Xamarin Studio 6.1.1.

Integration and configuration

You can find the integration guide at our website: https://www.plotprojects.com/documentation/#xamarin-integration

Additional settings are possible using the configuration file, an example is shown below. The publicToken and enableOnFirstRun fields are required, the notificationSmallIcon, notificationAccentColor and askPermissionAgainAfterDays options are Android only, the maxRegionsMonitored is an iOS only setting.

Information about these settings can be found in our extensive documentation, in chapter 1.4: https://www.plotprojects.com/documentation#ConfigurationFile

{
  "publicToken": "REPLACE_ME",
  "enableOnFirstRun": true,
  "notificationSmallIcon": "ic_mood_white_24dp",
  "notificationAccentColor": "#01579B",
  "askPermissionAgainAfterDays": 3,
  "maxRegionsMonitored": 20
}

Function Reference

PlotProjects.Plugin.Plot (Class)

public static IPlot GetInstance(Android.Content.Context) Android only

Gets the Plot interface.

public static IPlot GetInstance(Android.App.Activity) Android only

Gets the Plot interface.

public static GetInstance(Foundation.NSDictionary launchOptions,System.Boolean debug) iOS only

Gets the Plot interface.

public static void PlotProjects.Plugin.Plot.MailDebugLog

Mails the debug log. Only works when, on Android the debug meta-data property of the PlotService is set to true, or on iOS the debug parameter of GetInstance was set to true.

PlotProjects.Plugin.Abstractions.IPlot (Interface)

You can get an instance of this class by calling Plot.GetInstance(…). You shouldn't implement this class yourself.

public void Enable()

Enable the Plot library. It will remember this between sessions.

public void Disable()

Disable the Plot library. It will remember this between sessions.

public string Version

Gets the current version number of the Plot library backing this plugin.

More information

Website: https://www.plotprojects.com/

Documentation: https://www.plotprojects.com/documentation

License

The source files included in the repository are released under the Apache License, Version 2.0. The Plot Projects library is available under its own terms and conditions.

Product Versions
MonoAndroid monoandroid10
Xamarin.iOS xamarinios10
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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
3.0.1 717 1/3/2019
3.0.0 583 11/27/2018
1.15.4 910 9/30/2016
1.15.3 1,218 6/13/2016
1.15.0 863 4/15/2016
1.14.1 850 4/1/2016
1.14.0 1,082 3/3/2016

Updated Plot Projects libraries to latest version.