Signal API reference

Version of the Signal extension

The extensionVersion() API returns the version of the Signal extension that is registered with the Mobile Core extension.
To get the version of the Signal extension, use the following code sample:
Android
iOS (AEP 3.x)
iOS (ACP 2.x)
React Native
Flutter
Cordova
Unity
Xamarin

Java

1
String signalExtensionVersion = Signal.extensionVersion();
Copied!
Swift
1
let version = Signal.extensionVersion
Copied!
Objective C
1
NSString *version = [AEPMobileSignal extensionVersion];
Copied!
Objective C
1
NSString *signalExtensionVersion = [ACPSignal extensionVersion];
Copied!
Swift
1
var signalExtensionVersion = ACPSignal.extensionVersion()
Copied!

JavaScript

1
ACPSignal.extensionVersion().then(signalExtensionVersion => console.log("AdobeExperienceSDK: ACPSignal version: " + signalExtensionVersion));
Copied!

Dart

1
String signalExtensionVersion = await FlutterACPSignal.extensionVersion;
Copied!

Cordova

1
ACPSignal.extensionVersion(function(version) {
2
console.log("ACPSignal version: " + version);
3
}, function(error) {
4
console.log(error);
5
});
Copied!

C#

1
string signalVersion = ACPSignal.ExtensionVersion();
Copied!

C#

1
string signalVersion = ACPSignal.ExtensionVersion();
Copied!

CollectPII API

The Signal extension can be used to handle collectPII rules. For more information, see the collectPII API.
Last modified 4mo ago
Export as PDF
Copy link
Edit on GitHub