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" />
<PackageVersion Include="SDK.Teragence.iOS.Xamarin.Active" Version="1.0.0.1" />
<PackageReference Include="SDK.Teragence.iOS.Xamarin.Active" />
paket add SDK.Teragence.iOS.Xamarin.Active --version 1.0.0.1
#r "nuget: SDK.Teragence.iOS.Xamarin.Active, 1.0.0.1"
#:package SDK.Teragence.iOS.Xamarin.Active@1.0.0.1
#addin nuget:?package=SDK.Teragence.iOS.Xamarin.Active&version=1.0.0.1
#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.csand following usage:
using SDKTeregenceBinding;
- Then add in
AppDelegateclass following property:
public static TRGController TRGController;
- In the method
FinishedLaunchingof theAppDelegateclass 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
NSLocationWhenInUseUsageDescriptionkey and theNSLocationAlwaysAndWhenInUseUsageDescriptionkey to your Info.plist file. (Xcode displays these keys asPrivacy - Location When In Use Usage DescriptionandPrivacy - Location Always and When In Use Usage Descriptionin 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
NSLocationAlwaysUsageDescriptionkey to your Info.plist file. (Xcode displays this key asPrivacy - Location Always Usage Descriptionin 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.plistfile app target and in Background Modes select Location updates.Add the
Required Background Modeskey with valueApp registers for location updatesto 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 Loadskey with valueYESto 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 |
|---|