SDK.Teragence.Android.Xamarin.Background 1.0.0.1

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package SDK.Teragence.Android.Xamarin.Background --version 1.0.0.1                
NuGet\Install-Package SDK.Teragence.Android.Xamarin.Background -Version 1.0.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="SDK.Teragence.Android.Xamarin.Background" Version="1.0.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SDK.Teragence.Android.Xamarin.Background --version 1.0.0.1                
#r "nuget: SDK.Teragence.Android.Xamarin.Background, 1.0.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SDK.Teragence.Android.Xamarin.Background as a Cake Addin
#addin nuget:?package=SDK.Teragence.Android.Xamarin.Background&version=1.0.0.1

// Install SDK.Teragence.Android.Xamarin.Background as a Cake Tool
#tool nuget:?package=SDK.Teragence.Android.Xamarin.Background&version=1.0.0.1                

1.0.0.1 Based on teragence/android-sdk background v 1.0.5.24

  1. Add com.teragence.client.service.PresenceReceiver in AndroidManifest.xml with specific intent-filter actions QUICKBOOT_POWERON, BOOT_COMPLETED:
AndroidManifest.xml
<application
...
    <receiver android:name="com.teragence.client.service.PresenceReceiver" >
        <intent-filter>
            <action android:name="android.intent.action.QUICKBOOT_POWERON" />
            <action android:name="android.intent.action.BOOT_COMPLETED" />
        </intent-filter>
    </receiver>
</application>
  1. Add your partner id as a meta-data value with name teragencePartnerId in an AndroidManifest.xml:
AndroidManifest.xml
<application
...
    <meta-data
        android:name="teragencePartnerId"
        android:value="myPartnerId" />

</application>
  1. Request all required runtime permissions:
  <uses-permission android:name="android.permission.INTERNET" />
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
  <uses-permission android:name="android.permission.WAKE_LOCK" />
  <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  1. Initialize background work:
using Com.Teragence.Client.SdkControls;

public class MyActivity: Activity 
{
    
    protected override void OnCreate(Bundle savedInstanceState)
    {
        SdkControls.Initialize(this);
    }
	
}

More info

Product Compatible and additional computed target framework versions.
MonoAndroid monoandroid44 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • MonoAndroid 4.4

    • No dependencies.

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