Teragence.SDK.iOS.Active 1.0.9.7

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

// Install Teragence.SDK.iOS.Active as a Cake Tool
#tool nuget:?package=Teragence.SDK.iOS.Active&version=1.0.9.7

Installation and Integration guide

  1. Open the AppDelegate.cs and following usage:
using Teragence.SDK.iOS.Active;

  1. Then add in AppDelegate class following property:
public static TRGController TRGController;

  1. In the method FinishedLaunching of the AppDelegate class add the following code:
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
{
    // Your code ...

    this.TRGController = new TRGController([PartnerID]);

    return true;
}

where :

PartnerID It's your unique Partner ID string

  1. Allowed controls TRGController

[x] Allows conduct one-time measurements when the application is running by calling

void MakeManualMesurements();

method.

Project setup

  1. Add the NSLocationWhenInUseUsageDescription key and the NSLocationAlwaysAndWhenInUseUsageDescription key to your Info.plist file. (Xcode displays these keys as Privacy - Location When In Use Usage Description and Privacy - Location Always and When In Use Usage Description in the Info.plist editor.)

Code for manual editing of Info.plist:

<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>For detecting of your location.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>For detecting of your location.</string>
  1. If your app supports iOS 10 and below, add the NSLocationAlwaysUsageDescription key to your Info.plist file. (Xcode displays this key as Privacy - Location Always Usage Description in the Info.plist editor.)

Code for manual editing of Info.plist:

<key>NSLocationAlwaysUsageDescription</key>
<string>For detecting of your location.</string>
  1. For each key you must write a convincing description of why you need to receive location updates in the background. For example - For detecting of your location.

  2. In the Background Modes tab of your Info.plist file app target and in Background Modes select Location updates.

  3. Add the Required Background Modes key with value App registers for location updates to your info plist file.

Code for manual editing of Info.plist:

<key>UIBackgroundModes</key>
<array>
<string>location</string>
</array>
  1. Add the App Transport Security Settings - Allow Arbitrary Loads key with value YES to your info plist file.

Or open Info.plist as source code and insert this:

<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>

Author

Teragence info@teragence.com

License

ios-teragence-sdk-active is available under the EULA license. See the LICENSE file for more info.

Release notes

Product Compatible and additional computed target framework versions.
Xamarin.iOS xamarinios10 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • Xamarin.iOS 1.0

    • 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
1.0.9.7 1,424 9/7/2018
1.0.7.27 1,412 8/8/2018
1.0.6.7 1,476 6/13/2018

based on ios-teragence-sdk-active pod v 1.0.9.7