A lightweight library for determining device uniqueness and risk identification.
Create a device identifier based on basic device information.
Will remain the same after uninstalling and reinstalling or clearing app data.
TrustDecision is available through CocoaPods. To install it, simply add the following line to your Podfile:
# Podfile
pod 'TrustDecision', '1.0'
DeviceInfo contains device id, risk information and device details.
#import <TrustDecision/TongdunMobRisk.h>
TongdunMobRiskManager_t *manager = [TongdunMobRiskManager sharedManager];
NSMutableDictionary *options = [[NSMutableDictionary alloc] init];
[options setObject:^(NSDictionary *response) {
// Response in sub-thread, do something with the response
// Get DeviceId
NSString *deviceId = response[@"device_id"];
// Get DeviceRiskLabel
NSDictionary *deviceRisk = response[@"device_risk_label"];
// Get DeviceDetail
NSDictionary *deviceDetail = response[@"device_detail"];
} forKey:@"callback"];
manager->initWithOptions(options);
import TrustDecision
var options = [String : NSObject]()
let responseCallback: ([String : Any])-> Void = { response in
// Response in sub-thread, do something with the response
// Get DeviceId
let deviceId = response["device_id"]
// Get DeviceRiskLabel
let deviceRisk = response["device_risk_label"]
// Get DeviceDetail
let deviceDetail = response["device_detail"]
}
options["callback"] = unsafeBitCast(responseCallback as @convention(block) ([String : Any]) -> Void, to: AnyObject.self) as? NSObject
let manager = TongdunMobRiskManager.sharedManager()
manager?.pointee.initWithOptions(options)
{
"device_id":"95438cde98fc3f18b9ffb7d464ec7abbd8225efa7b6199aee552d7563a5d4f0e",
"device_risk_label":{
"debug":true,
"jailbreak":false,
"simulator":false
},
"device_detail":{
"appVersion":"1.0",
"bootTime":1670888977003957,
"bundleId":"org.cocoapods.demo.TrustDecision-Example",
"cpuCount":"6",
"currentTime":1670983993560205,
"debug":true,
"deviceModel":"N104AP",
"deviceType":"iPhone",
"displayResolution":"828.0x1792.0",
"displayScale":2,
"freeDiskSpace":4624658432,
"idfv":"52FBDFEB-EBA3-4819-A92D-C456A2DE8FE0",
"jailbreak":false,
"kernelVersion":"Darwin Kernel Version 22.0.0: Tue Aug 16 20:50:57 PDT 2022; root:xnu-8792.2.11.0.1~1\/RELEASE_ARM64_T8030",
"memorySize":"4038836224",
"osRelease":"22.0.0",
"osType":"Darwin",
"osVersion":"20A362",
"physicalMemory":"8333803520",
"simulator":false,
"totalDiskSpace":127933894656
}
}
- Basic device ID, consistent when uninstalling applications and reinstalling
- Basic equipment information, which can be used for simple data analysis
- Basic risk identification ability
RiskLabel | Risk Description |
---|---|
jailbreak | Attackers will have higher privileges and can install many cheating software to affect the normal development of application business. |
simulator | The simulator provides many simulation functions, which will affect the normal operation of applications, such as virtual positioning. |
debug | Applications can be modified by attackers at will, and the program will return unexpected values. |
Ability | Open Source | Pro |
---|---|---|
100% open source | Yes | No |
Device ID | Basic | Extremely stable, even if the device is restored to factory settings, it can still be recognized as the same |
Device Risk Label | Basic | Extremely rich |
Device Details | Basic | Extremely rich |
IP Location | - | ✓ |
Device Risk Score | - | ✓ |
Environment Risk Evaluation | - | ✓ |
Fraud Tools Detection | - | ✓ |
Behavioral Activity Capturing | - | ✓ |
TrustDecision TrustDevice has the leading device fingerprint technology, which has been integrated by more than 10000 global leading brands, protecting the entire customer journey.
There are 6 leading core features about TrustDevice Pro:
Comprehensive coverage of Android, iOS, Web, H5, applets and other device types.
TrustDevice served more than 10,000 clients, 200 million+ daily active users , and 6 billion+ devices , with excellent product functions and stability. The fingerprint accuracy of different terminal devices exceeded 99.9%, and the output of risk labels exceeded 70 items.
TrustDevice's code virtualization & obfuscation technology make the malware fraudsters suffer from painful cost and imprecision when performing reverse-engineering.
Fully independent intellectual property rights, with a number of patented technology.
TrustDevice is committed to the highest standards in security and compliance to keep your data safe. GDPR/CCA/PCI DSS/ISO 27701/ISO 9001 Compliant.
SaaS(Software as a Service)deployment supported, reducing massively your integration cost and enabling rapid access to device fingerprint service.
We are happy to provide technical support for our open-source trustdevice-ios library. We recommend using GitHub Issues to submit bugs or Discussions to ask questions. Using Issues and Discussions publicly will help the open-source community and other users with similar issues.
In addition, any idea or interest in using TrustDevice Pro can be found on the www.trustdecision.com, registered account for a free trial; or via email trustdevice@trustdecision.com contact us directly and quickly open the service.
Items | Description |
---|---|
Supported System Versions | iOS9.0+ |
Supported Architecture | armv7, arm64, x86_64 |
This library is MIT licensed. Copyright trustdecision, Inc. 2022.