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
Android

Java

String signalExtensionVersion = Signal.extensionVersion();
iOS (AEP 3.x)

Swift

let version = Signal.extensionVersion

Objective C

NSString *version = [AEPMobileSignal extensionVersion];
iOS (ACP 2.x)

Objective C

NSString *signalExtensionVersion = [ACPSignal extensionVersion];

Swift

var signalExtensionVersion = ACPSignal.extensionVersion()
React Native

JavaScript

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

Dart

String signalExtensionVersion = await FlutterACPSignal.extensionVersion;
Cordova

Cordova

ACPSignal.extensionVersion(function(version) {
console.log("ACPSignal version: " + version);
}, function(error) {
console.log(error);
});
Unity

C#

string signalVersion = ACPSignal.ExtensionVersion();
Xamarin

C#

string signalVersion = ACPSignal.ExtensionVersion();

CollectPII API

The Signal extension can be used to handle collectPII rules. For more information, see the collectPII API.