SDK.Teragence.iOS.Xamarin.Active
1.0.0.1
dotnet add package SDK.Teragence.iOS.Xamarin.Active --version 1.0.0.1
NuGet\Install-Package SDK.Teragence.iOS.Xamarin.Active -Version 1.0.0.1
<PackageReference Include="SDK.Teragence.iOS.Xamarin.Active" Version="1.0.0.1" />
paket add SDK.Teragence.iOS.Xamarin.Active --version 1.0.0.1
#r "nuget: SDK.Teragence.iOS.Xamarin.Active, 1.0.0.1"
// Install SDK.Teragence.iOS.Xamarin.Active as a Cake Addin #addin nuget:?package=SDK.Teragence.iOS.Xamarin.Active&version=1.0.0.1 // Install SDK.Teragence.iOS.Xamarin.Active as a Cake Tool #tool nuget:?package=SDK.Teragence.iOS.Xamarin.Active&version=1.0.0.1
1.0.0.1 Based on ios-teragence-sdk-active pod v 1.0.05.30
Installation and Integration guide
- Open the
AppDelegate.cs
and following usage:
using SDKTeregenceBinding;
- Then add in
AppDelegate
class following property:
public static TRGController TRGController;
- In the method
FinishedLaunching
of theAppDelegate
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
- Allowed controls
TRGController
[x] Allows conduct one-time measurements when the application is running by calling
void MakeManualMesurements();
method.
Project setup
- Add the
NSLocationWhenInUseUsageDescription
key and theNSLocationAlwaysAndWhenInUseUsageDescription
key to your Info.plist file. (Xcode displays these keys asPrivacy - Location When In Use Usage Description
andPrivacy - 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>
- If your app supports iOS 10 and below, add the
NSLocationAlwaysUsageDescription
key to your Info.plist file. (Xcode displays this key asPrivacy - 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>
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
.In the Background Modes tab of your
Info.plist
file app target and in Background Modes select Location updates.Add the
Required Background Modes
key with valueApp registers for location updates
to your info plist file.
Code for manual editing of Info.plist:
<key>UIBackgroundModes</key>
<array>
<string>location</string>
</array>
- Add the
App Transport Security Settings - Allow Arbitrary Loads
key with valueYES
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 | Versions Compatible and additional computed target framework versions. |
---|---|
Xamarin.iOS | xamarinios10 is compatible. |
-
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 |
---|