Install-Package NextDots.RetargetlyLib.Android -Version
dotnet add package NextDots.RetargetlyLib.Android --version
<PackageReference Include="NextDots.RetargetlyLib.Android" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NextDots.RetargetlyLib.Android --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NextDots.RetargetlyLib.Android,"
#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 NextDots.RetargetlyLib.Android as a Cake Addin
#addin nuget:?package=NextDots.RetargetlyLib.Android&version=

// Install NextDots.RetargetlyLib.Android as a Cake Tool
#tool nuget:?package=NextDots.RetargetlyLib.Android&version=
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NextDots.RetargetlyLib.Android Readme

For latest changes:


Please follow the guide to properly setup the NextDots.RetargetlyLib.Android inside of your application:

Additionally, see the permission setup below for Android to ensure everything is configured correct.

Additional Android Permission Setup

This plugin uses the Current Activity Plugin to get access to the current Android Activity. Be sure to complete the full setup if a MainApplication.cs file was not automatically added to your application. Please fully read through the Current Activity Plugin Documentation. At an absolute minimum you must set the following in your Activity's OnCreate method:

CrossCurrentActivity.Current.Activity.Init(this, bundle);

It is highly recommended that you use a custom Application that are outlined in the Current Activity Plugin Documentation](

Android specific in your BaseActivity or MainActivity (for Xamarin.Android) add this code:

Plugin.CurrentActivity.CrossCurrentActivity.Current.Init(this, savedInstanceState);  //Important

Required Permissions:


installation requirements

  • Install Microsoft Visual Studio with the Xamarin SDK
  • Create new Xamarin Android Project
  • Update Xamarin.Android.Support.Design Package
  • Install Nuget library NextDots.RetargetlyLib.Android
  • In the MainActivity initialize Geolocation Plugin
    • Plugin.CurrentActivity.CrossCurrentActivity.Current.Init(this, savedInstanceState);

How to use the SDK?

Initialize library:

GeolocalizationClient retargetlyClient = new GeolocalizationClient();
await retargetlyClient.Init(this.Application, HashCode, true, true);

Send Custom Geo Event

GeolocalizationClient retargetlyClient = new GeolocalizationClient(this.Application, source_hash);
var data = new
	customvalue = "test",
	othervalue = "test2"
await retargetlyClient.Send(data);

DeepLink Implementation

new DeepLinkActivity(this.LocalClassName);//Activate DeepLinking
new DeepLinkActivity();//Activate DeepLinking
new DeepLinkActivity(this.LocalClassName.Replace(this.GetType().Name, typeof(Activity1).Name));
/*************************      DeepLink In        ******************/
            var res = this.Intent.GetStringExtra("DeepLinkUrl");
            if (res != null)
                DeepLinkClient deepLinkClient = new DeepLinkClient();
                var result = JsonConvert.SerializeObject(deepLinkClient.GetRequestInfo(this.Application, HashCode));
                Toast.MakeText(this, result, ToastLength.Long).Show();
                DinamicURLCaso1.Text = res;

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 594 8/9/2018 558 8/9/2018 539 8/5/2018 488 8/3/2018 521 8/2/2018
1.0.4 509 8/2/2018 502 7/31/2018 479 7/31/2018
1.0.3 514 7/28/2018
1.0.1 495 7/28/2018
1.0.0 511 7/28/2018

Bug fixes.